Attribute ??? must have present attributes name or ref, but not both"

blazextreme

New Member
I'm trying to consume a Webservice created with PHP using SOAP standards with Visual Studio 2010 client.When I try to generate the proxy, an error raises about the format of the WSDL file. The error message is this (translated so inacurate):"Error in a ComplexType schema element named "Inscritos",Attribute ??? must have present attributes name or ref, but not both" Reviewing the WSDL I found this element:\[code\] <xsd:complexType name="Inscritos"> <xsd:complexContent> <xsd:restriction base="SOAP-ENC:Array"> <xsd:attribute res="http://schemas.xmlsoap.org/soap/encoding/:arrayType" wsdl:arrayType="tns:Inscritos2[]"/> </xsd:restriction> </xsd:complexContent> </xsd:complexType>\[/code\]The WS is hosted by a external provider so we have no chance to redefine it. Does anybody Know a way or Workaround to avoid this issue??Thanks in advance for any help
 
Back
Top