SimpleTest
Click here for a complete list of operations.
echoStructArray
Test
The test form is only available for requests from the local machine.SOAP
The following is a sample SOAP request and response. The placeholders shown need to be replaced with actual values.
POST /asmx/simple.asmx HTTP/1.1
Host: mssoapinterop.org
Content-Type: text/xml; charset=utf-8
Content-Length: length
SOAPAction: "http://soapinterop.org/"
<?xml version="1.0" encoding="utf-8"?>
<soap:Envelope xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:soapenc="http://schemas.xmlsoap.org/soap/encoding/" xmlns:tns="http://soapinterop.org/" xmlns:types="http://soapinterop.org/encodedTypes" xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/">
<soap:Body soap:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/">
<tns:echoStructArray>
<inputStructArray href="#id1" />
</tns:echoStructArray>
<soapenc:Array id="id1" xmlns:q1="http://soapinterop.org/xsd" soapenc:arrayType="q1:SOAPStruct[2]">
<Item href="#id2" />
<Item href="#id3" />
</soapenc:Array>
<q1:SOAPStruct id="id2" xsi:type="q1:SOAPStruct" xmlns:q1="http://soapinterop.org/xsd">
<varInt xsi:type="xsd:int">int</varInt>
<varString xsi:type="xsd:string">string</varString>
<varFloat xsi:type="xsd:float">float</varFloat>
</q1:SOAPStruct>
<q2:SOAPStruct id="id3" xsi:type="q2:SOAPStruct" xmlns:q2="http://soapinterop.org/xsd">
<varInt xsi:type="xsd:int">int</varInt>
<varString xsi:type="xsd:string">string</varString>
<varFloat xsi:type="xsd:float">float</varFloat>
</q2:SOAPStruct>
</soap:Body>
</soap:Envelope>
HTTP/1.1 200 OK
Content-Type: text/xml; charset=utf-8
Content-Length: length
<?xml version="1.0" encoding="utf-8"?>
<soap:Envelope xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:soapenc="http://schemas.xmlsoap.org/soap/encoding/" xmlns:tns="http://soapinterop.org/" xmlns:types="http://soapinterop.org/encodedTypes" xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/">
<soap:Body soap:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/">
<tns:echoStructArrayResponse>
<return href="#id1" />
</tns:echoStructArrayResponse>
<soapenc:Array id="id1" xmlns:q1="http://soapinterop.org/xsd" soapenc:arrayType="q1:SOAPStruct[2]">
<Item href="#id2" />
<Item href="#id3" />
</soapenc:Array>
<q3:SOAPStruct id="id2" xsi:type="q3:SOAPStruct" xmlns:q3="http://soapinterop.org/xsd">
<varInt xsi:type="xsd:int">int</varInt>
<varString xsi:type="xsd:string">string</varString>
<varFloat xsi:type="xsd:float">float</varFloat>
</q3:SOAPStruct>
<q4:SOAPStruct id="id3" xsi:type="q4:SOAPStruct" xmlns:q4="http://soapinterop.org/xsd">
<varInt xsi:type="xsd:int">int</varInt>
<varString xsi:type="xsd:string">string</varString>
<varFloat xsi:type="xsd:float">float</varFloat>
</q4:SOAPStruct>
</soap:Body>
</soap:Envelope>