hi,
I've got the same error when I tried to compile WSDL file, which contains subsequent schema definition:
<complexType name="ArrayOfint">
<sequence>
<element name="item" maxOccurs="unbounded" type="int"/>
</sequence>
</complexType>
The problem is xrpcc (or wscompile) doesn't recognize this array definition. Instead one should use array definition specified in WSDL 1.1, e.g.:
<xs:complexType name="ArrayOfint">
<xs:complexContent>
<xs:restriction base="soap-enc:Array">
<xs:attribute ref="soap-enc:arrayType" wsdl:arrayType="xs:int[]"/>
</xs:restriction>
</xs:complexContent>
</xs:complexType>
Another approach is to write a custom serializer.
regards,
Todor