Re: Transport is not closed while using Dispatch.invokeOneWay method ?

2011-05-30 Thread Ivan
A bit more description for my case, the server side is a simple web service, for the client side, the codes are something like : ---> Service service = new HelloService(); Dispatch dispatchJaxb = service.createDispatch(PORT_QNAME, JAXBContext.newInstance(org.test.ObjectFactory.class), javax.xml.ws.

How to generate a stub and skeleton jar with one pom.xml

2011-05-30 Thread stlecho
I'm trying to generate with 'axis2-wsdl2code-maven-plugin' a separate jar for the clients of my webservice (only containing the stub classes and their dependencies) and a separate jar for the implementation of my webservice (only containing the skeleton classes and their dependencies). By includi

Transport is not closed while using Dispatch.invokeOneWay method ?

2011-05-30 Thread Ivan
Hi, I got an exception of org.apache.commons.httpclient.ConnectionPoolTimeoutException: Timeout waiting for connection while using Dispatch.invokeOneWay method for some times. After checking the codes in the BaseDispatch.invokeOneWay method, I did not find the related codes which were used to relea

setting SOAPFaults into the MessageContext...

2011-05-30 Thread Marcin . Markiewicz
Hello all, I'm currently developing a framework using AXIS2 to send custome messages. In case of an exception (abnormal behaviour) we have to send Faults - so far it is quite usual. I have done some research and found only one working way to set the proper fault parameters. It's something like

Re: something in here uses a non-autogenerated WSDL? how?

2011-05-30 Thread Martín R .
I didn't find any autogenerate parameter in axis2.xml in official documentation of Axis2. apart from this, I've checked that no matter what the name of .wsdl is, or wheter useOriginalWsdl appears or not. and lastly, Well,. I'll check what you said. Eco.wsdl or Other.wsdl nothing changes. I