http « axis « Java Enterprise Q&A





1. Axis2 problem in setting SOAPAction HTTP header    stackoverflow.com

I am trying co connect to a 3'rd party SOAP web service. It seems that the service can work when the HTTP SOAPAction header is an empty String (""). This is ...

2. Why do I get empty request from the Jakarta Commons HttpClient?    stackoverflow.com

I have a problem with the Jakarta Commons HttpClient. Before my self-written HttpServer gets the real request there is one request which is completely empty. That's the first problem. The first ...

3. How to see what Axis2 sends and receives?    stackoverflow.com

I have Axis2 created web service client. This service uses both SSL and WS-Security so I use rampart. I think that my client sends correct query, but I got exception:

org.apache.axis2.AxisFault: Must ...

4. HTTP Basic Authentication for WEBService call    stackoverflow.com

I trying to invoke a web service, which has an Basic HTTP Authentication. I generated the client code using the WSDL2JAVA tool from AXIS. But I am not able to set ...

5. org.apache.axis2.AxisFault: Transport error: 501 Error: Not Implemented    stackoverflow.com

I am trying to call an Axis2 web service using a code like:

stub = new MyServiceStub("http://server/app/services/MyService");
stub.ping();
Stubs/skeletons are generated with codegen. I can interact correctly with the web service from other clients ...

6. Making web service calls on the same connection    stackoverflow.com

I'm working on a WSDL-based web service and using Apache Axis 2. I'm not an expert on web services, and the person I'm working with claims that in order for ...

7. axis2: how to ignore HTTP response status code?    stackoverflow.com

I have to connect with WebService that in case of error return the same SOAP envelope as in case of normal operation, but sets HTTP status to "500 Internal Server Error". ...

8. changing the default URL i.e. http://localhost:8080/axis2/services/ in Webservices using axis    stackoverflow.com

I tried an web service example from the below mention link http://www.tidytutorials.com/2009/02/web-services-example-using-axis-2-and.html In the example when we generate the client code using wsdl2java the url used is as mention in title ...

9. Setting HTTP headers through Axis2 API    stackoverflow.com

I am using apache axis2 server webservies, Basically I am sending xml response to android client through webservices. Here I need to maintain the session since the services per user basis. ...





10. Calling a web service that requires HTTP digest authentication from an Axis client    stackoverflow.com

I'm using Axis 1.4 to make calls to a web service. This web service will now start using HTTP digest authentication for security. I know how to set username and password ...

11. How do I handle HTTP error codes in an Axis 1 client    stackoverflow.com

We're running an Axis 1 Java client. The web service will sometime return an HTTP error code 500 along with some meaningless HTML body content. In such cases, we get a

javax.xml.soap.SOAPException: ...

12. What is the windows system setting to use the primitive NTLM authentication supported by Apache Http Client?    stackoverflow.com

We are using Apache Axis client to communicate to a report server. The Apache Client uses Apache Http Client for NTLM authentication. Based on the below post How can I get ...

13. Axis 1.0 w/o SOAPAction HTTP Header?    coderanch.com

Axis 1.0 requires that every inbound SOAP message over HTTP have a SOAPAction header. There seems to be quite a bit of disagreement about whether this ir correct, but it certainly breaks clients which do not send one. Sending SOAPAction: "" is all that's needed to satisfy Axis. Is there a way to configure Axis ( perhaps a handler in the ...

14. Axis and HTTP code = 100    coderanch.com

Hi all, I need your help here to figure out a problem I'm facing with Axis. I have an Axis client (version 1.1). It sends a request to a provider, and the provider sends back a response. (Until now, everything is ok and quite simple). Using TCPMon, I can se the provider sends 2 http response s. First a HTTP 100 ...

15. Axis and HTTP Header Info    coderanch.com

Ok, I'm just now getting around to looking into this again. Do you know of a good example of using a JAX-RPC handler on the server? I'm seeing references to the org.apache.axis.handlers.SimpleAuthenticationHandler and incorporating this into the wsdd file, but am not clear on how all this is working. Thanks again for your help.

16. org.apache.axis2.AxisFault: http    coderanch.com

JavaRanch Java Forums Java Web Services Author org.apache.axis2.AxisFault: http Anirban Das Ranch Hand Joined: Nov 22, 2003 Posts: 63 posted Jan 18, 2008 02:32:00 0 Hi, Iam trying to access a service which is hosted on axis2 server. While running the client Iam getting the following error log4j:WARN No appenders could be found for logger (org.apache.axis2.description.AxisService). log4j:WARN Please ...





17. org.apache.axis2.AxisFault: http    coderanch.com

A friendly place for programming greenhorns! Big Moose Saloon Search | Java FAQ | Recent Topics Register / Login JavaRanch Java Forums Java Web Services Author org.apache.axis2.AxisFault: http Anirban Das Ranch Hand Joined: Nov 22, 2003 Posts: 63 posted Jan 18, 2008 02:35:00 0 Hi, Iam trying to access a service which is hosted on axis2 ...

18. Axis2 http Configuration problem    coderanch.com

Hi all, I've implemented a SOAP Web Services client using AXIS2-1.3 libraries and WSDL2JAVA. I've used the following configuration to reuse the httpclient and increase the timeout period to 120 seconds, but the connection still times out after the default value of 60 seconds. The other annoying problem is that establishing a new https/ssl session is unusually slow, it takes about ...

19. Axis2 client - HTTP status Response    coderanch.com

Thanks guys, Unfortunately both the solutions did not work out. Using the getProperty on the client simply returns null. hence cant derive any status code from the response. In the meantime I have been also muling with WSRM protocol using Sandesha2 on top of Axis. This seems like a solution on the basis that that web service I will be consumed ...

20. Axis2 Http Header    coderanch.com

I asked for your stub code because following line is creating problem. OperationContext operationContext = stub._getServiceClient().getLastOperationContext(); And since getLastOperationContext() is not part of axis API my assumption is, we need to make some changes in this. As name suggest it return you the last OperationContext but if this is your fist operation then what? I guess it will return null and ...

21. How to access HTTP Response Headers with Axis Handlers    coderanch.com

I want to log HTTP Headers using Apache Axis 1.1 (may upgrade Axis2 eventually). I am able to fetch the HttpServletRequest from the handler and log the request HTTP headers using that, but I cannot figure out how to access the response HTTP headers since HttpServletResponse does not seem to provide access to that information. Is there a way to get ...

22. HTTP Status codes in axis2 stubs    coderanch.com

Can anyone help me please.? im using a stub generated by wsdl2java tool of axis2 to access a .net webservice. Can anyone tell me how to get the status code of the called webservice from stub? or do stubs returns status codes? i've been looking all over the internet for months for this issue. i really need it badly. please help ...

24. java.io.IOException: Server returned HTTP response code: 503 for URL while using AXIS2 API    coderanch.com

/**** CODE SNIPPET STARTS ****/ // Enable logging System.setProperty("org.apache.commons.logging.Log","org.apache.commons.logging.impl.SimpleLog"); System.setProperty("org.apache.commons.logging.simplelog.showdatetime", "true"); System.setProperty("org.apache.commons.logging.simplelog.log.httpclient.wire.header", "debug"); String url = "http://testServicehost.com/service/myTestWebService"; //I use this in a method to get the response back HttpTransportProperties.Authenticator auth = new HttpTransportProperties.Authenticator(); auth.setUsername ("user1"); auth.setPassword("passwd1"); auth.setDomain("DOMAIN"); auth.setHost("testServicehost.com"); List authPrefs = new ArrayList (1); authPrefs.add (AuthPolicy.NTLM); auth.setAuthSchemes (authPrefs); MyTestWebServiceSoapStub stub = new MyTestWebServiceSoapStub(url); //Generated using AXIS2 wsdl2java stub._setProperty(org.apache.axis2.transport.http.HTTPConstants.AUTHENTICATE, auth); // Webservice ...

25. Http 404 error while access through client application - web service axis.    coderanch.com

Hi, I have deployed the Web Service application in Apache Tomcat 6.0.32 with axis 1.4 and it is successfully deployed and the same is given below -- C:\TestWebService\WebContent\WEB-INF\KMVDServiceService\com\tb\kmvd>java -cp %AXISCLASSPATH% org.apache.axis.client.AdminClient deploy.wsdd log4j:WARN No appenders could be found for logger (org.apache.axis.i18n.ProjectR esourceBundle). log4j:WARN Please initialize the log4j system properly. Processing file deploy.wsdd Done processing I tried to access this web service ...

26. Controlling AXIS Camera via HTTP    forums.oracle.com