SoapTest
Click here for a complete list of operations.
echoSimpleTypesAsStruct
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/simpleB.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:echoSimpleTypesAsStruct>
<inputString xsi:type="xsd:string">string</inputString>
<inputInteger xsi:type="xsd:int">int</inputInteger>
<inputFloat xsi:type="xsd:float">float</inputFloat>
</tns:echoSimpleTypesAsStruct>
</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:echoSimpleTypesAsStructResponse>
<return href="#id1" />
</tns:echoSimpleTypesAsStructResponse>
<q1:SOAPStruct id="id1" xsi:type="q1:SOAPStruct" xmlns:q1="http://soapinterop.org/xsd">
<varString xsi:type="xsd:string">string</varString>
<varInt xsi:type="xsd:int">int</varInt>
<varFloat xsi:type="xsd:float">float</varFloat>
</q1:SOAPStruct>
</soap:Body>
</soap:Envelope>