.net « axis « Java Enterprise Q&A





1. What is the difference between an endpoint, a service, and a port when working with webservices?    stackoverflow.com

I've used Apache CXF to expose about ten java classes as web services. I've generated clients using CXF, Axis, and .NET. In Axis and CXF a "Service" or "Locator" is generated. From this ...

2. Calling .NET Web Service (WSE 2/3, WS-Security) from Java    stackoverflow.com

I need to call a web service written in .NET from Java. The web service implements the WS-Security stack (either WSE 2 or WSE 3, it's not clear from the ...

3. Consume Axis2 Web Services in Visual Studio 2008    stackoverflow.com

I'm having a bit of trouble getting Visual Studio to play nicely with my Axis2 web service. The problem is very strange, although not a show stopper. If anything it is ...

4. Java client calling WSE 2.0 with DIME attachment    stackoverflow.com

I need to integrate with a legacy .NET Web Service that uses WSE 2.0 for WS-Security and DIME. The catch is I need to do this from a Java application. I'm expecting ...

5. Using polymorphoic calls on a Axis2/JAX-WS web service from a .NET client    stackoverflow.com

I have an AXIS2/JAX-WS web service using a code first implementation (yes I know, that is bad). The web service is being consumed by a .NET based client. Before we had Axis1, ...

6. Calling .NET Web Service (WSF, WS-Security) from Java - NullPointerException    stackoverflow.com

I am attempting to create a Java client to call a .NET web service. I was provided a WSDL (which contains the security policy information) and used the Axis2 wsdl2java ...

7. Axis2 MTOM Webservice and a .NET Client to consume it    stackoverflow.com

So i have this new Axis2 MTOM Webservice serving correctly to a java based webservice client. The problem comes around when i try to add the service (or web) reference to the ...

8. calling java axis2 webservice (with omelement params) from c#    stackoverflow.com

I want to call a webservice which expects a OMElement-parameter. How can I serve this with c# / .net? The signature of the generated client looks like this:

client.ExecuteMethod(object param);
Thx in advance, macx

9. javax.net.ssl.SSLException: Received fatal alert: close_notify    stackoverflow.com

I'm receiving a javax.net.ssl.SSLException: Received fatal alert: close_notify error on a test server, from my Axis 1.4 generated proxies, running under JBoss AS 4.2.3, JDK 1.6.0_20. The same setup works ...





10. "No endpoint listening" when Accessing axis2 webservice from .net client    stackoverflow.com

I have to consume data from axis2 webservice. I added it's URI to Service References folder in my .NET client and I can view all methods and fields of this webservice ...

11. Connecting C# .Net 3.5 Web service client to AXIS2 service    stackoverflow.com

We are using SOAPClient 3.0 for accessing web service. As SOAPClient is deprecated on .Net Framework as per below URL, we would like to move to .Net web services. http://www.microsoft.com/downloads/en/details.aspx?FamilyId=C943C0DD-CEEC-4088-9753-86F052EC8450&displaylang=en When I ...

12. javax.net.ssl.SSLException: Unrecognized SSL message, plaintext connection?    stackoverflow.com

How to resolve the above exception while invoking a .net web service (asmx) hosted on SSL ("https:") protocol from java using axis jars. Receving the following error message while executing the ...

13. Parameters not passed to .net webservice    stackoverflow.com

I'm having a problem in passing my parameters to a .Net webservice. I'm using axis and java as a client. when I run my java client and debug my webservice ...

14. Problem with .NET Webservice Consuming with java Axis    stackoverflow.com

I try to consume a webservice with fields with name like : "Descrição". Note: is a element name not a text value of return. And with Axis 1.4 I don´t get the ...

15. How to pass Java Date to .Net webservice using Axis    stackoverflow.com

I'm trying to call a .Net webservice from Java. I have a java.sql.Date that I am converting to a Calendar which then gets passed through to .Net as a DateTime. Unfortunately, when ...

16. invok .NET webservice in Jboss using axis    stackoverflow.com

I have a Java program (.jar) that invok a .NET webservice and it works well. For another need, I need to call this webservice from a web application ...





17. .net Client consuming Axis2 Web Service    stackoverflow.com

I have an .net 2.0 C# client app that has a web service reference to an Axis2 Java Webservice. The idea is to send some xml data to the webservice, so it ...

18. sending xml from .net client to java web service    stackoverflow.com

what is the best way to send xml data from c# to a webservice method written in Java(Axis2) ? I have added the web reference in c# to the java web service ...

19. Adding a Service Reference to an AXIS Service    stackoverflow.com

I need to add a service Reference to an Axis Service like this one : https://api.broadmail.de/soap11/RpcSession Somehow it can't be added because "There was an error downloading 'https://api.broadmail.de/soap11/RpcSession/$metadata'. The request failed ...

20. Consuming AXIS webservice from .Net Problem    stackoverflow.com

I have problem with consuming axis (JAVA) web service inside a client C# web application. I have to use third Party web service that works properly with JAVA clients! When we ...

21. WCF Authentication Service - How to generate client using Apache Axis?    stackoverflow.com

I have an ASP.NET application hosting a few WCF services, using ASP.NET Membership for security. I've exposed the System.Web.ApplicationServices.AuthenticationService through an SVC file (AuthenticationService.svc) as shown below:

<%@ ServiceHost Language="C#" Debug="true" ...

22. Apache Axis - Calendar instance that gets serialized to 0001-01-01T00:00:00.000Z    stackoverflow.com

I'm using Apache Axis to communicate with a web service written in .Net. One of the functions in that WS has special handling when it encounters DateTime.MinDate ("0001-01-01"). Now, I'm trying to ...

23. .NET Client consuming AXIS 1.4 SSL Webservice all exceptions "INTERNAL SERVER ERROR"    stackoverflow.com

I need to consume an AXIS 1.4 Web service over SSL from a .NET client. Currently we implement the System.Net.WebClient, we hand create the XML request and upload it to ...

24. SoapException calling an AXIS2 web service from C#    stackoverflow.com

I'm calling an axis2 web service and it is throwing a SoapException: WSDoAllReceiver: security processing failed (actions mismatch) I'm using .NET Framework 4 and Visual Studio 2010 with WSE3 Here's my code: (I hope ...

25. Can I make Axis2 publish web service documentation similar to the one from .Net?    stackoverflow.com

When publishing a web service using .Net you automatically gets a neat documentation on the endpoint, listing all operation with comments from the source code, and pretty soap/xml samples. Is there anyway ...

26. VB Client for Java Web Service implemented using Apache Axis    coderanch.com

wsdl.exe /o:FileName.vb /n:Namespace.You.Want http://location.of.wsdl If you run this you'll wind up with a file in your current directory (FileName.vb) that should consist of the entire service representation. You should then be able to write another vb "class" using the service definitions in FileName.vb, compile with the VB compiler (I think it's vbc) and you'll be good to go. If you're wanting ...

28. WSDL2Java Axis: [axis-wsdl2java] java.net.ConnectException: Connection timed out: con    coderanch.com

[axis-wsdl2java] http.proxyHost=null [axis-wsdl2java] http.proxyPort=null [axis-wsdl2java] http.proxyUser=null [axis-wsdl2java] http.proxyPassword=null [axis-wsdl2java] socks.proxyHost=null [axis-wsdl2java] socks.proxyPort=null [axis-wsdl2java] java.net.ConnectException: Connection timed out: connect [axis-wsdl2java] at java.net.PlainSocketImpl.socketConnect(Native Method) [axis-wsdl2java] at java.net.PlainSocketImpl.doConnect(PlainSocketImpl.java:305) [axis-wsdl2java] at java.net.PlainSocketImpl.connectToAddress(PlainSocketImpl.java:171) [axis-wsdl2java] at java.net.PlainSocketImpl.connect(PlainSocketImpl.java:158) [axis-wsdl2java] at java.net.Socket.connect(Socket.java:452) [axis-wsdl2java] at java.net.Socket.connect(Socket.java:402) [axis-wsdl2java] at sun.net.NetworkClient.doConnect(NetworkClient.java:139) [axis-wsdl2java] at sun.net.www.http.HttpClient.openServer(HttpClient.java:402) [axis-wsdl2java] at sun.net.www.http.HttpClient.openServer(HttpClient.java:618) [axis-wsdl2java] at sun.net.www.http.HttpClient.(HttpClient.java:306) [axis-wsdl2java] at sun.net.www.http.HttpClient.(HttpClient.java:267) [axis-wsdl2java] at sun.net.www.http.HttpClient.New(HttpClient.java:339) [axis-wsdl2java] at sun.net.www.http.HttpClient.New(HttpClient.java:320) [axis-wsdl2java] at sun.net.www.http.HttpClient.New(HttpClient.java:315) ...

29. .Net Client for Axis Web services    coderanch.com

Hi Lilly, My understanding of your problem is that you have checked the response is sent back (TCPMon) but the .Net client seems to ignore it and display NULL. Is that right ? I have no .Net knowledge, but could you double check it supports HTTP 100 - continue and chunked messages ??

30. Axis 1.2RC3 and .NET using arrays    coderanch.com

31. Getting an Axis webservice working for a .NET client    coderanch.com

Hi there, I'm having trouble getting an axis client working in "document/literal" format so that a .net client can access it. 1) If I create a simple webservice that returns primitive types or arrays of primitive types using Axis, in RPC format, my java client can access it just fine. But it needs to be in document/literal format for the .NET ...

32. Axis client calling .NET Web service    coderanch.com

Hi, I am calling a .NET web service from an axis client running on tomcat 5.0. I got [ns1:VerifyEmailResult: null] as a result while I got the perfect xml response when I run this program as standalone. Here's what I printed on the screen Result: [ns1:VerifyEmailResult: null] [Fatal Error] :1:1: Content is not allowed in prolog. org.xml.sax.SAXParseException: Content is not allowed ...

33. AXIS XML calling .Net Web Service    coderanch.com

Hi, I am attempting to call a very basic "HelloWorld" .Net WS using AXIS. The XML submitted from my AXIS client looks like John While this invokes the service it does not seem to pass the parameter in. I assumed this was because the p_name parameter was not qualified ...

34. Java Client (axis 1.4) invoking a secured .NET web service (WS-Security)    coderanch.com

Hi all! I'm trying (without success till now) to let a java client (axis 1.4 based) communicate with an external web service (.NET based). My problems are due to the security policies. I have the policies file (.NET wizard generated) but I can't find a way to map this info to the axis file client.wsdd.... Surfing thru several forums I found ...

36. problem with String [] in axis 1.3 and .net client    coderanch.com

Hi, I have a web service developed on Axis 1.3, and it has following method. SendTaskResponseDto sendSmsMessage(SmsRequestDto in0) SmsRequestDto has an string array public class SmsRequestDto implements java.io.Serializable { private java.lang.Long projectId; private java.lang.String user; private java.lang.String message; private java.lang.String[] msisdn; private java.lang.Integer applicationId; ......... when I try to call SendTaskResponseDto sendSmsMessage(SmsRequestDto in0) through C#.net client it gives following exception at ...

37. Axis2 stub error when accessing a .NET web service    coderanch.com

I have created a stub from a WSDL file that was created by .NET. When I call a method, I get the following error: org.apache.axis2.AxisFault: Object reference not set to an instance of an object. at org.apache.axis2.util.Utils.getInboundFaultFromMessageContext(Utils.java:512) at org.apache.axis2.description.OutInAxisOperationClient.handleResponse(OutInAxisOperation.java:370) at org.apache.axis2.description.OutInAxisOperationClient.send(OutInAxisOperation.java:416) at org.apache.axis2.description.OutInAxisOperationClient.executeImpl(OutInAxisOperation.java:228) at org.apache.axis2.client.OperationClient.execute(OperationClient.java:163) at com.qliktech.ws.executionservice._8.WebServiceHelper2Stub.HelloWorld(WebServiceHelper2Stub.java:786) at com.ldes.qlikview.QlikViewAPI.executeMethod(QlikViewAPI.java:44) at com.ldes.qlikview.QlikViewAPI.main(QlikViewAPI.java:101) Any ideas why this is happening? What is interesting, is ...

38. unable to connect to .Net web service using axis with java    coderanch.com

Hi, I am trying to create a java client using Apache Axis to call a .net web service.Web service is very simple.m using .net 2.0 to build the web service.i used tcp mon to see the soap msg generated and generated msg was POST /WebSite3/Service.asmx HTTP/1.0 Content-Type: text/xml; charset=utf-8 Accept: application/soap+xml, application/dime, multipart/related, text/* User-Agent: Axis/1.4 Host: localhost:8089 Cache-Control: no-cache Pragma: ...

39. Using Axis jar to pass parameters to .net web service    coderanch.com

I've created a process where string parameters are passed to a web service using Apache Axis jar files. This works perfectly unless there's an apostrophe in one of the parameters then Axis gives an error (see error below). How can I fix this? I've tried to encode the string parameters and that works because fox example, I get "Benil%20O%27Brien." for a ...

40. how to consume secured axis2 service in .NET    coderanch.com

Hi! You can choose between the following approaches, as far as I know: 1) A command line tool called svcutil. 2) In VisualStudio 2008, go to the Project menu and locate the Add Service Reference menu item. Both the above alternatives work with WSIT web services developed in Java (Metro web service stack), but I don't know if it works with ...

41. Axis2 client to invoke NTLM .NET WCF web services    coderanch.com

I am using Eclipse 3.4.0 and Axis2-1.4.1 to create a web service client to call a .NET WCF which is using NTLM windows authentication. I use Axis2 Code Generator to generate a stub called Service1Stub.java first. Then I wrote the following code to try. package org.tempuri; import java.util.ArrayList; import java.util.List; import org.apache.axis2.client.Options; import org.apache.axis2.transport.http.HttpTransportProperties; public class WcfClient { public static void ...

44. axis 1.4/ wws4j signing and .net problem    coderanch.com

I've been told I need to send requests to a .net service. They have supplied me with this policy document:

45. Axis 1.4 Client .NET Webservice: serializable dictionaries    coderanch.com

Hello All, I am using axis 1.4 to connect my java web client to a .NET webservice. The webservice uses serializable dictionaries data sets for certain parameters. In my SOAP mesage, I am sending a structure called TradeHeader, which contains a parameter called AdditionalInformation - which is a serializable dictionary on the .NET web service side. The webservice generates a WSDL ...

47. Axis Client accessing data on .Net webservice    java-forums.org

Hi All, I am trying to access data on http://www.webserviceX.NET/stockquote.asmx?WSDL using an Axis client. the proble is that the message/xml/rpc(?) my requests send to the network is not what the webservice expects. The website wants (discovered with StrikeIron Analyzer and WireShark) *********************** GOOG *********************** and my Axis Client ...

49. Unable to access .net webservice from AXIS client    forums.oracle.com

Service service = new Service(); Call call = (Call) service.createCall(); call.setTargetEndpointAddress( new java.net.URL(endpoint) ); call.setOperationName("GetAuthenticationKey"); call.setProperty(Call.SOAPACTION_URI_PROPERTY, "http://www.wyse.com/GetAuthenticationKey"); call.addParameter( "p_strApplicationName",XMLType.XSD_STRING, ParameterMode.IN); call.addParameter( "p_strUserID", XMLType.XSD_STRING, ParameterMode.IN); QName QNAME_TYPE_STRING = new QName("http://www.wyse.com/", "p_strApplicationName"); RPCParam p1 = new RPCParam(QNAME_TYPE_STRING,"Test"); QName QNAME_TYPE = new QName("http://www.wyse.com/", "p_strUserID"); RPCParam p2 = new RPCParam(QNAME_TYPE,"Test12"); QName mQ = new QName( "http://www.wyse.com/", "GetAuthenticationKey" ); call.setReturnType(XMLType.SOAP_STRING); System.out.println("connected"); System.out.println(call.invoke(mQ, new Object[] {p1,p2}));