Re: xrpcc WSDL

From: Todor Todorov <todor.todorov_at_CYCOS.COM>
Date: Fri, 13 Sep 2002 06:09:10 -0600


I've got the same error when I tried to compile WSDL file, which contains subsequent schema definition:

      <complexType name="ArrayOfint">
          <element name="item" maxOccurs="unbounded" type="int"/>

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:restriction base="soap-enc:Array">
     <xs:attribute ref="soap-enc:arrayType" wsdl:arrayType="xs:int[]"/>

Another approach is to write a custom serializer.