Hi fellows, I am sort of a newbie in axis an i don't know if this problem i am facing is an already discussed issue at this list (the search engine of the list was down when i acessed it). Anyway, my problem is the following: I am developing a web-service application using jboss1.2.3. I have a class called 'Bundle' which has an array of a class called 'BundleItem'. I deploy the application at Jboss, acess the wsdl of the service, and generates the client classes using WSDL2Java (axis 1.2RC2). When i call the method wich takes a Bundle object and submits it for insertion at the application, i get the following fault message (client-side):
{http://xml.apache.org/axis/}stackTrace:org.xml.sax.SAXException: SimpleDeserializer encountered a child element, which is NOT expected, in something it was trying to deserialize. web-service.xml (WSDD): <deployment xmlns="http://xml.apache.org/axis/wsdd/" xmlns:java="http://xml.apache.org/axis/wsdd/providers/java"> > <service name="freecommerce_basicclasses" provider="java:RPC" style="wrapped" use="literal"> > <parameter name="wsdlTargetNamespace" value="urn:freecommerce"/> > <parameter name="className" value="com.smartprice.eb.webservice.BasicClassesDelegate"/> > <parameter name="allowedMethods" value="*"/> > > > <typeMapping > xmlns:ns="http://valueobject.webservice.eb.smartprice.com" > qname="ns:Bundle" > type="java:com.smartprice.eb.webservice.valueobject.Bundle" > serializer="org.apache.axis.encoding.ser.BeanSerializerFactory" > deserializer="org.apache.axis.encoding.ser.BeanDeserializerFactory" > encodingStyle="" > /> > <typeMapping > xmlns:ns="http://valueobject.webservice.eb.smartprice.com" > qname="ns:BundleItem" > type="java:com.smartprice.eb.webservice.valueobject.BundleItem" > serializer="org.apache.axis.encoding.ser.BeanSerializerFactory" > deserializer="org.apache.axis.encoding.ser.BeanDeserializerFactory" > encodingStyle="" > /> </service> Does anyone have an idea of what is causing this fault? regards, Leonardo