Hi!
I am doing a Sample Calculator Webservice Application using JAX-WS .
I making a request to Webservice from
servlet, It is working
demo.CalAddService service = new demo.CalAddService();
demo.CalAdd port = service.getCalAddPort();
int result = port.add(a, b);
out.println("Result = "+result);
--------------------------------------------------------------------------
My WebService Code :
@WebService()
public class CalAdd {
@WebMethod(operationName = "add")
public int add(@WebParam(name = "a")
int a, @WebParam(name = "b")
int b) {
return a+b;
}
}
But I would like to catch the
SOAP request, can we get ? , if, could you please tell the code to catch the SOAP XML request