2002/ws/desc/test-suite/documents/good/SAWSDL-13G 13-mapping-propagation.wsdl,NONE,1.1 TestMetadata.xml,NONE,1.1 13-multiple-mapping-propagation.filename,NONE,1.1 13-mapping-propagation.filename,NONE,1.1 13-multiple-mapping-propagation.wsdl,NONE,1.1

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

Added Files:
	13-mapping-propagation.wsdl TestMetadata.xml 
	13-multiple-mapping-propagation.filename 
	13-mapping-propagation.filename 
	13-multiple-mapping-propagation.wsdl 
Log Message:
Added SAWSDL testcases.

--- NEW FILE: 13-mapping-propagation.filename ---
<filename>SAWSDL-13G/12-mapping-propagation.wsdl</filename>
--- NEW FILE: TestMetadata.xml ---
<?xml version="1.0"?>
<TestMetadata xmlns="http://www.w3.org/2006/02/wsdl/TestMetadata">
  <Identifier>
    http://dev.w3.org/cvsweb/2002/ws/desc/test-suite/documents/good/SAWSDL-13G
  </Identifier>
  <Title>Good Document SAWSDL-13G</Title>
  <Purpose>SAWSDL liftingSchemaMapping and loweringSchemaMapping propagation from type definition to element declaration using that type, plus overriding.</Purpose>
  <Description/>
  <Status>accepted</Status>
  <SpecRef>http://www.w3.org/2002/ws/sawsdl/spec/SAWSDL.html#annotateXSDSchemaMapping</SpecRef>
  <Preconditions>none</Preconditions>
  <Inputs>
    <Input role="root">13-mapping-propagation.wsdl</Input>
    <Input>13-multiple-mapping-propagation.wsdl</Input>
    <Input role="required-extension">http://www.w3.org/2007/01/sawsdl#</Input>
  </Inputs>
  <ExpectedResults>
    <Successful>true</Successful>
  </ExpectedResults>
  <Version>1.0</Version>
  <Contributor>
    <Name>Jacek Kopecky</Name>
    <Affiliation>Chair, SAWSDL WG</Affiliation>
    <EMail>jacek.kopecky@deri.org</EMail>
  </Contributor>
  <Rights>http://www.w3.org/Consortium/Legal/2002/copyright-documents-20021231</Rights>
  <Grouping>/documents/good</Grouping>
  <SeeAlso>
    <Reference>http://www.w3.org/TR/wsdl20</Reference>
    <Reference>http://www.w3.org/2002/ws/sawsdl/CR/testsuite</Reference>
  </SeeAlso>
</TestMetadata>
--- NEW FILE: 13-multiple-mapping-propagation.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/2006/01/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" type="OrderRequestType"
          sawsdl:loweringSchemaMapping="http://example.org/mapping2 http://3.example/"/>
      <xs:complexType name="OrderRequestType"
          sawsdl:loweringSchemaMapping="http://www.w3.org/2002/ws/sawsdl/spec/examples/mapping/Ont2OrderRequest.lowering">
        <xs:sequence>
          <xs:element name="customerNo" type="xs:integer" />
          <xs:element name="orderItem" type="item" minOccurs="1" maxOccurs="unbounded" />
        </xs:sequence>
      </xs:complexType>
      <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"
          sawsdl:liftingSchemaMapping="http://example.org/mapping2"/>
      <xs:simpleType name="confirmation"
          sawsdl:liftingSchemaMapping="http://www.w3.org/2002/ws/sawsdl/spec/mapping/Response2Ont.xslt http://3.example/">
        <xs:restriction base="xs:string">
          <xs:enumeration value="Confirmed" />
          <xs:enumeration value="Pending" />
          <xs:enumeration value="Rejected" />
        </xs:restriction>
      </xs:simpleType>
    </xs:schema>
  </wsdl:types>

  <wsdl:interface name="Order">
    <wsdl:operation name="order" pattern="http://www.w3.org/2006/01/wsdl/in-out">
      <wsdl:input element="OrderRequest" />
      <wsdl:output element="OrderResponse" />
    </wsdl:operation>
  </wsdl:interface>
</wsdl:description>

--- NEW FILE: 13-multiple-mapping-propagation.filename ---
<filename>SAWSDL-13G/12-multiple-mapping-propagation.wsdl</filename>
--- NEW FILE: 13-mapping-propagation.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/2006/01/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" type="OrderRequestType"
          sawsdl:loweringSchemaMapping=""/>
      <xs:complexType name="OrderRequestType"
          sawsdl:loweringSchemaMapping="http://www.w3.org/2002/ws/sawsdl/spec/examples/mapping/Ont2OrderRequest.lowering">
        <xs:sequence>
          <xs:element name="customerNo" type="xs:integer" />
          <xs:element name="orderItem" type="item" minOccurs="1" maxOccurs="unbounded" />
        </xs:sequence>
      </xs:complexType>
      <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"
          sawsdl:liftingSchemaMapping=""/>
      <xs:simpleType name="confirmation"
          sawsdl:liftingSchemaMapping="http://www.w3.org/2002/ws/sawsdl/spec/mapping/Response2Ont.xslt">
        <xs:restriction base="xs:string">
          <xs:enumeration value="Confirmed" />
          <xs:enumeration value="Pending" />
          <xs:enumeration value="Rejected" />
        </xs:restriction>
      </xs:simpleType>
    </xs:schema>
  </wsdl:types>

  <wsdl:interface name="Order">
    <wsdl:operation name="order" pattern="http://www.w3.org/2006/01/wsdl/in-out">
      <wsdl:input element="OrderRequest" />
      <wsdl:output element="OrderResponse" />
    </wsdl:operation>
  </wsdl:interface>
</wsdl:description>

Received on Friday, 9 February 2007 04:13:24 UTC