I developed a sample web service using JAX WS , and this is a method in my class :
When i ran wsgen of weblogic 11 server through ANT .
It command got generated a wsdl file . There have been two Message Tga sgenerated for this .
2. addResponse .
Can anybody please let me know , what is this addResponse and why this has been generated ??
(As I am expecting only add )
Please let me know , thanks for reading .
Save India From Corruption - Anna Hazare.
Joined: Oct 04, 2006
The addResponse is a wrapper that contains the result of the add operation, that is, an integer.
It is common practice to wrap the data of requests and responses in an element since the WS-I Basic Profile only allows the body of a SOAP message to contain (at most) one single child element.