axis2

client not able to communicate to the server through a webservice

java.net.SocketTimeoutException: Read timed out at org.apache.axis.AxisFault.makeFault(AxisFault.java:101) at org.apache.axis.SOAPPart.getAsSOAPEnvelope(SOAPPart.java:701) at org.apache.axis.Message.getSOAPEnvelope(Message.java:435) at org.apache.axis.handlers.soap.MustUnderstandChecker.invoke(MustUnderstandChecker.java:62) at org.a...

Background tasks in Axis2 - Tomcat stack

I am working on a Java server side application that needs to provide a SOAP service. For this, we are using Axis2 and deploy in a Tomcat 6 installation. We have the following issue: we need to run a couple of background threads; one to periodically query another web service for changes in provided data and a second one to monitor and co...

WS-Eventing in Axis2 / subscription-based messaging

I'm currently writing a web service using Axis2, and need to be able to set up a subscription-based system, whereby subscribing clients are notified of events and messages. Does anyone have any recommendations for implementation? I think a WS-Eventing implementation would be perfect, and I have noted Savan, however, not sure if this is...

An Issue with Axis2 Web Service Framework

Hi All, I’m writing a web service (and client) in Java by using Axis2. In one of the web methods I want to throw an exception and in the client side I am going to catch this exception. Unfortunately it seeks like this is not an easy task to do with Axis2. Does anybody have an idea about how to do it in Axis2? Thanks ...

How to specify relative URLs in AXIS2 webservices?

So I have an Axis2 webservice deployed to apache tomcat 6.0.29. Its a getDocument service which uses MTOM to transfer files to the client from the server through the service. So what I want to do is when a client requests a specific file by its attributes[names, tags, author, etc.] I will pick up a file from my filesystem and tranfer as ...

SAML2 usage with axis2 web service

Is there any way that i can use SAML to authenticate(SSO) to an Idp using an axis2 web service? ...

Axis2 with XMLBeans data binding - Problem with a java client generated from a XSD schema with anyType.

I have generated a client using Axis2 framework with XMLBeans as the data binding method. The XSD schema is the following: <xsd:schema> <xsd:element name="profile" type="anyType"/> </xsd:schema> The java object generated which takes part of the SOAP request contains getter and setter methods that allow to get and set the profile...

Remove xml:ns tags from webservice(axis2) response

I have a webserivce deployed using axis2. The method on the service class returns a string. public String getXML(){ return "Hello..."; } and the service is configured like this <operation name="getXML"> <messageReceiver mep="http://www.w3.org/ns/wsdl/in-out" class="org.apache.axis2.rpc....