I'm new to webservice and going through the book "Java WebServices Up and Running". Somehow i find this little confusing for the beginners. On page 54, it makes contradictory statements.
First it says
In the unwrapped style, the parameters occur bare; that is, as a sequence of unwrapped XML subelements in the SOAP body. In the wrapped style, the parameters occur as wrapped XML subelements of an XML element with the name of the service operation
And then it says.
What may be surprising is that the structure of the underlying SOAP messages, both the request and the response, remain unchanged. For instance, the request message from the simplified client AmazonClientU is identical in structure to the request message from the complicated client AmazonClientW.
I tried writing a sample program and i clearly see a difference between the SOAP messages of Wrapped Style and Bare style. The Bare style doesn't contain the operation name in the SOAP body.
Someone please clarify. Thanks in advance..