- From: Don Mullen <donmullen@tibco.com>
- Date: Tue, 26 Nov 2002 09:51:26 -0500
- To: "'Henrik Frystyk Nielsen'" <henrikn@microsoft.com>, David Fallside <fallside@us.ibm.com>, John Koropchak <johnko@microsoft.com>, Paul Kulchenko <paulclinger@yahoo.com>
- Cc: xml-dist-app@w3.org
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 09:54:37 UTC