W3C home > Mailing lists > Public > xml-dist-app@w3.org > November 2002

Re: Proposed SOAP test for implementation features 74/75

From: Jacek Kopecky <jacek@systinet.com>
Date: 26 Nov 2002 16:39:39 +0100
To: Don Mullen <donmullen@tibco.com>
Cc: John Koropchak <johnko@microsoft.com>, Paul Kulchenko <paulclinger@yahoo.com>, xml-dist-app@w3.org
Message-Id: <1038325179.368.72.camel@krava>

+1
Jacek

On Tue, 2002-11-26 at 15:51, Don Mullen wrote:
> 
>  
> In response to an action item regarding providing a test case for
> implementation feature 74 and 75 (see table 2 in [1]), here is a proposed
> test:
> 
> Feature 74 : Implementation supports assigning type names to graph nodes 
> Feature 75 : Implementation supports untyped nodes 
> 
> Description
> 
> Node A sends a message to Node C in echoSimpleTypesAsStructOfSchemaTypes
> containing datatypes (integer,  floating point, string, and untyped). Node C
> responds with echoSimpleTypesAsStructOfSchemaTypesResponse, giving the
> schema type of each node listed in xsi:type for the node, or "xsd:anyType"
> if no xsi:type as specified. 
> 
> Node A sends:
> -------------
> 
> <?xml version="1.0"?>
> <env:Envelope xmlns:env="http://www.w3.org/2002/06/soap-envelope"
>               xmlns:xsd="http://www.w3.org/2001/XMLSchema"
>               xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
>   <env:Body>
>     <test:echoSimpleTypesAsStructOfSchemaTypes
> xmlns:test="http://example.org/ts-tests"
>           env:encodingStyle="http://www.w3.org/2002/06/soap-encoding">
>       <input1 xsi:type="xsd:int">42</input1>
>       <input2 xsi:type="xsd:float">0.005</input2>
>       <input3 xsi:type="xsd:string">hello world</input3>
>       <input4>Untyped information</input4>
>     </test:echoSimpleTypesAsStructOfSchemaTypes>
>   </env:Body>
> </env:Envelope>
> 
> Node C responds:
> -------------
> <?xml version="1.0"?>
> <env:Envelope xmlns:env="http://www.w3.org/2002/06/soap-envelope"
>               xmlns:xsd="http://www.w3.org/2001/XMLSchema"
>               xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
>   <env:Body>
>     <test:echoSimpleTypesAsStructOfSchemaTypesResponse
> xmlns:test="http://example.org/ts-tests"
>           xmlns:rpc="http://www.w3.org/2002/06/soap-rpc"
>           env:encodingStyle="http://www.w3.org/2002/06/soap-encoding">
>       <rpc:result>return<rpc:result>
>       <return xsi:type="ns1:SOAPStructTypes"
>               xmlns:ns1="http://example.org/ts-tests/xsd">
>         <type1 xsi:type="xsd:QName">xsd:int</type1>
>         <type2 xsi:type="xsd:QName">xsd:float</type2>
>         <type3 xsi:type="xsd:QName">xsd:string</type3>
>         <type4 xsi:type="xsd:QName">xsd:anyType</type4>
>       </return>
>     </test:echoSimpleTypesAsStructOfSchemaTypesResponse>
>   </env:Body>
> </env:Envelope>
> 
> Comments?
> 
> Don Mullen
> 
> [1] http://www.w3.org/2000/xp/Group/2/03/soap1.2implementation.html
Received on Tuesday, 26 November 2002 10:39:45 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Monday, 7 December 2009 10:59:11 GMT