Re: c# .net client and complex arrays

Matt Long <[email protected]>
Newsgroups gmane.comp.windows.devel.soap.general
Organization Phalanx Systems, LLC
Message-ID <000001c24ecb$16e99690$3cfff6d0@gulag>
Hi,

One item is incorrect in the schema. The SOAP_ENC namespace is not
imported.

Therefore, the schema should include the following import below to be
valid.

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

Under the current schema <restriction base="SOAP-ENC:Array"> is not
valid within the schema itself.

-Matt Long
Phalanx Systems, LLC




> <types>
> <schema targetNamespace='http://www.ejournal.no'
> xmlns='http://www.w3.org/2001/XMLSchema'>
>
> <complexType name='ResultStruct'>
> <sequence>
> <element name='field' type='xsd:string'/>
> <element name='value' type='xsd:string'/>
> <!--element name='type' type='ej:FieldType'/-->
> <element name='type' type='xsd:string'/>
> </sequence>
> </complexType>
>
> <complexType name='ArrayOfResultStruct'>
> <complexContent>
> <restriction base="SOAP-ENC:Array">
> <sequence>
> <element name='item' type='ej:ResultStruct'/>
> </sequence>
> <attribute ref="SOAP-ENC:arrayType"
> wsdl:arrayType="ej:ResultStruct[]"/>
> </restriction>
> </complexContent>
> </complexType>
>
> <complexType name='ArrayOfArrayOfResultStruct'>
> <complexContent>
> <restriction base="SOAP-ENC:Array">
> <sequence>
> <element name='atam' type='ej:ArrayOfResultStruct'/>
> </sequence>
> <attribute ref="SOAP-ENC:arrayType"
> wsdl:arrayType="ej:ArrayOfResultStruct[]"/>
> </restriction>
> </complexContent>
> </complexType>
>
> </schema>
> </types>
>
> You can read messages from the SOAP archive, unsubscribe from SOAP, or
> subscribe to other
> DevelopMentor lists at http://discuss.develop.com.

You can read messages from the SOAP archive, unsubscribe from SOAP, or subscribe to other
DevelopMentor lists at http://discuss.develop.com.
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.