| Author |
Message Tags generated in wsdl file using wsgen
|
Ravi Kiran Va
Ranch Hand
Joined: Apr 18, 2009
Posts: 2234
|
|
Hi ,
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 .
1. add
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.
|
 |
Ivan Krizsan
Bartender
Joined: Oct 04, 2006
Posts: 2193
|
|
Hi!
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.
Best wishes!
|
My free books and tutorials: http://www.slideshare.net/krizsan
|
 |
Ravi Kiran Va
Ranch Hand
Joined: Apr 18, 2009
Posts: 2234
|
|
The addResponse is a wrapper that contains the result of the add operation
Thanks Ivan for the response .
I am not sure but i think taht even if i added void to the method , why in this case also it generated the addResponse thing ??
|
 |
 |
|
|
subject: Message Tags generated in wsdl file using wsgen
|
|
|