This is not really a bug, its more of a mapping issue. Unlike rpc/literal, a 
document/literal message has one schema document, and thus one root element in 
a message. So you can not directly map a method with more than one parameter to 
a document/literal message.  To get around this, wscompile generates a wrapper 
object which contains all of the methods parameters. So , because of the 
logical restrictions of document/literal, JBossWS expects there to be only one 
parameter, and this is why you change your SEI to reflect the wrapper object.

Now that said, wscompile has issues with document/literal and will always wrap 
parameters (even if there is only one parameter). So, don't rerun wscompile 
because it will attempt to rewrap your wrapper object.

-Jason

View the original post : 
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3881660#3881660

Reply to the post : 
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3881660


-------------------------------------------------------
SF.Net email is sponsored by: Discover Easy Linux Migration Strategies
from IBM. Find simple to follow Roadmaps, straightforward articles,
informative Webcasts and more! Get everything you need to get up to
speed, fast. http://ads.osdn.com/?ad_id=7477&alloc_id=16492&op=click
_______________________________________________
JBoss-user mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/jboss-user

Reply via email to