You are viewing a plain text version of this content. The canonical link for it is here.
Posted to axis-cvs@ws.apache.org by ia...@apache.org on 2003/12/13 08:50:23 UTC
cvs commit: ws-axis/java/samples/ws-i/scm/source/wsdl/partial Manufacturer.wsdl LoggingFacility.wsdl Retailer.wsdl Warehouse.wsdl Configurator.wsdl Configuration.wsdl
ias 2003/12/12 23:50:23
Added: java/samples/ws-i/scm/source/wsdl RetailerImpl.wsdl
WarehouseImpl.wsdl LoggingFacilityImpl.wsdl
ManufacturerImpl.wsdl ConfiguratorImpl.wsdl
java/samples/ws-i/scm/source/wsdl/partial Manufacturer.wsdl
LoggingFacility.wsdl Retailer.wsdl Warehouse.wsdl
Configurator.wsdl Configuration.wsdl
Log:
initial check-in
Revision Changes Path
1.1 ws-axis/java/samples/ws-i/scm/source/wsdl/RetailerImpl.wsdl
Index: RetailerImpl.wsdl
===================================================================
<?xml version="1.0" encoding="utf-8"?>
<definitions
xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/"
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/">
<import
namespace="http://www.ws-i.org/SampleApplications/SupplyChainManagement/2002-08/Retailer.wsdl"
location="http://www.ws-i.org/SampleApplications/SupplyChainManagement/2002-08/Retailer.wsdl"/>
<types/>
<service name="RetailerService">
<port name="RetailerPort" binding="tns:RetailerSoapBinding">
<soap:address location="http://localhost:8080/axis/services/RetailerPort"/>
</port>
</service>
</definitions>
1.1 ws-axis/java/samples/ws-i/scm/source/wsdl/WarehouseImpl.wsdl
Index: WarehouseImpl.wsdl
===================================================================
<?xml version="1.0" encoding="utf-8"?>
<definitions
xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/"
xmlns:scm="http://www.ws-i.org/SampleApplications/SupplyChainManagement/2002-08/Warehouse.wsdl"
targetNamespace="http://www.ws-i.org/SampleApplications/SupplyChainManagement/2002-08/Warehouse.wsdl"
xmlns="http://schemas.xmlsoap.org/wsdl/">
<import
namespace="http://www.ws-i.org/SampleApplications/SupplyChainManagement/2002-08/Warehouse.wsdl"
location="http://www.ws-i.org/SampleApplications/SupplyChainManagement/2002-08/Warehouse.wsdl"/>
<types/>
<service name="WarehouseService">
<port name="WarehouseAPort" binding="scm:WarehouseSoapBinding">
<soap:address location="http://localhost:8080/axis/services/WarehouseAPort" />
</port>
<port name="WarehouseBPort" binding="scm:WarehouseSoapBinding">
<soap:address location="http://localhost:8080/axis/services/WarehouseBPort" />
</port>
<port name="WarehouseCPort" binding="scm:WarehouseSoapBinding">
<soap:address location="http://localhost:8080/axis/services/WarehouseCPort" />
</port>
</service>
</definitions>
1.1 ws-axis/java/samples/ws-i/scm/source/wsdl/LoggingFacilityImpl.wsdl
Index: LoggingFacilityImpl.wsdl
===================================================================
<?xml version="1.0" encoding="utf-8"?>
<definitions
xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/"
xmlns:tns="http://www.ws-i.org/SampleApplications/SupplyChainManagement/2002-08/LoggingFacility.wsdl"
targetNamespace="http://www.ws-i.org/SampleApplications/SupplyChainManagement/2002-08/LoggingFacility.wsdl"
xmlns="http://schemas.xmlsoap.org/wsdl/">
<import
namespace="http://www.ws-i.org/SampleApplications/SupplyChainManagement/2002-08/LoggingFacility.wsdl"
location="http://www.ws-i.org/SampleApplications/SupplyChainManagement/2002-08/LoggingFacility.wsdl"/>
<types/>
<service name="LoggingFacilityService">
<port name="LoggingFacilityPort" binding="tns:LoggingFacilitySoapBinding">
<soap:address location="http://localhost:8080/axis/services/LoggingFacilityPort" />
</port>
</service>
</definitions>
1.1 ws-axis/java/samples/ws-i/scm/source/wsdl/ManufacturerImpl.wsdl
Index: ManufacturerImpl.wsdl
===================================================================
<?xml version="1.0" encoding="utf-8"?>
<definitions
xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/"
targetNamespace="http://www.ws-i.org/SampleApplications/SupplyChainManagement/2002-10/Manufacturer.wsdl"
xmlns:tns="http://www.ws-i.org/SampleApplications/SupplyChainManagement/2002-10/Manufacturer.wsdl"
xmlns="http://schemas.xmlsoap.org/wsdl/">
<import
namespace="http://www.ws-i.org/SampleApplications/SupplyChainManagement/2002-10/Manufacturer.wsdl"
location="http://www.ws-i.org/SampleApplications/SupplyChainManagement/2002-10/Manufacturer.wsdl"/>
<types/>
<service name="ManufacturerService">
<port name="ManufacturerAPort" binding="tns:ManufacturerSoapBinding">
<soap:address location="http://localhost:8080/axis/services/ManufacturerAPort" />
</port>
<port name="ManufacturerBPort" binding="tns:ManufacturerSoapBinding">
<soap:address location="http://localhost:8080/axis/services/ManufacturerBPort" />
</port>
<port name="ManufacturerCPort" binding="tns:ManufacturerSoapBinding">
<soap:address location="http://localhost:8080/axis/services/ManufacturerCPort" />
</port>
<port name="WarehouseCallbackPort" binding="tns:WarehouseCallbackSoapBinding">
<soap:address location="http://localhost:8080/axis/services/WarehouseCallbackPort"/>
</port>
</service>
</definitions>
1.1 ws-axis/java/samples/ws-i/scm/source/wsdl/ConfiguratorImpl.wsdl
Index: ConfiguratorImpl.wsdl
===================================================================
<?xml version="1.0" encoding="utf-8"?>
<definitions
xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/"
xmlns:tns="http://www.ws-i.org/SampleApplications/SupplyChainManagement/2002-08/Configurator.wsdl"
targetNamespace="http://www.ws-i.org/SampleApplications/SupplyChainManagement/2002-08/Configurator.wsdl"
xmlns="http://schemas.xmlsoap.org/wsdl/">
<import
namespace="http://www.ws-i.org/SampleApplications/SupplyChainManagement/2002-08/Configurator.wsdl"
location="http://www.ws-i.org/SampleApplications/SupplyChainManagement/2002-08/Configurator.wsdl"/>
<types/>
<service name="ConfiguratorService">
<port name="ConfiguratorPort" binding="tns:ConfiguratorBinding">
<soap:address location="http://localhost:8080/axis/services/ConfiguratorPort" />
</port>
</service>
</definitions>
1.1 ws-axis/java/samples/ws-i/scm/source/wsdl/partial/Manufacturer.wsdl
Index: Manufacturer.wsdl
===================================================================
<?xml version="1.0" encoding="UTF-8"?>
<!--
October 15, 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:wsdl="http://schemas.xmlsoap.org/wsdl/" xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:cb="http://www.ws-i.org/SampleApplications/SupplyChainManagement/2002-10/Manufacturer/CallBack" xmlns:ct="http://www.ws-i.org/SampleApplications/SupplyChainManagement/2002-08/Configuration.xsd" xmlns:cfg="http://www.ws-i.org/SampleApplications/SupplyChainManagement/2002-08/Configuration.wsdl" xmlns:po="http://www.ws-i.org/SampleApplications/SupplyChainManagement/2002-10/ManufacturerPO.xsd" xmlns:sn="http://www.ws-i.org/SampleApplications/SupplyChainManagement/2002-10/ManufacturerSN.xsd" xmlns:tns="http://www.ws-i.org/SampleApplications/SupplyChainManagement/2002-10/Manufacturer.wsdl" targetNamespace="http://www.ws-i.org/SampleApplications/SupplyChainManagement/2002-10/Manufacturer.wsdl" xmlns:wsi="http://ws-i.org/schemas/conformanceClaim/">
<wsdl:documentation>
This WSDL document describes the Manufacturer 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:import namespace="http://www.ws-i.org/SampleApplications/SupplyChainManagement/2002-08/Configuration.wsdl" location="../2002-08/Configuration.wsdl"/>
<wsdl:types>
<xs:schema elementFormDefault="qualified" attributeFormDefault="unqualified">
<xs:import namespace="http://www.ws-i.org/SampleApplications/SupplyChainManagement/2002-08/Configuration.xsd" schemaLocation="../2002-08/Configuration.xsd"/>
<xs:import namespace="http://www.ws-i.org/SampleApplications/SupplyChainManagement/2002-10/ManufacturerPO.xsd" schemaLocation="ManufacturerPO.xsd"/>
<xs:import namespace="http://www.ws-i.org/SampleApplications/SupplyChainManagement/2002-10/ManufacturerSN.xsd" schemaLocation="ManufacturerSN.xsd"/>
</xs:schema>
<xs:schema targetNamespace="http://www.ws-i.org/SampleApplications/SupplyChainManagement/2002-10/Manufacturer/CallBack" elementFormDefault="qualified" attributeFormDefault="unqualified">
<xs:element name="StartHeader" type="cb:StartHeaderType"/>
<xs:element name="CallbackHeader" type="cb:CallbackHeaderType"/>
<xs:element name="CallbackFault" type="cb:CallbackFaultType"/>
<xs:complexType name="StartHeaderType">
<xs:sequence>
<xs:element minOccurs="1" maxOccurs="1" name="conversationID" type="xs:string"/>
<xs:element minOccurs="1" maxOccurs="1" name="callbackLocation" type="xs:string"/>
</xs:sequence>
</xs:complexType>
<xs:complexType name="CallbackHeaderType">
<xs:sequence>
<xs:element minOccurs="1" maxOccurs="1" name="conversationID" type="xs:string"/>
</xs:sequence>
</xs:complexType>
<xs:complexType name="CallbackFaultType">
<xs:sequence>
<xs:element name="Reason">
<xs:simpleType>
<xs:restriction base="xs:NMTOKEN">
<xs:enumeration value="notFound"/>
</xs:restriction>
</xs:simpleType>
</xs:element>
<xs:element minOccurs="1" maxOccurs="1" name="conversationID" type="xs:string"/>
</xs:sequence>
</xs:complexType>
</xs:schema>
</wsdl:types>
<wsdl:message name="POSubmit">
<wsdl:documentation>
A purchase order.
</wsdl:documentation>
<wsdl:part name="PurchaseOrder" element="po:PurchaseOrder"/>
<wsdl:part name="ConfigurationHeader" element="ct:Configuration"/>
<wsdl:part name="StartHeader" element="cb:StartHeader"/>
</wsdl:message>
<wsdl:message name="ackPO">
<wsdl:documentation>
A response of true indicates the purchase order has been accepted for processing.
</wsdl:documentation>
<wsdl:part name="Response" element="po:ackPO"/>
</wsdl:message>
<wsdl:message name="submitPOFault">
<wsdl:documentation>
A reason code for the rejection of a given PO that can be matched through the conversationID
in the callback section of the SOAP header.
</wsdl:documentation>
<wsdl:part name="POFault" element="po:submitPOFault"/>
</wsdl:message>
<wsdl:message name="SNSubmit">
<wsdl:documentation>
A shipment notification.
</wsdl:documentation>
<wsdl:part name="ShipmentNotice" element="sn:ShipmentNotice"/>
<wsdl:part name="ConfigurationHeader" element="ct:Configuration"/>
<wsdl:part name="CallbackHeader" element="cb:CallbackHeader"/>
</wsdl:message>
<wsdl:message name="processPOFault">
<wsdl:documentation>
Alternative to SNSubmit, indicates a reason for the rejection of a given PO after
having been acknowledged by the Manufacturer. Contains callback information with
which to find the original replenishment request.
</wsdl:documentation>
<wsdl:part name="processPOFault" element="po:submitPOFault"/>
<wsdl:part name="ConfigurationHeader" element="ct:Configuration"/>
<wsdl:part name="CallbackHeader" element="cb:CallbackHeader"/>
</wsdl:message>
<wsdl:message name="ackSN">
<wsdl:documentation>
A response of true indicates the shipment notice has been accepted for processing.
</wsdl:documentation>
<wsdl:part name="Response" element="sn:ackSN"/>
</wsdl:message>
<wsdl:message name="Callback">
<wsdl:documentation>
To be used in SOAP headers for relating two req/resp message pairs sent asynchronously.
The CallbackFault indicates a reason for the rejection of the second req/resp pair.
</wsdl:documentation>
<wsdl:part name="CallbackFault" element="cb:CallbackFault"/>
</wsdl:message>
<wsdl:portType name="ManufacturerPortType">
<wsdl:operation name="submitPO">
<wsdl:documentation>Submit a purchase order for specified items to the manufacturer.</wsdl:documentation>
<wsdl:input message="tns:POSubmit"/>
<wsdl:output message="tns:ackPO"/>
<wsdl:fault name="POFault" message="tns:submitPOFault"/>
<wsdl:fault name="ConfigurationFault" message="cfg:ConfigurationFaultMessage"/>
</wsdl:operation>
</wsdl:portType>
<wsdl:portType name="WarehouseCallbackPortType">
<wsdl:operation name="submitSN">
<wsdl:documentation>Submit a shipment notice for specified items to the retailer.</wsdl:documentation>
<wsdl:input message="tns:SNSubmit"/>
<wsdl:output message="tns:ackSN"/>
<wsdl:fault name="ConfigurationFault" message="cfg:ConfigurationFaultMessage"/>
<wsdl:fault name="CallbackFault" message="tns:Callback"/>
</wsdl:operation>
<wsdl:operation name="errorPO">
<wsdl:documentation>Notify warehouse there was an error in processing a submitted PO.</wsdl:documentation>
<wsdl:input message="tns:processPOFault"/>
<wsdl:output message="tns:ackPO"/>
<wsdl:fault name="ConfigurationFault" message="cfg:ConfigurationFaultMessage"/>
<wsdl:fault name="CallbackFault" message="tns:Callback"/>
</wsdl:operation>
</wsdl:portType>
<wsdl:binding name="ManufacturerSoapBinding" type="tns:ManufacturerPortType">
<wsdl:documentation>
<wsi:Claim conformsTo="http://ws-i.org/profiles/basic1.0/"/>
</wsdl:documentation>
<soap:binding style="document" transport="http://schemas.xmlsoap.org/soap/http"/>
<wsdl:operation name="submitPO">
<soap:operation/>
<wsdl:input>
<soap:body parts="PurchaseOrder" use="literal"/>
<soap:header message="tns:POSubmit" part="ConfigurationHeader" use="literal">
<soap:headerfault message="cfg:ConfigurationFaultMessage" part="ConfigurationFault" use="literal"/>
</soap:header>
<soap:header message="tns:POSubmit" part="StartHeader" use="literal"/>
</wsdl:input>
<wsdl:output>
<soap:body use="literal"/>
</wsdl:output>
<wsdl:fault name="POFault">
<soap:fault name="POFault" use="literal"/>
</wsdl:fault>
</wsdl:operation>
</wsdl:binding>
<wsdl:binding name="WarehouseCallbackSoapBinding" type="tns:WarehouseCallbackPortType">
<soap:binding style="document" transport="http://schemas.xmlsoap.org/soap/http"/>
<wsdl:operation name="submitSN">
<soap:operation/>
<wsdl:input>
<soap:body parts="ShipmentNotice" use="literal"/>
<soap:header message="tns:SNSubmit" part="ConfigurationHeader" use="literal">
<soap:headerfault message="cfg:ConfigurationFaultMessage" part="ConfigurationFault" use="literal"/>
</soap:header>
<soap:header message="tns:SNSubmit" part="CallbackHeader" use="literal">
<soap:headerfault message="tns:Callback" part="CallbackFault" use="literal"/>
</soap:header>
</wsdl:input>
<wsdl:output>
<soap:body parts="Response" use="literal"/>
</wsdl:output>
</wsdl:operation>
<wsdl:operation name="errorPO">
<soap:operation/>
<wsdl:input>
<soap:body parts="processPOFault" use="literal"/>
<soap:header message="tns:processPOFault" part="CallbackHeader" use="literal">
<soap:headerfault message="tns:Callback" part="CallbackFault" use="literal"/>
</soap:header>
</wsdl:input>
<wsdl:output>
<soap:body parts="Response" use="literal"/>
</wsdl:output>
</wsdl:operation>
</wsdl:binding>
</wsdl:definitions>
<!-- The following is an example of a SOAP request message compliant with the above WSDL:
<?xml version="1.0" encoding="UTF-8"?>
<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/"
xmlns:xsd="http://www.w3.org/2001/XMLSchema"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
<soapenv:Header>
<ns1:Configuration xmlns:ns1="http://www.ws-i.org/SampleApplications/SupplyChainManagement/2002-08/Configuration.xsd">
<ns1:UserId>Some user ID</ns1:UserId>
<ns1:ServiceUrl Role="LoggingFacility">http://localhost:999/WS-I_Sample/services/LoggingFacility</ns1:ServiceUrl>
<ns1:ServiceUrl Role="Retailer">http://localhost:999/WS-I_Sample/services/Retailer</ns1:ServiceUrl>
<ns1:ServiceUrl Role="WarehouseA">http://localhost:999/WS-I_Sample/services/WarehouseA</ns1:ServiceUrl>
<ns1:ServiceUrl Role="WarehouseB">http://localhost:999/WS-I_Sample/services/WarehouseB</ns1:ServiceUrl>
<ns1:ServiceUrl Role="WarehouseC">http://localhost:999/WS-I_Sample/services/WarehouseC</ns1:ServiceUrl>
<ns1:ServiceUrl Role="ManufacturerA">http://localhost:999/WS-I_Sample/services/ManufacturerA</ns1:ServiceUrl>
<ns1:ServiceUrl Role="ManufacturerB">http://localhost:999/WS-I_Sample/services/ManufacturerB</ns1:ServiceUrl>
<ns1:ServiceUrl Role="ManufacturerC">http://localhost:999/WS-I_Sample/services/ManufacturerC</ns1:ServiceUrl>
</ns1:Configuration>
<ns2:StartHeader xmlns:ns2="http://www.ws-i.org/SampleApplications/SupplyChainManagement/2002-10/Manufacturer/CallBack">
<ns2:conversationID>1</ns2:conversationID>
<ns2:callbackLocation>http://localhost:999/WS-I_Sample/services/WarehouseCallBack</ns2:callbackLocation>
</ns2:StartHeader>
</soapenv:Header>
<soapenv:Body>
<PurchaseOrder xmlns="http://www.ws-i.org/SampleApplications/SupplyChainManagement/2002-10/ManufacturerPO.xsd">
<orderNum>1</orderNum>
<customerRef>ABCD999999999EFG</customerRef>
<items>
<Item>
<ID>605002</ID>
<qty>18</qty>
<price>100.0</price>
</Item>
</items>
<total>0.0</total>
</PurchaseOrder>
</soapenv:Body>
</soapenv:Envelope>
and the reply from the Manufacturer:
<?xml version="1.0" encoding="UTF-8"?>
<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/"
xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
<soapenv:Body>
<ackPO xmlns="http://www.ws-i.org/SampleApplications/SupplyChainManagement/2002-10/ManufacturerPO.xsd">true</ackPO>
</soapenv:Body>
</soapenv:Envelope>
and the callback request:
<?xml version="1.0" encoding="UTF-8"?>
<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/"
xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
<soapenv:Header>
<ns1:CallbackHeader xmlns:ns1="http://www.ws-i.org/SampleApplications/SupplyChainManagement/2002-10/Manufacturer/CallBack">
<ns1:conversationID>1</ns1:conversationID>
</ns1:CallbackHeader>
<ns2:Configuration xmlns:ns2="http://www.ws-i.org/SampleApplications/SupplyChainManagement/2002-08/Configuration.xsd">
<ns2:UserId>Some user ID</ns2:UserId>
<ns2:ServiceUrl Role="LoggingFacility">http://localhost:999/WS-I_Sample/services/LoggingFacility</ns2:ServiceUrl>
<ns2:ServiceUrl Role="Retailer">http://localhost:999/WS-I_Sample/services/Retailer</ns2:ServiceUrl>
<ns2:ServiceUrl Role="WarehouseA">http://localhost:999/WS-I_Sample/services/WarehouseA</ns2:ServiceUrl>
<ns2:ServiceUrl Role="WarehouseB">http://localhost:999/WS-I_Sample/services/WarehouseB</ns2:ServiceUrl>
<ns2:ServiceUrl Role="WarehouseC">http://localhost:999/WS-I_Sample/services/WarehouseC</ns2:ServiceUrl>
<ns2:ServiceUrl Role="ManufacturerA">http://localhost:999/WS-I_Sample/services/ManufacturerA</ns2:ServiceUrl>
<ns2:ServiceUrl Role="ManufacturerB">http://localhost:999/WS-I_Sample/services/ManufacturerB</ns2:ServiceUrl>
<ns2:ServiceUrl Role="ManufacturerC">http://localhost:999/WS-I_Sample/services/ManufacturerC</ns2:ServiceUrl>
</ns2:Configuration>
</soapenv:Header>
<soapenv:Body>
<ShipmentNotice xmlns="http://www.ws-i.org/SampleApplications/SupplyChainManagement/2002-10/ManufacturerSN.xsd">
<shipNum>1</shipNum>
<orderNum>1</orderNum>
<customerRef>ABCD999999999EFG</customerRef>
<items>
<Item>
<ID>605002</ID>
<qty>18</qty>
<price>100.0</price>
</Item>
</items>
<total>0.0</total>
</ShipmentNotice>
</soapenv:Body>
</soapenv:Envelope>
and the Callback reply:
<?xml version="1.0" encoding="UTF-8"?>
<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/"
xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
<soapenv:Body>
<ackSN xmlns="http://www.ws-i.org/SampleApplications/SupplyChainManagement/2002-10/ManufacturerSN.xsd">true</ackSN>
</soapenv:Body>
</soapenv:Envelope>
-->
1.1 ws-axis/java/samples/ws-i/scm/source/wsdl/partial/LoggingFacility.wsdl
Index: LoggingFacility.wsdl
===================================================================
<?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:log="http://www.ws-i.org/SampleApplications/SupplyChainManagement/2002-08/LoggingFacility.xsd"
xmlns:tns="http://www.ws-i.org/SampleApplications/SupplyChainManagement/2002-08/LoggingFacility.wsdl"
targetNamespace="http://www.ws-i.org/SampleApplications/SupplyChainManagement/2002-08/LoggingFacility.wsdl"
xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/"
xmlns:wsi="http://ws-i.org/schemas/conformanceClaim/">
<wsdl:documentation>
This WSDL document describes the LoggingFacility 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/LoggingFacility.xsd" schemaLocation="LoggingFacility.xsd"/>
</xs:schema>
</wsdl:types>
<wsdl:message name="logEventRequest">
<wsdl:part name="Document" element="log:logEventRequestElement"/>
</wsdl:message>
<wsdl:message name="getEventsRequest">
<wsdl:part name="Document" element="log:getEventsRequestElement"/>
</wsdl:message>
<wsdl:message name="getEventsResponse">
<wsdl:part name="Document" element="log:getEventsResponseElement"/>
</wsdl:message>
<wsdl:message name="getEventsRepositoryMissingFault">
<wsdl:part name="Document" element="log:getEventsFaultElement"/>
</wsdl:message>
<wsdl:portType name="LoggingFacilityLogPortType">
<wsdl:operation name="logEvent">
<wsdl:documentation>Append an entry to the system log.</wsdl:documentation>
<wsdl:input message="tns:logEventRequest"/>
</wsdl:operation>
<wsdl:operation name="getEvents">
<wsdl:documentation>Retrieve entries from the system log with the specified userId.</wsdl:documentation>
<wsdl:input message="tns:getEventsRequest"/>
<wsdl:output message="tns:getEventsResponse"/>
<wsdl:fault name="RepositoryMissingFault" message="tns:getEventsRepositoryMissingFault"/>
</wsdl:operation>
</wsdl:portType>
<wsdl:binding name="LoggingFacilitySoapBinding" type="tns:LoggingFacilityLogPortType">
<wsdl:documentation>
<wsi:Claim conformsTo="http://ws-i.org/profiles/basic1.0/" />
</wsdl:documentation>
<soap:binding transport="http://schemas.xmlsoap.org/soap/http" style="document"/>
<wsdl:operation name="logEvent">
<soap:operation soapAction=""/>
<wsdl:input>
<soap:body use="literal"/>
</wsdl:input>
</wsdl:operation>
<wsdl:operation name="getEvents">
<soap:operation soapAction=""/>
<wsdl:input>
<soap:body use="literal"/>
</wsdl:input>
<wsdl:output>
<soap:body use="literal"/>
</wsdl:output>
<wsdl:fault name="RepositoryMissingFault">
<soap:fault name="RepositoryMissingFault" use="literal"/>
</wsdl:fault>
</wsdl:operation>
</wsdl:binding>
</wsdl:definitions>
<!--
The following is an example of a SOAP message compliant with the above WSDL for the logEvent request:
<s:Envelope xmlns:s="http://schemas.xmlsoap.org/soap/envelope/">
<s:Body>
<m:logEventRequestElement xmlns:m="http://www.ws-i.org/SampleApplications/SupplyChainManagement/2002-08/LoggingFacility.xsd">
<m:DemoUserID>My Id is 72+1111,AF37C.sdsdsd</m:DemoUserID>
<m:ServiceID>WarehouseA:http://www.ws-i.org/SA/Warehouse.asmx</m:ServiceID>
<m:EventID>3</m:EventID>
<m:EventDescription>Initiating operation ShipGoods.</m:EventDescription>
<d:Detail xmlns:d="http://my/namespace/">
<d:Customer>D22845-W8N349Y-tky</d:Customer>
<d:ProductId>123123123</d:ProductId>
<d:Quantity>12</d:Quantity>
</d:Detail>
</m:logEventRequestElement>
</s:Body>
</s:Envelope>
The following is an example of a SOAP message compliant with the above WSDL for the getEvents request:
<s:Envelope xmlns:s="http://schemas.xmlsoap.org/envelope/">
<s:Body>
<m:getEventsRequestElement xmlns:m="http://www.ws-i.org/SampleApplications/SupplyChainManagement/2002-08/LoggingFacility.xsd">
<m:DemoUserID>My Id is 72+1111,AF37C.sdsdsd</m:DemoUserID>
</m:getEventsRequestElement>
</s:Body>
</s:Envelope>
The following is an example of a SOAP message compliant with the above WSDL for the getEvents response:
<s:Envelope xmlns:s="http://schemas.xmlsoap.org/soap/envelope/">
<s:Body>
<m:getEventsResponseElement xmlns:m="http://www.ws-i.org/SampleApplications/SupplyChainManagement/2002-08/LoggingFacility.xsd">
<m:LogEntry>
<m:Timestamp>2002-08-09T13:45:51</m:Timestamp>
<m:ServiceID>WarehouseA:http://www.ws-i.org/SA/Warehouse.asmx</m:ServiceID>
<m:EventID>3</m:EventID>
<m:EventDescription>Initiating operation ShipGoods.</m:EventDescription>
<d:Detail xmlns:d="http://my/namespace/">
<d:Customer>D22845-W8N349Y-tky</d:Customer>
<d:ProductId>123123123</d:ProductId>
<d:Quantity>12</d:Quantity>
</d:Detail>
</m:LogEntry>
<m:LogEntry>
<m:Timestamp>2002-08-09T13:47:04</m:Timestamp>
<m:ServiceID>WarehouseA:http://www.ws-i.org/SA/Warehouse.asmx</m:ServiceID>
<m:EventID>4</m:EventID>
<m:EventDescription>Completing operation ShipGoods.</m:EventDescription>
</m:LogEntry>
</m:getEventsResponseElement>
</s:Body>
</s:Envelope>
-->
1.1 ws-axis/java/samples/ws-i/scm/source/wsdl/partial/Retailer.wsdl
Index: Retailer.wsdl
===================================================================
<?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:cfg="http://www.ws-i.org/SampleApplications/SupplyChainManagement/2002-08/Configuration.xsd"
xmlns:cfgw="http://www.ws-i.org/SampleApplications/SupplyChainManagement/2002-08/Configuration.wsdl"
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: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:import namespace="http://www.ws-i.org/SampleApplications/SupplyChainManagement/2002-08/Configuration.wsdl" location="Configuration.wsdl"/>
<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.ws-i.org/SampleApplications/SupplyChainManagement/2002-08/Configuration.xsd" schemaLocation="Configuration.xsd"/>
</xs:schema>
</wsdl:types>
<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="PartsOrder" type="order:PartsOrderType"><wsdl:documentation>XML structure holding product/quantity pairs</wsdl:documentation></wsdl:part>
<wsdl:part name="CustomerDetails" type="order:CustomerDetailsType"/>
<wsdl:part name="ConfigurationHeader" element="cfg:Configuration"/>
</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="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:fault name="ConfigurationFault" message="cfgw:ConfigurationFaultMessage"/>
</wsdl:operation>
</wsdl:portType>
<wsdl:binding name="RetailerSoapBinding" type="tns:RetailerPortType">
<wsdl:documentation>
<wsi:Claim conformsTo="http://ws-i.org/profiles/basic1.0/" />
</wsdl:documentation>
<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 message="tns:submitOrderRequest" part="ConfigurationHeader" use="literal" wsdl:required="true" >
<soap:headerfault message="cfgw:ConfigurationFaultMessage" part="ConfigurationFault" use="literal" />
</soap:header>
</wsdl:input>
<wsdl:output>
<soap:body use="literal" namespace="http://www.ws-i.org/SampleApplications/SupplyChainManagement/2002-08/Retailer.wsdl"/>
</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:binding>
</wsdl:definitions>
<!-- The following is an example of a getCatalog SOAP request message compliant with the above WSDL:
<SOAP-ENV:Envelope xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/">
<SOAP-ENV:Body>
<ns1:getCatalog xmlns:ns1="http://www.ws-i.org/SampleApplications/SupplyChainManagement/2002-08/Retailer.wsdl">
</ns1:getCatalog>
</SOAP-ENV:Body>
</SOAP-ENV:Envelope>
The following is an example of a getCatalog SOAP response message compliant with the above WSDL:
<SOAP-ENV:Envelope xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/">
<SOAP-ENV:Body>
<ns1:getCatalogResponse xmlns:ns1="http://www.ws-i.org/SampleApplications/SupplyChainManagement/2002-08/Retailer.wsdl">
<return>
<Item xmlns="http://www.ws-i.org/SampleApplications/SupplyChainManagement/2002-08/RetailCatalog.xsd">
<name>TV,Brand1</name>
<description>24", Color, Advanced Velocit Scan Modular</description>
<productNumber>605001</productNumber>
<category>TV</category>
<brand>Brand1</brand>
<price>299.95</price>
</Item>
<Item xmlns="http://www.ws-i.org/SampleApplications/SupplyChainManagement/2002-08/RetailCatalog.xsd">
<name>TV, Brand2</name>
<description>32", Super Slim Flat Panel Plasma</description>
<productNumber>605002</productNumber>
<category>TV</category>
<brand>Brand2</brand>
<price>1499.99</price>
</Item>
</return>
</ns1:getCatalogResponse>
</SOAP-ENV:Body>
</SOAP-ENV:Envelope>
The following is an example of a submitOrder SOAP request message compliant with the above WSDL:
<SOAP-ENV:Envelope xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/">
<SOAP-ENV:Header>
<h:Configuration
xmlns:h="http://www.ws-i.org/SampleApplications/SupplyChainManagement/2002-08/Configuration.xsd">
<h:UserId>griddell@bowstreet.com</h:UserId>
<h:ServiceUrl Role="LoggingFacility">http://example1/SampleApp/SCM/LoggingFacility</h:ServiceUrl>
<h:ServiceUrl Role="Retailer">http://example2/wsi/soaprpc/wsi/RetailerImpl</h:ServiceUrl>
<h:ServiceUrl Role="WarehouseA">http://example3/wsi/soaprpc/wsi/WarehouseAImpl</h:ServiceUrl>
<h:ServiceUrl Role="WarehouseB">http://example4/wsi/soaprpc/wsi/WarehouseBImpl</h:ServiceUrl>
<h:ServiceUrl Role="WarehouseC">http://example5/wsi/soaprpc/wsi/WarehouseCImpl</h:ServiceUrl>
<h:ServiceUrl Role="ManufacturerA">http://example6/ws-i_sample/ManufacturerA</h:ServiceUrl>
<h:ServiceUrl Role="ManufacturerB">http://example7/ws-i_sample/ManufacturerB</h:ServiceUrl>
<h:ServiceUrl Role="ManufacturerC">http://example8/ws-i_sample/ManufacturerC</h:ServiceUrl>
</h:Configuration>
</SOAP-ENV:Header>
<SOAP-ENV:Body>
<ns1:submitOrder xmlns:ns1="http://www.ws-i.org/SampleApplications/SupplyChainManagement/2002-08/Retailer.wsdl">
<PartsOrder xmlns:p="http://www.ws-i.org/SampleApplications/SupplyChainManagement/2002-08/RetailOrder.xsd">
<p:Item>
<p:productNumber>605006</p:productNumber>
<p:quantity>182</p:quantity>
<p:price>3.99</p:price>
</p:Item>
<p:Item><p:productNumber>605002</p:productNumber>
<p:quantity>4</p:quantity>
<p:price>3.99</p:price>
</p:Item>
<p:Item>
<p:productNumber>605003</p:productNumber>
<p:quantity>82</p:quantity>
<p:price>7.99</p:price>
</p:Item>
</PartsOrder>
<CustomerDetails xmlns:c="http://www.ws-i.org/SampleApplications/SupplyChainManagement/2002-08/RetailOrder.xsd">
<c:custnbr>ABCD999999999EFG</c:custnbr>
<c:name>Joe Bloggs</c:name>
<c:street1 />
<c:city />
<c:state>NH</c:state>
<c:zip>03870</c:zip>
<c:country>USA</c:country>
</CustomerDetails>
</ns1:submitOrder>
</SOAP-ENV:Body>
</SOAP-ENV:Envelope>
The following is an example of a submitOrder SOAP response message that is compliant with the WSDL:
<SOAP-ENV:Envelope xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/">
<SOAP-ENV:Body>
<ns1:submitOrderResponse xmlns:ns1="http://www.ws-i.org/SampleApplications/SupplyChainManagement/2002-08/Retailer.wsdl">
<return xmlns:ns2="http://www.ws-i.org/SampleApplications/SupplyChainManagement/2002-08/RetailOrder.xsd">
<ns2:Item>
<ns2:productNumber>605002</ns2:productNumber>
<ns2:quantity>4</ns2:quantity>
<ns2:price>3.99</ns2:price>
<ns2:comment>in stock from WarehouseA</ns2:comment>
</ns2:Item>
<ns2:Item>
<ns2:productNumber>605006</ns2:productNumber>
<ns2:quantity>0</ns2:quantity>
<ns2:price>0</ns2:price>
<ns2:comment>insufficient stock</ns2:comment>
</ns2:Item>
<ns2:Item>
<ns2:productNumber>605003</ns2:productNumber>
<ns2:quantity>0</ns2:quantity>
<ns2:price>0</ns2:price>
<ns2:comment>insufficient stock</ns2:comment>
</ns2:Item>
</return>
</ns1:submitOrderResponse>
</SOAP-ENV:Body>
</SOAP-ENV:Envelope>
-->
1.1 ws-axis/java/samples/ws-i/scm/source/wsdl/partial/Warehouse.wsdl
Index: Warehouse.wsdl
===================================================================
<?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:c="http://www.ws-i.org/SampleApplications/SupplyChainManagement/2002-08/Configuration.wsdl"
xmlns:ct="http://www.ws-i.org/SampleApplications/SupplyChainManagement/2002-08/Configuration.xsd"
xmlns:wh="http://www.ws-i.org/SampleApplications/SupplyChainManagement/2002-08/Warehouse.xsd"
xmlns:tns="http://www.ws-i.org/SampleApplications/SupplyChainManagement/2002-08/Warehouse.wsdl"
targetNamespace="http://www.ws-i.org/SampleApplications/SupplyChainManagement/2002-08/Warehouse.wsdl"
xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/"
xmlns:wsi="http://ws-i.org/schemas/conformanceClaim/">
<wsdl:documentation>
This WSDL document describes the Warehouse 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:import namespace="http://www.ws-i.org/SampleApplications/SupplyChainManagement/2002-08/Configuration.wsdl" location="Configuration.wsdl"/>
<wsdl:types>
<xs:schema>
<xs:import namespace="http://www.ws-i.org/SampleApplications/SupplyChainManagement/2002-08/Configuration.xsd" schemaLocation="Configuration.xsd"/>
<xs:import namespace="http://www.ws-i.org/SampleApplications/SupplyChainManagement/2002-08/Warehouse.xsd" schemaLocation="Warehouse.xsd"/>
</xs:schema>
</wsdl:types>
<wsdl:message name="ShipGoodsRequest">
<wsdl:part name="ItemList" type="wh:ItemList"/>
<wsdl:part name="Customer" type="wh:CustomerReferenceType"/>
<wsdl:part name="ConfigurationHeader" element="ct:Configuration"/>
</wsdl:message>
<wsdl:message name="ShipGoodsResponse">
<wsdl:documentation>
A response of true indicates the goods have been shipped. A response of false
indicates the warehouse either does not carry that part or does not have enough stock to
fill the requested quantity.
</wsdl:documentation>
<wsdl:part name="Response" type="wh:ItemShippingStatusList"/>
</wsdl:message>
<wsdl:portType name="WarehouseShipmentsPortType">
<wsdl:operation name="ShipGoods">
<wsdl:documentation>Ship the specified number of the specified part to the specified customer.</wsdl:documentation>
<wsdl:input message="tns:ShipGoodsRequest"/>
<wsdl:output message="tns:ShipGoodsResponse"/>
<wsdl:fault name="ConfigurationFault" message="c:ConfigurationFaultMessage"/>
</wsdl:operation>
</wsdl:portType>
<wsdl:binding name="WarehouseSoapBinding" type="tns:WarehouseShipmentsPortType">
<wsdl:documentation>
<wsi:Claim conformsTo="http://ws-i.org/profiles/basic1.0/" />
</wsdl:documentation>
<soap:binding transport="http://schemas.xmlsoap.org/soap/http" style="rpc"/>
<wsdl:operation name="ShipGoods">
<soap:operation
soapAction="http://www.ws-i.org/SampleApplications/SupplyChainManagement/2002-08/Warehouse.wsdl"/>
<wsdl:input>
<soap:body use="literal"
namespace="http://www.ws-i.org/SampleApplications/SupplyChainManagement/2002-08/Warehouse.wsdl"
parts="ItemList Customer" />
<soap:header message="tns:ShipGoodsRequest" part="ConfigurationHeader" use="literal">
<soap:headerfault message="c:ConfigurationFaultMessage" part="ConfigurationFault" use="literal" />
</soap:header>
</wsdl:input>
<wsdl:output>
<soap:body use="literal"
namespace="http://www.ws-i.org/SampleApplications/SupplyChainManagement/2002-08/Warehouse.wsdl"/>
</wsdl:output>
</wsdl:operation>
</wsdl:binding>
</wsdl:definitions>
<!-- The following is an example of a SOAP request message compliant with the above WSDL:
<s:Envelope xmlns:s="http://schemas.xmlsoap.org/envelope/">
<s:Header>
<h:Configuration
xmlns:h="http://www.ws-i.org/SampleApplications/SupplyChainManagement/2002-08/Configuration.xsd">
<h:UserId>8bf7ec9a-f3b2-4f39-9807-c55c860a5983</h:UserId>
<h:ServiceUrl Role="WarehouseA">http://www.ws-i.org/BasicSampleApp/WarehouseA</h:ServiceUrl>
<h:ServiceUrl Role="LoggingFacility">http://www.ws-i.org/BasicSampleApp/LoggingFacility</h:ServiceUrl>
<h:ServiceUrl Role="WarehouseC">http://www.ws-i.org/BasicSampleApp/WarehouseC</h:ServiceUrl>
<h:ServiceUrl Role="Retailer">http://www.ws-i.org/BasicSampleApp/Retailer</h:ServiceUrl>
<h:ServiceUrl Role="WarehouseB">http://www.ws-i.org/BasicSampleApp/WarehouseB</h:ServiceUrl>
<h:ServiceUrl Role="ManufacturerA">http://www.ws-i.org/BasicSampleApp/ManufacturerA</h:ServiceUrl>
<h:ServiceUrl Role="ManufacturerB">http://www.ws-i.org/BasicSampleApp/ManufacturerB</h:ServiceUrl>
<h:ServiceUrl Role="ManufacturerC">http://www.ws-i.org/BasicSampleApp/ManufacturerC</h:ServiceUrl>
</h:Configuration>
</s:Header>
<s:Body>
<ns1:ShipGoods xmlns:ns1="http://www,ws-i.org/SampleApplications/SupplyChainManagement/2002-08/Warehouse.wsdl"
xmlns:ns2="http://www,ws-i.org/SampleApplications/SupplyChainManagement/2002-08/Warehouse.xsd">
<ItemList>
<ns2:Item>
<ns2:ProductNumber>605006</ns2:ProductNumber>
<ns2:Quantity>23</ns2:Quantity>
</ns2:Item>
<ns2:Item>
<ns2:ProductNumber>605007</ns2:ProductNumber>
<ns2:Quantity>22</ns2:Quantity>
</ns2:Item>
</ItemList>
<Customer>D22845-W8N349Y-tky</Customer>
</ns1:ShipGoods>
</s:Body>
</s:Envelope>
The following is an example of a SOAP response message that is compliant with the WSDL:
<s:Envelope xmlns:s="http://schemas.xmlsoap.org/envelope/">
<s:Body>
<ns1:ShipGoodsResponse xmlns:ns1="http://www,ws-i.org/SampleApplications/SupplyChainManagement/2002-08/Warehouse.wsdl"
xmlns:ns2="http://www,ws-i.org/SampleApplications/SupplyChainManagement/2002-08/Warehouse.xsd">
<Response>
<ns2:ItemStatus>
<ns2:ProductNumber>605006</ns2:ProductNumber>
<ns2:Status>false</ns2:Status>
</ns2:ItemStatus>
<ns2:ItemStatus>
<ns2:ProductNumber>605007</ns2:ProductNumber>
<ns2:Status>true</ns2:Status>
</ns2:ItemStatus>
</Response>
</ns1:ShipGoodsResponse>
</s:Body>
</s:Envelope>
-->
1.1 ws-axis/java/samples/ws-i/scm/source/wsdl/partial/Configurator.wsdl
Index: Configurator.wsdl
===================================================================
<?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 name="SampleConfigurator"
targetNamespace="http://www.ws-i.org/SampleApplications/SupplyChainManagement/2002-08/Configurator.wsdl"
xmlns="http://schemas.xmlsoap.org/wsdl/"
xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/"
xmlns:tns="http://www.ws-i.org/SampleApplications/SupplyChainManagement/2002-08/Configurator.wsdl"
xmlns:cfg="http://www.ws-i.org/SampleApplications/SupplyChainManagement/2002-08/Configurator.xsd"
xmlns:cfgn="http://www.ws-i.org/SampleApplications/SupplyChainManagement/2002-08/Configuration.xsd"
xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/"
xmlns:xs="http://www.w3.org/2001/XMLSchema"
xmlns:wsi="http://ws-i.org/schemas/conformanceClaim/">
<wsdl:types>
<xs:schema>
<xs:import namespace="http://www.ws-i.org/SampleApplications/SupplyChainManagement/2002-08/Configurator.xsd"
schemaLocation="Configurator.xsd"/>
<xs:import namespace="http://www.ws-i.org/SampleApplications/SupplyChainManagement/2002-08/Configuration.xsd"
schemaLocation="Configuration.xsd"/>
</xs:schema>
</wsdl:types>
<wsdl:message name="getConfigurationOptionsRequest">
<wsdl:documentation>
This message is used to obtain all of the discovered showcase implementations of
the WS-I services. It contains useful information on which selections can be made,
such as platform, in addition to vital information about the choices, such as the
endpoints. The service may perform discovery in response to this message or may
return cached information. When the refresh bit is on, the implementation must
perform (re)discovery.
</wsdl:documentation>
<wsdl:part name="refresh" element="cfg:refresh"/>
</wsdl:message>
<wsdl:message name="getConfigurationOptionsResponse">
<wsdl:documentation>
This message is returned in response to getConfigurationOptions and contains
a list of alternative showcase implementations of the WS-I Basic Sample Application
Web services. The endpoints for the services and information about the service is
provided to aid in selection.
</wsdl:documentation>
<wsdl:part name="configOptions" element="cfg:configOptions"/>
</wsdl:message>
<wsdl:message name="configuratorFailedFault">
<wsdl:documentation>
This message is used to indicate the configurator was unable to obtain configuration options.
</wsdl:documentation>
<wsdl:part name="configError" element="cfg:configError"/>
</wsdl:message>
<wsdl:portType name="ConfiguratorPortType">
<wsdl:operation name="getConfigurationOptions">
<wsdl:input message="tns:getConfigurationOptionsRequest"/>
<wsdl:output message="tns:getConfigurationOptionsResponse"/>
<wsdl:fault message="tns:configuratorFailedFault" name="configuratorFailedFault"/>
</wsdl:operation>
</wsdl:portType>
<wsdl:binding name="ConfiguratorBinding" type="tns:ConfiguratorPortType">
<wsdl:documentation>
<wsi:Claim conformsTo="http://ws-i.org/profiles/basic1.0/" />
</wsdl:documentation>
<soap:binding transport="http://schemas.xmlsoap.org/soap/http" style="document"/>
<wsdl:operation name="getConfigurationOptions">
<soap:operation soapAction="http://www.ws-i.org/SampleApplications/SupplyChainManagement/2002-08/Configurator.wsdl/getConfigurationOptions"/>
<wsdl:input>
<soap:body use="literal"/>
</wsdl:input>
<wsdl:output>
<soap:body use="literal"/>
</wsdl:output>
<wsdl:fault name="configuratorFailedFault">
<soap:fault name="configuratorFailedFault" use="literal"/>
</wsdl:fault>
</wsdl:operation>
</wsdl:binding>
</wsdl:definitions>
<!--
The following is an example of a SOAP message compliant with the above WSDL for the getConfigurationOptions request:
<s:Envelope xmlns:s="http://schemas.xmlsoap.org/envelope/">
<s:Body>
<m:refresh xmlns:m="http://www.ws-i.org/SampleApplications/SupplyChainManagement/2002-08/Configurator.xsd">false</m:refresh>
</s:Body>
</s:Envelope>
The following is an example of a SOAP message compliant with the above WSDL for the getConfigurationOptions response:
<s:Envelope xmlns:s="http://schemas.xmlsoap.org/envelope/">
<s:Body>
<Q1:configOptions
xmlns:Q1="http://www.ws-i.org/SampleApplications/SupplyChainManagement/2002-08/Configurator.xsd">
<Q1:configOption>
<Q1:name>MyCo Retailer</Q1:name>
<Q1:selectionParms>platform=WebSphere;OS=Linux</Q1:selectionParms>
<Q1:configurationEndpoint Role="Retailer">http://www.myco.com/services/WS-I/Retailer<Q1:configurationEndpoint>
</Q1:configOption>
<Q1:configOption>
<Q1:name>OtherCo Retailer</Q1:name>
<Q1:selectionParms>platform=WebSphere;OS=Windows</Q1:selectionParms>
<Q1:configurationEndpoint Role="Retailer">http://www.otherco.com/services/WS-I/Retailer<Q1:configurationEndpoint>
</Q1:configOption>
</Q1:configOptions>
</s:Body>
</s:Envelope>
-->
1.1 ws-axis/java/samples/ws-i/scm/source/wsdl/partial/Configuration.wsdl
Index: Configuration.wsdl
===================================================================
<?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:xs="http://www.w3.org/2001/XMLSchema"
xmlns:configurationType="http://www.ws-i.org/SampleApplications/SupplyChainManagement/2002-08/Configuration.xsd"
targetNamespace="http://www.ws-i.org/SampleApplications/SupplyChainManagement/2002-08/Configuration.wsdl"
xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/">
<wsdl:documentation>
This WSDL document describes the configuration header to be used by all services except the Logger. This header
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/Configuration.xsd" schemaLocation="Configuration.xsd"/>
</xs:schema>
</wsdl:types>
<wsdl:message name="ConfigurationFaultMessage">
<wsdl:documentation>
The Configuration fault header indicates why the configuration was invalid and enumerates all
of the service URLs which were not valid in Configuration header of the request message.
</wsdl:documentation>
<wsdl:part name="ConfigurationFault" element="configurationType:ConfigurationFault"/>
</wsdl:message>
</wsdl:definitions>