ROUND 2 SOAP Interoperability Tests Specification

 

This specification outlines a (proposed) SOAP service interface that can be implemented by SOAP implementations as part of an interoperability testing process.

 

 

General Guidelines

 

 

 

The list of methods follows.  Sample envelopes are provided as well. It is important to note that these envelope examples are ONLY examples, and there is no implication that the implementations need to conform to these specific envelopes.

 

method: echoString

 

This method accepts a single string and echoes it back to the client.

 

Input parameter name : inputString

Input parameter type: xsd:string

Output parameter name: return

Output parameter type: xsd:string

 

Request from client

POST /interop HTTP/1.0
Host: www.whitemesa.net
User-Agent: White Mesa SOAP Interop Client/1.0
Content-Type: text/xml; charset="utf-8"
Content-Length: 502
SOAPAction: "http://soapinterop.org/"

<?xml version="1.0" encoding="UTF-8"?>

<SOAP-ENV:Envelope SOAP-ENV:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/" xmlns:SOAP-ENC="http://schemas.xmlsoap.org/soap/encoding/" xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
<SOAP-ENV:Body>
<m:echoString xmlns:m="http://soapinterop.org/">
<inputString>hello world</inputString>
</m:echoString>
</SOAP-ENV:Body>
</SOAP-ENV:Envelope>

Response from server

HTTP/1.0 200 OK
Date: Wed, 20 Jun 2001 02:44:16 GMT
Server: WhiteMesa SOAP Server/2.3
Content-Type: text/xml; charset="utf-8"
Content-Length: 508

<?xml version="1.0" encoding="UTF-8"?>

<SOAP-ENV:Envelope SOAP-ENV:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/" xmlns:SOAP-ENC="http://schemas.xmlsoap.org/soap/encoding/" xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
<SOAP-ENV:Body>
<m:echoStringResponse xmlns:m="http://soapinterop.org/">
<return>hello world</return>
</m:echoStringResponse>
</SOAP-ENV:Body>
</SOAP-ENV:Envelope>

 

method: echoStringArray

 

This method accepts an array of strings and echoes it back to the client.

 

Input parameter name : inputStringArray

Input parameter type: array of xsd:string

Output parameter name: return

Output parameter type: array of xsd:string

 

Request from client

POST /interop HTTP/1.0
Host: www.whitemesa.net
User-Agent: White Mesa SOAP Interop Client/1.0
Content-Type: text/xml; charset="utf-8"
Content-Length: 650
SOAPAction: "http://soapinterop.org/"

<?xml version="1.0" encoding="UTF-8"?>

<SOAP-ENV:Envelope SOAP-ENV:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/" xmlns:SOAP-ENC="http://schemas.xmlsoap.org/soap/encoding/" xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
<SOAP-ENV:Body>
<m:echoStringArray xmlns:m="http://soapinterop.org/">
<inputStringArray SOAP-ENC:arrayType="ns:string[2]" SOAP-ENC:offset="[0]" xmlns:ns="http://www.w3.org/2001/XMLSchema">
<item>hello</item>
<item>world</item>
</inputStringArray>
</m:echoStringArray>
</SOAP-ENV:Body>
</SOAP-ENV:Envelope>

Response from server

HTTP/1.0 200 OK
Date: Wed, 20 Jun 2001 02:44:31 GMT
Server: WhiteMesa SOAP Server/2.3
Content-Type: text/xml; charset="utf-8"
Content-Length: 646

<?xml version="1.0" encoding="UTF-8"?>

<SOAP-ENV:Envelope SOAP-ENV:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/" xmlns:SOAP-ENC="http://schemas.xmlsoap.org/soap/encoding/" xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
<SOAP-ENV:Body>
<m:echoStringArrayResponse xmlns:m="http://soapinterop.org/">
<return SOAP-ENC:arrayType="ns:string[2]" SOAP-ENC:offset="[0]" xmlns:ns="http://www.w3.org/2001/XMLSchema">
<item>hello</item>
<item>world</item>
</return>
</m:echoStringArrayResponse>
</SOAP-ENV:Body>
</SOAP-ENV:Envelope>

 

method: echoInteger

 

This method accepts an single integer and echoes it back to the client.

 

Input parameter name : inputInteger

Input parameter type: xsd:int

Output parameter name: return

Output parameter type: xsd:int

 

Request from client

POST /interop HTTP/1.0
Host: www.whitemesa.net
User-Agent: White Mesa SOAP Interop Client/1.0
Content-Type: text/xml; charset="utf-8"
Content-Length: 497
SOAPAction: "http://soapinterop.org/"

<?xml version="1.0" encoding="UTF-8"?>

<SOAP-ENV:Envelope SOAP-ENV:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/" xmlns:SOAP-ENC="http://schemas.xmlsoap.org/soap/encoding/" xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
<SOAP-ENV:Body>
<m:echoInteger xmlns:m="http://soapinterop.org/">
<inputInteger>42</inputInteger>
</m:echoInteger>
</SOAP-ENV:Body>
</SOAP-ENV:Envelope>

Response from server

HTTP/1.0 200 OK
Date: Wed, 20 Jun 2001 02:44:37 GMT
Server: WhiteMesa SOAP Server/2.3
Content-Type: text/xml; charset="utf-8"
Content-Length: 501

<?xml version="1.0" encoding="UTF-8"?>

<SOAP-ENV:Envelope SOAP-ENV:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/" xmlns:SOAP-ENC="http://schemas.xmlsoap.org/soap/encoding/" xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
<SOAP-ENV:Body>
<m:echoIntegerResponse xmlns:m="http://soapinterop.org/">
<return>42</return>
</m:echoIntegerResponse>
</SOAP-ENV:Body>
</SOAP-ENV:Envelope>

 

method: echoIntegerArray

 

This method accepts an array of integers and echoes it back to the client.

 

Input parameter name : inputIntegerArray

Input parameter type: array of xsd:int

Output parameter name: return

Output parameter type: array of xsd:int

 

Request from client

POST /interop HTTP/1.0
Host: www.whitemesa.net
User-Agent: White Mesa SOAP Interop Client/1.0
Content-Type: text/xml; charset="utf-8"
Content-Length: 647
SOAPAction: "http://soapinterop.org/"

<?xml version="1.0" encoding="UTF-8"?>

<SOAP-ENV:Envelope SOAP-ENV:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/" xmlns:SOAP-ENC="http://schemas.xmlsoap.org/soap/encoding/" xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
<SOAP-ENV:Body>
<m:echoIntegerArray xmlns:m="http://soapinterop.org/">
<inputIntegerArray SOAP-ENC:arrayType="ns:int[2]" SOAP-ENC:offset="[0]" xmlns:ns="http://www.w3.org/2001/XMLSchema">
<item>100</item>
<item>200</item>
</inputIntegerArray>
</m:echoIntegerArray>
</SOAP-ENV:Body>
</SOAP-ENV:Envelope>

Response from server

HTTP/1.0 200 OK
Date: Wed, 20 Jun 2001 02:44:52 GMT
Server: WhiteMesa SOAP Server/2.3
Content-Type: text/xml; charset="utf-8"
Content-Length: 641

<?xml version="1.0" encoding="UTF-8"?>

<SOAP-ENV:Envelope SOAP-ENV:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/" xmlns:SOAP-ENC="http://schemas.xmlsoap.org/soap/encoding/" xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
<SOAP-ENV:Body>
<m:echoIntegerArrayResponse xmlns:m="http://soapinterop.org/">
<return SOAP-ENC:arrayType="ns:int[2]" SOAP-ENC:offset="[0]" xmlns:ns="http://www.w3.org/2001/XMLSchema">
<item>100</item>
<item>200</item>
</return>
</m:echoIntegerArrayResponse>
</SOAP-ENV:Body>
</SOAP-ENV:Envelope>

 

method: echoFloat

 

This method accepts a single float and echoes it back to the client.

 

Input parameter name : inputFloat

Input parameter type: xsd:float

Output parameter name: return

Output parameter type: xsd:float

 

Request from client

POST /interop HTTP/1.0
Host: www.whitemesa.net
User-Agent: White Mesa SOAP Interop Client/1.0
Content-Type: text/xml; charset="utf-8"
Content-Length: 492
SOAPAction: "http://soapinterop.org/"

<?xml version="1.0" encoding="UTF-8"?>

<SOAP-ENV:Envelope SOAP-ENV:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/" xmlns:SOAP-ENC="http://schemas.xmlsoap.org/soap/encoding/" xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
<SOAP-ENV:Body>
<m:echoFloat xmlns:m="http://soapinterop.org/">
<inputFloat>0.005</inputFloat>
</m:echoFloat>
</SOAP-ENV:Body>
</SOAP-ENV:Envelope>

Response from server

HTTP/1.0 200 OK
Date: Wed, 20 Jun 2001 02:45:02 GMT
Server: WhiteMesa SOAP Server/2.3
Content-Type: text/xml; charset="utf-8"
Content-Length: 500

<?xml version="1.0" encoding="UTF-8"?>

<SOAP-ENV:Envelope SOAP-ENV:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/" xmlns:SOAP-ENC="http://schemas.xmlsoap.org/soap/encoding/" xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
<SOAP-ENV:Body>
<m:echoFloatResponse xmlns:m="http://soapinterop.org/">
<return>0.005</return>
</m:echoFloatResponse>
</SOAP-ENV:Body>
</SOAP-ENV:Envelope>

 

method: echoFloatArray

 

This method accepts an array of floats and echoes it back to the client.

 

Input parameter name : inputFloatArray

Input parameter type: array of xsd:float

Output parameter name: return

Output parameter type: array of xsd:float

 

Request from client

POST /interop HTTP/1.0
Host: www.whitemesa.net
User-Agent: White Mesa SOAP Interop Client/1.0
Content-Type: text/xml; charset="utf-8"
Content-Length: 652
SOAPAction: "http://soapinterop.org/"

<?xml version="1.0" encoding="UTF-8"?>

<SOAP-ENV:Envelope SOAP-ENV:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/" xmlns:SOAP-ENC="http://schemas.xmlsoap.org/soap/encoding/" xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
<SOAP-ENV:Body>
<m:echoFloatArray xmlns:m="http://soapinterop.org/">
<inputFloatArray SOAP-ENC:arrayType="ns:float[2]" SOAP-ENC:offset="[0]" xmlns:ns="http://www.w3.org/2001/XMLSchema">
<item>0.00000555</item>
<item>12999.9</item>
</inputFloatArray>
</m:echoFloatArray>
</SOAP-ENV:Body>
</SOAP-ENV:Envelope>

Response from server

HTTP/1.0 200 OK
Date: Wed, 20 Jun 2001 02:45:47 GMT
Server: WhiteMesa SOAP Server/2.3
Content-Type: text/xml; charset="utf-8"
Content-Length: 648

<?xml version="1.0" encoding="UTF-8"?>

<SOAP-ENV:Envelope SOAP-ENV:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/" xmlns:SOAP-ENC="http://schemas.xmlsoap.org/soap/encoding/" xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
<SOAP-ENV:Body>
<m:echoFloatArrayResponse xmlns:m="http://soapinterop.org/">
<return SOAP-ENC:arrayType="ns:float[2]" SOAP-ENC:offset="[0]" xmlns:ns="http://www.w3.org/2001/XMLSchema">
<item>5.55E-06</item>
<item>12999.9</item>
</return>
</m:echoFloatArrayResponse>
</SOAP-ENV:Body>
</SOAP-ENV:Envelope>

 

method: echoStruct

 

This method accepts a single structure and echoes it back to the client. 

 

An example of this structure is:

 

<ExampleStruct>

    <varString>Hello</varString>

    <varInt>8</varInt>

     <varFloat>10.2</varFloat>

</ExampleStruct>

 

The structure is defined with the following schema:

 


<complexType name="SOAPStruct">

<all>

<element name="varString" type="xsd:string" />

<element name="varInt" type="xsd:int" />

<element name="varFloat" type="xsd:float" />

</all>

</complexType>

 

This type is defined within the namespace http://soapinterop.org/xsd

 

Input parameter name : inputStruct

Input parameter type: sb:SOAPStruct  where xmlns:sb="http://soapinterop.org/xsd"

Output parameter name: return

Output parameter type: sb:SOAPStruct  where xmlns:sb="http://soapinterop.org/xsd"

Request from client

POST /interop HTTP/1.0
Host: www.whitemesa.net
User-Agent: White Mesa SOAP Interop Client/1.0
Content-Type: text/xml; charset="utf-8"
Content-Length: 574
SOAPAction: "http://soapinterop.org/"

<?xml version="1.0" encoding="UTF-8"?>

<SOAP-ENV:Envelope SOAP-ENV:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/" xmlns:SOAP-ENC="http://schemas.xmlsoap.org/soap/encoding/" xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
<SOAP-ENV:Body>
<m:echoStruct xmlns:m="http://soapinterop.org/">
<inputStruct>
<varInt>42</varInt>
<varFloat>0.005</varFloat>
<varString>hello world</varString>
</inputStruct>
</m:echoStruct>
</SOAP-ENV:Body>
</SOAP-ENV:Envelope>

Response from server

HTTP/1.0 200 OK
Date: Wed, 20 Jun 2001 02:46:02 GMT
Server: WhiteMesa SOAP Server/2.3
Content-Type: text/xml; charset="utf-8"
Content-Length: 580

<?xml version="1.0" encoding="UTF-8"?>

<SOAP-ENV:Envelope SOAP-ENV:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/" xmlns:SOAP-ENC="http://schemas.xmlsoap.org/soap/encoding/" xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
<SOAP-ENV:Body>
<m:echoStructResponse xmlns:m="http://soapinterop.org/">
<return>
<varInt>42</varInt>
<varFloat>0.005</varFloat>
<varString>hello world</varString>
</return>
</m:echoStructResponse>
</SOAP-ENV:Body>
</SOAP-ENV:Envelope>

 

method: echoStructArray

 

This method accepts an array of  structures and echoes it back to the client. 

 

The structure used is the same defined in the description of the "echoStruct" method.

 

Input parameter name: inputStructArray

Input parameter type: array of sb:SOAPStruct  where xmlns:sb="http://soapinterop.org/xsd"

Output parameter name: return

Output parameter type: array of sb:SOAPStruct  where

xmlns:sb = "http://soapinterop.org/xsd"

 

Request from client

POST /interop HTTP/1.0
Host: www.whitemesa.net
User-Agent: White Mesa SOAP Interop Client/1.0
Content-Type: text/xml; charset="utf-8"
Content-Length: 804
SOAPAction: "http://soapinterop.org/"

<?xml version="1.0" encoding="UTF-8"?>

<SOAP-ENV:Envelope SOAP-ENV:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/" xmlns:SOAP-ENC="http://schemas.xmlsoap.org/soap/encoding/" xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
<SOAP-ENV:Body>
<m:echoStructArray xmlns:m="http://soapinterop.org/">
<inputStructArray SOAP-ENC:arrayType="ns:SOAPStruct[2]" SOAP-ENC:offset="[0]" xmlns:ns="http://soapinterop.org/xsd">
<item>
<varInt>42</varInt>
<varFloat>0.005</varFloat>
<varString>hello world</varString>
</item>
<item>
<varInt>42</varInt>
<varFloat>0.005</varFloat>
<varString>hello world</varString>
</item>
</inputStructArray>
</m:echoStructArray>
</SOAP-ENV:Body>
</SOAP-ENV:Envelope>

Response from server

HTTP/1.0 200 OK
Date: Wed, 20 Jun 2001 02:46:17 GMT
Server: WhiteMesa SOAP Server/2.3
Content-Type: text/xml; charset="utf-8"
Content-Length: 800

<?xml version="1.0" encoding="UTF-8"?>

<SOAP-ENV:Envelope SOAP-ENV:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/" xmlns:SOAP-ENC="http://schemas.xmlsoap.org/soap/encoding/" xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
<SOAP-ENV:Body>
<m:echoStructArrayResponse xmlns:m="http://soapinterop.org/">
<return SOAP-ENC:arrayType="ns:SOAPStruct[2]" SOAP-ENC:offset="[0]" xmlns:ns="http://soapinterop.org/xsd">
<item>
<varInt>42</varInt>
<varFloat>0.005</varFloat>
<varString>hello world</varString>
</item>
<item>
<varInt>42</varInt>
<varFloat>0.005</varFloat>
<varString>hello world</varString>
</item>
</return>
</m:echoStructArrayResponse>
</SOAP-ENV:Body>
</SOAP-ENV:Envelope>

 

method: echoVoid

 

This method exists to test the "void" return case.  It accepts no arguments, and returns no arguments.

 

Input parameter name: (none)

Input parameter type: (none)

Output parameter name: (none)

Output parameter type: (none)

 

Request from client

POST /interop HTTP/1.0
Host: www.whitemesa.net
User-Agent: White Mesa SOAP Interop Client/1.0
Content-Type: text/xml; charset="utf-8"
Content-Length: 458
SOAPAction: "http://soapinterop.org/"

<?xml version="1.0" encoding="UTF-8"?>

<SOAP-ENV:Envelope SOAP-ENV:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/" xmlns:SOAP-ENC="http://schemas.xmlsoap.org/soap/encoding/" xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
<SOAP-ENV:Body>
<m:echoVoid xmlns:m="http://soapinterop.org/"></m:echoVoid>
</SOAP-ENV:Body>
</SOAP-ENV:Envelope>

Response from server

HTTP/1.0 200 OK
Date: Wed, 20 Jun 2001 02:46:23 GMT
Server: WhiteMesa SOAP Server/2.3
Content-Type: text/xml; charset="utf-8"
Content-Length: 474

<?xml version="1.0" encoding="UTF-8"?>

<SOAP-ENV:Envelope SOAP-ENV:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/" xmlns:SOAP-ENC="http://schemas.xmlsoap.org/soap/encoding/" xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
<SOAP-ENV:Body>
<m:echoVoidResponse xmlns:m="http://soapinterop.org/"></m:echoVoidResponse>
</SOAP-ENV:Body>
</SOAP-ENV:Envelope>

 

method: echoBase64

 

This methods accepts a binary object and echoes it back to the client.

 

Input parameter name: inputBase64

Input parameter type: Binary type (eg., xsd:base64Binary)

Output parameter name: return

Output parameter type: Binary type

 

Request from client

POST /interop HTTP/1.0
Host: www.whitemesa.net
User-Agent: White Mesa SOAP Interop Client/1.0
Content-Type: text/xml; charset="utf-8"
Content-Length: 515
SOAPAction: "http://soapinterop.org/"

<?xml version="1.0" encoding="UTF-8"?>

<SOAP-ENV:Envelope SOAP-ENV:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/" xmlns:SOAP-ENC="http://schemas.xmlsoap.org/soap/encoding/" xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
<SOAP-ENV:Body>
<m:echoBase64 xmlns:m="http://soapinterop.org/">
<inputBase64>YUdWc2JHOGdkMjl5YkdRPQ==</inputBase64>
</m:echoBase64>
</SOAP-ENV:Body>
</SOAP-ENV:Envelope>

Response from server

HTTP/1.0 200 OK
Date: Wed, 20 Jun 2001 02:46:38 GMT
Server: WhiteMesa SOAP Server/2.3
Content-Type: text/xml; charset="utf-8"
Content-Length: 521

<?xml version="1.0" encoding="UTF-8"?>

<SOAP-ENV:Envelope SOAP-ENV:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/" xmlns:SOAP-ENC="http://schemas.xmlsoap.org/soap/encoding/" xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
<SOAP-ENV:Body>
<m:echoBase64Response xmlns:m="http://soapinterop.org/">
<return>YUdWc2JHOGdkMjl5YkdRPQ==</return>
</m:echoBase64Response>
</SOAP-ENV:Body>
</SOAP-ENV:Envelope>

 

method: echoHexBinary

 

This methods accepts a hex encoded object and echoes it back to the client.

 

Input parameter name: inputHexBinary

Input parameter type: xsd:hexBinary

Output parameter name: return

Output parameter type: xsd:hexBinary

 

Request from client

POST /interop/std HTTP/1.0
SOAPAction: "http://soapinterop.org/"
Content-Type: text/xml; charset="utf-8"
Content-Length: 532
User-Agent: Mozilla/4.0 (compatible; MSIE 5.5; Windows NT 5.0)
Host: www.whitemesa.net

<?xml version="1.0" encoding="UTF-8"?>

<SOAP-ENV:Envelope xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/" xmlns:SOAP-ENC="http://schemas.xmlsoap.org/soap/encoding/" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" SOAP-ENV:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/">
<SOAP-ENV:Body>
<m:echoHexBinary xmlns:m="http://soapinterop.org/">
<inputHexBinary>68656C6C6F20776F726C6421</inputHexBinary>
</m:echoHexBinary>
</SOAP-ENV:Body>
</SOAP-ENV:Envelope>

Response from server

HTTP/1.0 200 OK
Date: Wed, 05 Sep 2001 03:43:18 GMT
Server: WhiteMesa SOAP Server/2.5
Content-Type: text/xml; charset="utf-8"
Content-Length: 527

<?xml version="1.0" encoding="UTF-8"?>

<SOAP-ENV:Envelope SOAP-ENV:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/" xmlns:SOAP-ENC="http://schemas.xmlsoap.org/soap/encoding/" xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
<SOAP-ENV:Body>
<m:echoHexBinaryResponse xmlns:m="http://soapinterop.org/">
<return>68656C6C6F20776F726C6421</return>
</m:echoHexBinaryResponse>
</SOAP-ENV:Body>
</SOAP-ENV:Envelope>

 

method: echoDate

 

This method accepts a Date/Time and echoes it back to the client.

 

Input parameter name: (inputDate)

Input parameter type: Date/Time type (eg., xsd:dateTime)

Output parameter name: (return)

Output parameter type: Date/Time type

 

Request from client

POST /interop HTTP/1.0
Host: www.whitemesa.net
User-Agent: White Mesa SOAP Interop Client/1.0
Content-Type: text/xml; charset="utf-8"
Content-Length: 513
SOAPAction: "http://soapinterop.org/"

<?xml version="1.0" encoding="UTF-8"?>

<SOAP-ENV:Envelope xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/" xmlns:SOAP-ENC="http://schemas.xmlsoap.org/soap/encoding/" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" SOAP-ENV:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/">
<SOAP-ENV:Body>
<m:echoDate xmlns:m="http://soapinterop.org/">
<inputDate>1956-10-18T22:20:00-07:00</inputDate>
</m:echoDate>
</SOAP-ENV:Body>
</SOAP-ENV:Envelope>

Response from server

HTTP/1.0 200 OK
Date: Wed, 04 Jul 2001 16:20:25 GMT
Server: WhiteMesa SOAP Server/2.4
Content-Type: text/xml; charset="utf-8"
Content-Length: 513

<?xml version="1.0" encoding="UTF-8"?>


<SOAP-ENV:Envelope SOAP-ENV:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/" xmlns:SOAP-ENC="http://schemas.xmlsoap.org/soap/encoding/" xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
<SOAP-ENV:Body>
<m:echoDateResponse xmlns:m="http://soapinterop.org/">
<return>1956-10-18T15:20:00Z</return>
</m:echoDateResponse>
</SOAP-ENV:Body>
</SOAP-ENV:Envelope>

method: echoDecimal

 

This method accepts a decimal and echoes it back to the client.

 

Input parameter name: (inputDecimal)

Input parameter type: xsd:decimal

Output parameter name: (return)

Output parameter type: xsd:decimal

 

Request from client

POST /interop HTTP/1.0
Host: www.whitemesa.net
User-Agent: White Mesa SOAP Interop Client/1.0
Content-Type: text/xml; charset="utf-8"
Content-Length: 521
SOAPAction: "http://soapinterop.org/"

<?xml version="1.0" encoding="UTF-8"?>

<SOAP-ENV:Envelope xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/" xmlns:SOAP-ENC="http://schemas.xmlsoap.org/soap/encoding/" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" SOAP-ENV:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/">
<SOAP-ENV:Body>
<m:echoDecimal xmlns:m="http://soapinterop.org/">
<inputDecimal>123.45678901234567890</inputDecimal>
</m:echoDecimal>
</SOAP-ENV:Body>
</SOAP-ENV:Envelope>

Response from server

HTTP/1.0 200 OK
Date: Wed, 04 Jul 2001 16:21:19 GMT
Server: WhiteMesa SOAP Server/2.4
Content-Type: text/xml; charset="utf-8"
Content-Length: 519

<?xml version="1.0" encoding="UTF-8"?>

<SOAP-ENV:Envelope SOAP-ENV:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/" xmlns:SOAP-ENC="http://schemas.xmlsoap.org/soap/encoding/" xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
<SOAP-ENV:Body>
<m:echoDecimalResponse xmlns:m="http://soapinterop.org/">
<return>123.4567890123456789</return>
</m:echoDecimalResponse>
</SOAP-ENV:Body>
</SOAP-ENV:Envelope>

method: echoBoolean

 

This method accepts a boolean and echoes it back to the client.

 

Input parameter name: (inputBoolean)

Input parameter type: xsd:boolean

Output parameter name: (return)

Output parameter type: xsd:boolean

 

Request from client

POST /interop HTTP/1.0
Host: www.whitemesa.net
User-Agent: White Mesa SOAP Interop Client/1.0
Content-Type: text/xml; charset="utf-8"
Content-Length: 501
SOAPAction: "http://soapinterop.org/"

<?xml version="1.0" encoding="UTF-8"?>

<SOAP-ENV:Envelope xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/" xmlns:SOAP-ENC="http://schemas.xmlsoap.org/soap/encoding/" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" SOAP-ENV:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/">
<SOAP-ENV:Body>
<m:echoBoolean xmlns:m="http://soapinterop.org/">
<inputBoolean>1</inputBoolean>
</m:echoBoolean>
</SOAP-ENV:Body>
</SOAP-ENV:Envelope>

Response from server

HTTP/1.0 200 OK
Date: Wed, 04 Jul 2001 16:21:39 GMT
Server: WhiteMesa SOAP Server/2.4
Content-Type: text/xml; charset="utf-8"
Content-Length: 500

<?xml version="1.0" encoding="UTF-8"?>

<SOAP-ENV:Envelope SOAP-ENV:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/" xmlns:SOAP-ENC="http://schemas.xmlsoap.org/soap/encoding/" xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
<SOAP-ENV:Body>
<m:echoBooleanResponse xmlns:m="http://soapinterop.org/">
<return>1</return>
</m:echoBooleanResponse>
</SOAP-ENV:Body>
</SOAP-ENV:Envelope>

Questions, comments to: cunnings@whitemesa.com

Changelog:
2001-09-04 Added "echoHexBinary" method. cunnings@whitemesa.com