Hi,

We are using xsd:any  for our webservice to expose a generic interface that 
will be able to receive different formats of XML.

When i used wscompile to generate the server side interfaces (etc..) it maps 
this xsd:any to a single SOAPElement.(we use maxOccurs=1).

But now when i try to invoke the webservice i get a argument mismatch  error.

On debugging I found that JBoss is deserializing the SOAP XML into an array of 
SOAPElements (SOAPElements[]) and tries to set it to  the binding object with 
SOAPElement.

This leads to the IllegalArgumentException.

Does JBoss not support mapping of xsd:any to a single SOAPElement?

Any pointers on this will be highly appreciated.Thanks in advance.

-Ram

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

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


-------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://ads.osdn.com/?ad_id=7637&alloc_id=16865&op=click
_______________________________________________
JBoss-user mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/jboss-user

Reply via email to