I have created a Java Webservice(first .WSDL file,then wsdl2Java)using Axis2 stack sucessfully.If I'm using Axis2 stack,it'll creates all the Java beans stuff.
I have written a Webservice Client using Stubs generated from the WSDL in pure Java by creating Request Object ( in Java) and in the Response I got java object.
But my requirement is that, I need to get the .XML format for the both.
Please let me know how can I capture actual SoapRequest.xml file and the SoapResponse.xml file.