Hello,

my client throws the following exception, when I try to get an array of 
complex types:
     [java] 2004-10-07 16:23:16,541 ERROR 
org.apache.axis.client.Call[main] - Exception:
     [java] org.xml.sax.SAXException: SimpleDeserializer encountered a 
child element, which is NOT expected, in something it was trying to 
deserialize.
....
The wsdl file is generated by org.apache.axis.wsdl.Java2WSDL, style=RPC 
and the following typemapping is used:
 <typeMapping
     qname='ns1:DatabaseListDO' 
xmlns:ns1='http://database.dbdb.ulbmuenster.de'
     type='java:de.ulbmuenster.dbdb.database.DatabaseListDO'
     serializer='org.apache.axis.encoding.ser.BeanSerializerFactory'
     deserializer='org.apache.axis.encoding.ser.BeanDeserializerFactory'
     encodingStyle=''
     />
   <typeMapping
     qname='ns1:DatabaseListDOArray' 
xmlns:ns1='http://database.dbdb.ulbmuenster.de'
     type='java:de.ulbmuenster.dbdb.database.DatabaseListDOArray'
     serializer='org.apache.axis.encoding.ser.BeanSerializerFactory'
     deserializer='org.apache.axis.encoding.ser.BeanDeserializerFactory'
     encodingStyle=''
     />

The used java-classes (complex type and array wrapper) are analogoue to the example in 
the wikis. No error occurs, if the return type is
one complex class.

Is there any solution for this problem?

Hendrik

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

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


-------------------------------------------------------
This SF.net email is sponsored by: IT Product Guide on ITManagersJournal
Use IT products in your business? Tell us what you think of them. Give us
Your Opinions, Get Free ThinkGeek Gift Certificates! Click to find out more
http://productguide.itmanagersjournal.com/guidepromo.tmpl
_______________________________________________
JBoss-Development mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-development

Reply via email to