[jboss-user] [JBossWS] - Wrapped vs bare document in User Guide are confusing
davidchen
do-not-reply at jboss.com
Tue Jul 17 18:42:13 EDT 2007
Hi, there:
I guess the description in User Guide about Wrapped and Bare document are confusing, and examples are kind of misleading.
For bare document the example is:
| @WebMethod
| public SubmitBareResponse submitPO(SubmitBareRequest poRequest)
|
while for wrapped document the example is:
| public String submitPO(String product, int quantity)
|
However, the bare document style should be "method PARAMETERS represent the entire message body" and the wrapped document should be "the parameters are elements wrapped inside a top-level element".
It will be way more clear if User Guide can switch the examples in that section.
Just my 2 cents, I'm a newbie to webservice. Please feel free to correct my above comments if I was wrong.
Thanks a lot
David
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4065200#4065200
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4065200
More information about the jboss-user
mailing list