Hi,
 I try to define int array type in a wsdl file. I expect that this type will be
mapping to the int[] java type (using wsdl2java). But I don't get the expected
result. Here my wsdl:

<definitions 
             xmlns:tns="blabla"
             xmlns:xsd="http://www.w3.org/2001/XMLSchema";
             xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/";
             xmlns:soapenc="http://schemas.xmlsoap.org/soap/encoding/";
             xmlns="http://schemas.xmlsoap.org/wsdl/";>

 <!-- type defs -->
 <types>
      <xsd:schema targetNamespace="blabla"
                xmlns:xsd="http://www.w3.org/1999/XMLSchema";>

        <xsd:complexType name="intarray">
                <xsd:complexContent>
                        <restriction base="soapenc:Array">
                                <attribute ref="soapenc:arrayType" 
arrayType="xsd:int[]"/>
                        </restriction>
                </xsd:complexContent>
        </xsd:complexType>              

      <xsd:complexType name="ctx">
        <xsd:all>
            <xsd:element name="curpos" type="tns:intarray"/>
        </xsd:all>
      </xsd:complexType>
    </xsd:schema>
  </types>
 ...


This wsdl fragment is barely a copy of the JAX-RPC specification.
Someone can help me?
Lionel

Reply via email to