axis-java-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Tevoi Andrea" <>
Subject org.xml.sax.SAXException: Invalid element in...
Date Fri, 10 Jan 2003 10:39:55 GMT
Hi all,

I have a Wsdl containing a Schema definition.
This is a portion of the Schema:
<xsd:complexType name="TFL">
		<xsd:element name="SMANDAT" type="tns:SABL"/>
		<xsd:element name="SREVERS" type="tns:SABL"/>
		<xsd:element name="SBILANC" type="tns:SABL"/>
		<xsd:element name="SREGPRO" type="tns:SABL"/>
		<xsd:element name="SDELIB" type="tns:SABL"/>
		<xsd:element name="S006" type="tns:SABL"/>
		<xsd:element name="S007" type="tns:SABL"/>
		<xsd:element name="S008" type="tns:SABL"/>
		<xsd:element name="S009" type="tns:SABL"/>
		<xsd:element name="S010" type="tns:SABL"/>

Now, I've generated stub classes with WSDL2Java to invoke the service, but on client side
it throws an exception:

org.xml.sax.SAXException: Invalid element in - S006
at org.apache.axis.encoding.ser.BeanDeserializer.onStartChild(

This is a portion (relative to portion of Schema) of Soap Message coming from server:


Namespaces declaration on soap message are correct. Stub class throws an exception only for
element S006, but it is correctly defined in the Schema.
Any helps?

Thanks in advance,

Andrea Tevoi

View raw message