[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]
Subject: Changes to Retailer.wsdl
The following changes were made to the attached Retailer.wsdl file:
1) Removed CustomerDetail from the submitOrderRequest message in the
wsdl.
<wsdl:message name="submitOrderRequest">
<wsdl:part name="CustomerDetails" type="order:CustomerDetailsType"/>
</wsdl:message>
is now
<wsdl:message name="getCatalogRequest"/>
2) Added a new operation: removeItemFromCart. To the RetailerPortType.
This will make it easy to remove items from the shopping cart present in
the context.
Regards,
Simeon
<?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: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:message name="removeItemFromCartRequest">
<wsdl:part name="ItemRemove" type="order:PartsOrderItem"/>
</wsdl:message>
<wsdl:message name="removeItemFromCartResponse"/>
<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:operation name="removeItemFromCart">
<wsdl:input message="tns:removeItemFromCartRequest" name="removeItemFromCartRequest"/>
<wsdl:output message="tns:removeItemFromCartResponse" name="removeItemFromCartResponse"/>
</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:operation name="removeItemFromCart">
<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:service name="RetailerService">
<port name="RetailerServicePort" binding="tns:RetailerSoapBinding">
<soap:address location="http://oracle.com"/>
</port>
</wsdl:service>
</wsdl:definitions>
[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]