I'm getting a "Two declarations cause a collision in the ObjectFactory class" error.

Every one of the XSD files exposed by the DotNet webservice I'm trying to connect with has multiple name collisions. The one below is simplest of the them.

Is there a simple config/fix to remedy this? Or, do I need to go in and create an xpath statement to find each of them in a binding file (there are 843 total duplicates in 6 XSD files)?

<?xml version="1.0" encoding="utf-8"?>
<xs:schema elementFormDefault="qualified" targetNamespace="http://schemas.microsoft.com/2003/10/Serialization/Arrays"; xmlns:xs="http://www.w3.org/2001/XMLSchema"; xmlns:tns="http://schemas.microsoft.com/2003/10/Serialization/Arrays";>
    <xs:complexType name="ArrayOfstring">
        <xs:sequence>
<xs:element minOccurs="0" maxOccurs="unbounded" name="string" nillable="true" type="xs:string"/>
        </xs:sequence>
    </xs:complexType>
<xs:element name="ArrayOfstring" nillable="true" type="tns:ArrayOfstring"/>
</xs:schema>

Reply via email to