[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]
Subject: Latest Retailer wsdls and schemas
Hi all Attached the latest wsdl and schemas files of the demo application. Malik
<?xml version="1.0" encoding="utf-8"?> <!-- September 14, 2002 (c) Copyright 2002, The Web Services-Interoperability Organization (WS-I) Download or use of this file is governed by the Policies and Bylaws of WS-I. For more information, send email info@ws-i.org. --> <xsd:schema xmlns:xsd="http://www.w3.org/2001/XMLSchema" elementFormDefault="qualified" xmlns:tns="http://www.ws-i.org/SampleApplications/SupplyChainManagement/2002-08/RetailCatalog.xsd" targetNamespace="http://www.ws-i.org/SampleApplications/SupplyChainManagement/2002-08/RetailCatalog.xsd"> <xsd:annotation> <xsd:documentation xml:lang="en">Catalog schema for Retailer component of WS-I</xsd:documentation> </xsd:annotation> <xsd:element name="catalog" type="tns:CatalogType"/> <xsd:element name="comment" type="xsd:string"/> <xsd:complexType name="CatalogType"> <xsd:sequence> <xsd:element name="Item" type="tns:CatalogItem" minOccurs="1" maxOccurs="unbounded"/> </xsd:sequence> </xsd:complexType> <xsd:complexType name="CatalogItem"> <xsd:sequence> <xsd:element name="name" type="xsd:string" minOccurs="1" maxOccurs="1"/> <xsd:element name="description" type="xsd:string" minOccurs="1" maxOccurs="1"/> <xsd:element name="productNumber" type="tns:productNumber" minOccurs="1" maxOccurs="1"/> <xsd:element name="category" type="xsd:string" minOccurs="1" maxOccurs="1"/> <xsd:element name="brand" type="xsd:string" minOccurs="1" maxOccurs="1"/> <xsd:element name="price" type="xsd:decimal" minOccurs="1" maxOccurs="1"/> </xsd:sequence> </xsd:complexType> <xsd:simpleType name="productNumber"> <xsd:restriction base="xsd:integer"> <xsd:minInclusive value="1"/> <xsd:maxInclusive value="999999"/> </xsd:restriction> </xsd:simpleType> </xsd:schema>
<?xml version="1.0" encoding="utf-8" ?> <!-- September 14, 2002 (c) Copyright 2002, The Web Services-Interoperability Organization (WS-I) Download or use of this file is governed by the Policies and Bylaws of WS-I. For more information, send email info@ws-i.org. --> <wsdl:definitions xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/" xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:cat="http://www.ws-i.org/SampleApplications/SupplyChainManagement/2002-08/RetailCatalog.xsd" xmlns:order="http://www.ws-i.org/SampleApplications/SupplyChainManagement/2002-08/RetailOrder.xsd" xmlns:wsctx="http://www.webservicestransactions.org/schemas/wsctx/2003/03" xmlns:tns="http://www.ws-i.org/SampleApplications/SupplyChainManagement/2002-08/Retailer.wsdl" targetNamespace="http://www.ws-i.org/SampleApplications/SupplyChainManagement/2002-08/Retailer.wsdl" xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/" xmlns="http://schemas.xmlsoap.org/wsdl/" xmlns:wsi="http://ws-i.org/schemas/conformanceClaim/"> <wsdl:documentation> This WSDL document describes the Retailer service for the WS-I Basic Sample Application. This service is part of a supply chain management system. It is used to demonstrate a web service that is conformant with the Basic Profile and to show how different web service platforms can interoperate.</wsdl:documentation> <wsdl:types> <xs:schema> <xs:import namespace="http://www.ws-i.org/SampleApplications/SupplyChainManagement/2002-08/RetailCatalog.xsd" schemaLocation="RetailCatalog.xsd"/> <xs:import namespace="http://www.ws-i.org/SampleApplications/SupplyChainManagement/2002-08/RetailOrder.xsd" schemaLocation="RetailOrder.xsd"/> <xs:import namespace="http://www.webservicestransactions.org/schemas/wsctx/2003/03" schemaLocation="wsctx.xsd"/> </xs:schema> </wsdl:types> <wsdl:message name="ContextMessage"> <wsdl:part name="content" element="wsctx:context"/> </wsdl:message> <wsdl:message name="getCatalogRequest"/> <wsdl:message name="getCatalogResponse"> <wsdl:part name="return" type="cat:CatalogType"> <wsdl:documentation>the product catalog</wsdl:documentation> </wsdl:part> </wsdl:message> <wsdl:message name="submitOrderRequest"> <wsdl:part name="CustomerDetails" type="order:CustomerDetailsType"/> </wsdl:message> <wsdl:message name="submitOrderResponse"> <wsdl:part name="return" type="order:PartsOrderResponseType"> <wsdl:documentation>XML structure holding product/quantity ordered pairs, with optional failure message</wsdl:documentation> </wsdl:part> </wsdl:message> <wsdl:message name="addItemToCartRequest"> <wsdl:part name="ItemAdd" type="order:PartsOrderItem"/> </wsdl:message> <wsdl:message name="addItemToCartResponse"/> <wsdl:message name="BadOrderFault"> <wsdl:part name="Reason" element="order:BadOrderReason"/> </wsdl:message> <wsdl:message name="InvalidProductCodeFault"> <wsdl:part name="InvalidProductCode" element="order:InvalidProductCode"/> </wsdl:message> <wsdl:portType name="RetailerPortType"> <wsdl:operation name="getCatalog"> <wsdl:documentation>returns a product catalog</wsdl:documentation> <wsdl:input message="tns:getCatalogRequest" name="getCatalogRequest"/> <wsdl:output message="tns:getCatalogResponse" name="getCatalogResponse"/> </wsdl:operation> <wsdl:operation name="submitOrder"> <wsdl:documentation>Accept an order for quantities of multiple products</wsdl:documentation> <wsdl:input message="tns:submitOrderRequest" name="submitOrderRequest"/> <wsdl:output message="tns:submitOrderResponse" name="submitOrderResponse"/> <wsdl:fault name="BadOrder" message="tns:BadOrderFault"/> <wsdl:fault name="InvalidProductCode" message="tns:InvalidProductCodeFault"/> </wsdl:operation> <wsdl:operation name="addItemToCart"> <wsdl:input message="tns:addItemToCartRequest" name="additemToCartRequest"/> <wsdl:output message="tns:addItemToCartResponse" name="addItemToCartResponse"/> </wsdl:operation> </wsdl:portType> <wsdl:binding name="RetailerSoapBinding" type="tns:RetailerPortType"> <soap:binding style="rpc" transport="http://schemas.xmlsoap.org/soap/http"/> <wsdl:operation name="getCatalog"> <soap:operation soapAction="" style="rpc"/> <wsdl:input> <soap:body use="literal" namespace="http://www.ws-i.org/SampleApplications/SupplyChainManagement/2002-08/Retailer.wsdl"/> </wsdl:input> <wsdl:output> <soap:body use="literal" namespace="http://www.ws-i.org/SampleApplications/SupplyChainManagement/2002-08/Retailer.wsdl"/> </wsdl:output> </wsdl:operation> <wsdl:operation name="submitOrder"> <soap:operation soapAction="" style="rpc"/> <wsdl:input> <soap:body use="literal" namespace="http://www.ws-i.org/SampleApplications/SupplyChainManagement/2002-08/Retailer.wsdl" parts="PartsOrder CustomerDetails"/> <soap:header use="literal" part="content" message="tns:ContextMessage"/> </wsdl:input> <wsdl:output> <soap:body use="literal" namespace="http://www.ws-i.org/SampleApplications/SupplyChainManagement/2002-08/Retailer.wsdl"/> <soap:header use="literal" part="content" message="tns:ContextMessage"/> </wsdl:output> <wsdl:fault name="BadOrder"> <soap:fault name="BadOrder" use="literal"/> </wsdl:fault> <wsdl:fault name="InvalidProductCode"> <soap:fault name="InvalidProductCode" use="literal"/> </wsdl:fault> </wsdl:operation> <wsdl:operation name="addItemToCart"> <soap:operation soapAction="" style="rpc"/> <wsdl:input> <soap:body use="literal" namespace="http://www.ws-i.org/SampleApplications/SupplyChainManagement/2002-08/Retailer.wsdl"/> <soap:header use="literal" part="content" message="tns:ContextMessage"/> </wsdl:input> <wsdl:output> <soap:body use="literal" namespace="http://www.ws-i.org/SampleApplications/SupplyChainManagement/2002-08/Retailer.wsdl"/> <soap:header use="literal" part="content" message="tns:ContextMessage"/> </wsdl:output> </wsdl:operation> </wsdl:binding> </wsdl:definitions>
<?xml version="1.0" encoding="utf-8"?> <!-- November 14, 2002 (c) Copyright 2002, The Web Services-Interoperability Organization (WS-I) Download or use of this file is governed by the Policies and Bylaws of WS-I. For more information, send email info@ws-i.org. --> <xsd:schema xmlns:xsd="http://www.w3.org/2001/XMLSchema" elementFormDefault="qualified" xmlns:tns="http://www.ws-i.org/SampleApplications/SupplyChainManagement/2002-08/RetailOrder.xsd" targetNamespace="http://www.ws-i.org/SampleApplications/SupplyChainManagement/2002-08/RetailOrder.xsd"> <xsd:annotation> <xsd:documentation xml:lang="en">Definition of PartsOrder types for Retailer component of WS-I</xsd:documentation> </xsd:annotation> <xsd:complexType name="PartsOrderType"> <xsd:sequence> <xsd:element name="Item" type="tns:PartsOrderItem" maxOccurs="unbounded"/> </xsd:sequence> </xsd:complexType> <xsd:complexType name="PartsOrderItem"> <xsd:sequence> <xsd:element name="productNumber" type="tns:productNumber" minOccurs="1" maxOccurs="1"/> <xsd:element name="quantity" type="xsd:nonNegativeInteger" minOccurs="1" maxOccurs="1"/> <xsd:element name="price" type="xsd:decimal" minOccurs="1" maxOccurs="1"/> <xsd:element name="storeId" type="xsd:string" minOccurs="1" maxOccurs="1"/> </xsd:sequence> </xsd:complexType> <xsd:complexType name="PartsOrderResponseType"> <xsd:sequence> <xsd:element name="Item" type="tns:PartsOrderResponseItem" maxOccurs="unbounded"/> </xsd:sequence> </xsd:complexType> <xsd:complexType name="PartsOrderResponseItem"> <xsd:sequence> <xsd:element name="productNumber" type="tns:productNumber" minOccurs="1" maxOccurs="1"/> <xsd:element name="quantity" type="xsd:nonNegativeInteger" minOccurs="1" maxOccurs="1"/> <xsd:element name="price" type="xsd:decimal" minOccurs="1" maxOccurs="1"/> <xsd:element name="comment" type="xsd:string" minOccurs="0" maxOccurs="1"/> <xsd:element name="storeId" type="xsd:string" minOccurs="1" maxOccurs="1"/> </xsd:sequence> </xsd:complexType> <xsd:complexType name="CustomerDetailsType"> <xsd:sequence> <xsd:element name="custnbr" type="tns:CustomerReferenceType" minOccurs="1" maxOccurs="1"/> <xsd:element name="name" type="xsd:string" minOccurs="1" maxOccurs="1"/> <xsd:element name="street1" type="xsd:string" minOccurs="0" maxOccurs="1"/> <xsd:element name="street2" type="xsd:string" minOccurs="0" maxOccurs="1"/> <xsd:element name="city" type="xsd:string" minOccurs="0" maxOccurs="1"/> <xsd:element name="state" type="xsd:string" minOccurs="0" maxOccurs="1"/> <xsd:element name="zip" type="xsd:string" minOccurs="0" maxOccurs="1"/> <xsd:element name="country" type="xsd:string" minOccurs="0" maxOccurs="1"/> </xsd:sequence> </xsd:complexType> <xsd:simpleType name="productNumber"> <xsd:restriction base="xsd:integer"> <xsd:minInclusive value="1"/> <xsd:maxInclusive value="999999"/> </xsd:restriction> </xsd:simpleType> <xsd:simpleType name="CustomerReferenceType"> <xsd:restriction base="xsd:normalizedString"> <xsd:maxLength value="20"/> <xsd:pattern value="[A-D][0-9]{5}-[0-9A-Z]{7}-[a-z]{3}#*"/> </xsd:restriction> </xsd:simpleType> <xsd:element name="InvalidProductCode" type="tns:InvalidProductCodeType"/> <xsd:complexType name="InvalidProductCodeType"> <xsd:sequence> <xsd:element name="Reason"> <xsd:simpleType> <xsd:restriction base="xsd:NMTOKEN"> <xsd:enumeration value="InvalidProductCode"/> </xsd:restriction> </xsd:simpleType> </xsd:element> <xsd:element name="ProductNumber" type="tns:productNumber" /> </xsd:sequence> </xsd:complexType> <xsd:element name="BadOrderReason" type="xsd:string"/> <xsd:complexType name="shoppingCart"> <xsd:sequence> <xsd:element name="item" type="tns:PartsOrderItem" minOccurs="0" maxOccurs="unbounded"/> </xsd:sequence> </xsd:complexType> </xsd:schema>
[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]