This is a soapenc array, which certainly doesn't qualify as WS-I compliant. If you want to be WS-I compliant, you should be using document/literal style (or wrapped style).
Please see Dino's extremely informative wiki page on .NET interoperability with arrays: http://wiki.apache.org/ws/DotNetInteropArrays. You've currently defined your array using the wrapped array approach (creating an ArrayOf Product type). You might try using the bare array approach, for example, if you want an array of products within a <order> element: <xsd:element name="order"> <xsd:complexType> <xsd:sequence> <xsd:element name="orderNo type="xsd:string" /> <xsd:element name="product" type="xsd1:Product" minOccurs="1" maxOccurs="unbounded" /> </xsd:sequence> </xsd:complexType> </xsd:element> Also make sure that you've applied the fix for the bug that Dino talks about. Anne On 4/24/05, csj <[EMAIL PROTECTED]> wrote: > > Ivan - > > Try something like this... > > where.... > > xmlns:soapenc="http://schemas.xmlsoap.org/soap/encoding/" > xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/" > > <xsd:complexType name="ResultElementArray"> > <xsd:complexContent> > <xsd:restriction base="soapenc:Array"> > <xsd:attribute ref="soapenc:arrayType" > wsdl:arrayType="typens:ResultElement[]"/> > </xsd:restriction> > </xsd:complexContent> > </xsd:complexType> > > Hope this is of some help... > > ..Chris >
