Loading ...
Sorry, an error occurred while loading the content.
 

Non-Homogenous arrays

Expand Messages
  • Matt Long
    Is the following feasible, invalid, noncompliant, or simply not supportable? Thx, -Matt Long Phalanx Systems, LLC
    Message 1 of 1 , Sep 5, 2002

      Is the following feasible, invalid, noncompliant, or simply not supportable?

       

      Thx,

       

      -Matt Long

      Phalanx Systems, LLC

       

      <wsdl:definitions xmlns:wsdl=http://schemas.xmlsoap.org/wsdl/” …>

      <wsdl:types>

        <schema xmlns=”http://www.w3.org/2001/XMLSchema”  targetNamespace=”http://www.example.com/”  xmlns:SOAP-ENC=”http://schemas.xmlsoap.org/soap/encoding/”  xmlns:z=http://www.example.com/”  >

           <import namespace=http://schemas.xmlsoap.org/soap/encoding/” />

           <complexType name=”ArrayOfChoice”>

              <complexContent>

                <restriction base=”SOAP-ENC:Array”>

                   <sequence>

                     <group ref=”z:choiceGroup”/>

                   </sequence>

                    <attribute ref=”SOAP-ENC:arrayTypewsdl:arrayType=”choiceGroup[]”/>

                </restriction>

              </complexContent>

          </complexType>

          <group name=”choiceGroup”>

             <choice>

                <element name=”itemAtype=”string”/>

                <element name=”itemBtype=”int”/>

                <element name=”itemCtype=”z:complexItem”/>

             </choice>

          </group>

          <complexType name=”complexItem”>

             <all>

                 <element name=”member1” type=”float”/>

                 <element name=”member2” type=”decimal”/>

             </all>

          </complexType>

        </schema>

      </wsdl:types>

      ….

      </wsdl:definitions>

    Your message has been successfully submitted and would be delivered to recipients shortly.