W3C home > Mailing lists > Public > public-ws-desc-eds@w3.org > May 2007

2002/ws/desc/test-suite/documents/good/SAWSDL-5G 05-simpletype-annotation-with-attribute.wsdl,NONE,1.1 05-simpletype-annotation-with-attribute.filename,NONE,1.1 TestMetadata.xml,1.1,1.2

From: Jonathan Marsh via cvs-syncmail <cvsmail@w3.org>
Date: Sun, 27 May 2007 15:00:16 +0000
To: public-ws-desc-eds@w3.org
Message-Id: <E1HsKEC-00052j-Fo@lionel-hutz.w3.org>

Update of /sources/public/2002/ws/desc/test-suite/documents/good/SAWSDL-5G
In directory hutz:/tmp/cvs-serv18823/test-suite/documents/good/SAWSDL-5G

Modified Files:
	TestMetadata.xml 
Added Files:
	05-simpletype-annotation-with-attribute.wsdl 
	05-simpletype-annotation-with-attribute.filename 
Log Message:
Updated SAWSDL testcases to match latest versions.
Fixed QName reference bug in swasdl:elementDeclarationExtension.

--- NEW FILE: 05-simpletype-annotation-with-attribute.filename ---
<filename>SAWSDL-5G/05-simpletype-annotation-with-attribute.wsdl</filename>
Index: TestMetadata.xml
===================================================================
RCS file: /sources/public/2002/ws/desc/test-suite/documents/good/SAWSDL-5G/TestMetadata.xml,v
retrieving revision 1.1
retrieving revision 1.2
diff -C 2 -d -r1.1 -r1.2
*** TestMetadata.xml	9 Feb 2007 04:13:20 -0000	1.1
--- TestMetadata.xml	27 May 2007 15:00:13 -0000	1.2
***************
*** 12,15 ****
--- 12,16 ----
    <Inputs>
      <Input role="root">05-simpletype-annotation.wsdl</Input>
+     <Input>05-simpletype-annotation-with-attribute.wsdl</Input>
      <Input role="required-extension">http://www.w3.org/2007/01/sawsdl#</Input>
    </Inputs>

--- NEW FILE: 05-simpletype-annotation-with-attribute.wsdl ---
<?xml version="1.0" encoding="UTF-8"?>
<wsdl:description
  targetNamespace="http://www.w3.org/2002/ws/sawsdl/spec/wsdl/order#"
  xmlns="http://www.w3.org/2002/ws/sawsdl/spec/wsdl/order#"
  xmlns:wsdl="http://www.w3.org/ns/wsdl"
  xmlns:xs="http://www.w3.org/2001/XMLSchema"
  xmlns:sawsdl="http://www.w3.org/2007/01/sawsdl#">

  <wsdl:types>
    <xs:schema targetNamespace="http://www.w3.org/2002/ws/sawsdl/spec/wsdl/order#" elementFormDefault="qualified">
      <xs:element name="OrderRequest">
        <xs:complexType>
          <xs:sequence>
            <xs:element name="customerNo" type="xs:integer" />
            <xs:element name="orderItem" type="item" minOccurs="1" maxOccurs="unbounded" />
          </xs:sequence>
        </xs:complexType>
      </xs:element>
      <xs:complexType name="item">
        <xs:all>
          <xs:element name="UPC" type="xs:string" />
        </xs:all>
        <xs:attribute name="quantity" type="xs:integer" />
      </xs:complexType>

      <xs:element name="OrderResponse" type="confirmation" />
      <xs:simpleType name="confirmation"
          sawsdl:modelReference="http://www.w3.org/2002/ws/sawsdl/spec/ontology/purchaseorder#OrderConfirmation">
        <xs:restriction base="xs:string">
          <xs:enumeration value="Confirmed" />
          <xs:enumeration value="Pending" />
          <xs:enumeration value="Rejected" />
        </xs:restriction>
      </xs:simpleType>

      <xs:attribute name="TestAttribute" type="confirmation"/>
      <!-- used for testing of propagation of modelReference -->
    </xs:schema>
  </wsdl:types>

  <wsdl:interface name="Order">
    <wsdl:operation name="order" pattern="http://www.w3.org/ns/wsdl/in-out">
      <wsdl:input element="OrderRequest" />
      <wsdl:output element="OrderResponse" />
    </wsdl:operation>
  </wsdl:interface>
</wsdl:description>
Received on Sunday, 27 May 2007 15:00:22 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Sunday, 27 May 2007 15:00:30 GMT