tags:

views:

469

answers:

0

Getting the following error when I try to execute a SOAP request using .net:

failed: System.InvalidOperationException : There is an error in XML document (1, 776).
  ----> System.InvalidOperationException : The specified type was not recognized: name='ArrayOf_xsd_anyType', namespace='http://soap.ddr.opentext.com', at <multiRef xmlns=''>.

(have to obvuscate the namespace due to NDA, etc).

The raw SOAP response I'm getting is the same whether I'm using an HTTP sniffer when using .net, or sending the request via XML Spy. Here is the (obfuscated) response:

 <soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"&gt;
    <soapenv:Body>
     <ns1:deleteItem soapenv:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/" xmlns:ns1="http://soap.xxx.xxx.com"&gt;
      <deleteItemReturn href="#id0"/>
     </ns1:deleteItem>
     <multiRef id="id0" soapenc:root="0" soapenv:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/" xsi:type="ns2:ClauseMasterDeleteRecord" xmlns:soapenc="http://schemas.xmlsoap.org/soap/encoding/" xmlns:ns2="http://bean.xxx.xxx.com"&gt;
      <deletedItems href="#id1"/>
      <status xsi:type="xsd:int">0</status>
     </multiRef>
     <multiRef id="id1" soapenc:root="0" soapenv:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/" soapenc:arrayType="ns3:ArrayOf_xsd_anyType[1]" xsi:type="soapenc:Array" xmlns:ns3="http://soap.xxx.xxx.com" xmlns:soapenc="http://schemas.xmlsoap.org/soap/encoding/"&gt;
      <multiRef xsi:type="xsd:string">x-otc-lm:xxx:xxxxx:FIXED::LM0000000000029201:0000:EN:1</multiRef>
     </multiRef>
    </soapenv:Body>
</soapenv:Envelope>

I'm probably going to have to just do a raw HTTP request, just wanted to see if anyone has encountered this, and/or see something obviously wrong.

Thanks