Debian Codegraph @

samples/ws-i/scm/source/wsdl/partial/Warehouse.wsdl

raw
1 <?xml version="1.0" encoding="utf-8"?>
2
3 <!--
4 September 14, 2002
5
6 (c) Copyright 2002, The Web Services-Interoperability Organization (WS-I)
7 Download or use of this file is governed by the Policies and Bylaws of WS-I.
8
9 For more information, send email [email protected].
10 -->
11
12 <wsdl:definitions
13 xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/"
14 xmlns:xs="http://www.w3.org/2001/XMLSchema"
15 xmlns:c="http://www.ws-i.org/SampleApplications/SupplyChainManagement/2002-08/Configuration.wsdl"
16 xmlns:ct="http://www.ws-i.org/SampleApplications/SupplyChainManagement/2002-08/Configuration.xsd"
17 xmlns:wh="http://www.ws-i.org/SampleApplications/SupplyChainManagement/2002-08/Warehouse.xsd"
18 xmlns:tns="http://www.ws-i.org/SampleApplications/SupplyChainManagement/2002-08/Warehouse.wsdl"
19 targetNamespace="http://www.ws-i.org/SampleApplications/SupplyChainManagement/2002-08/Warehouse.wsdl"
20 xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/"
21 xmlns:wsi="http://ws-i.org/schemas/conformanceClaim/">
22
23 <wsdl:documentation>
24 This WSDL document describes the Warehouse service for the WS-I Basic Sample Application. This service
25 is part of a supply chain management system. It is used to demonstrate a web service that is
26 conformant with the Basic Profile and to show how different web service platforms can interoperate.
27 </wsdl:documentation>
28
29 <wsdl:import namespace="http://www.ws-i.org/SampleApplications/SupplyChainManagement/2002-08/Configuration.wsdl" location="Configuration.wsdl"/>
30
31
32 <wsdl:types>
33 <xs:schema>
34 <xs:import namespace="http://www.ws-i.org/SampleApplications/SupplyChainManagement/2002-08/Configuration.xsd" schemaLocation="Configuration.xsd"/>
35 <xs:import namespace="http://www.ws-i.org/SampleApplications/SupplyChainManagement/2002-08/Warehouse.xsd" schemaLocation="Warehouse.xsd"/>
36 </xs:schema>
37 </wsdl:types>
38
39 <wsdl:message name="ShipGoodsRequest">
40 <wsdl:part name="ItemList" type="wh:ItemList"/>
41 <wsdl:part name="Customer" type="wh:CustomerReferenceType"/>
42 <wsdl:part name="ConfigurationHeader" element="ct:Configuration"/>
43 </wsdl:message>
44
45 <wsdl:message name="ShipGoodsResponse">
46 <wsdl:documentation>
47 A response of true indicates the goods have been shipped. A response of false
48 indicates the warehouse either does not carry that part or does not have enough stock to
49 fill the requested quantity.
50 </wsdl:documentation>
51 <wsdl:part name="Response" type="wh:ItemShippingStatusList"/>
52 </wsdl:message>
53
54 <wsdl:portType name="WarehouseShipmentsPortType">
55 <wsdl:operation name="ShipGoods">
56 <wsdl:documentation>Ship the specified number of the specified part to the specified customer.</wsdl:documentation>
57 <wsdl:input message="tns:ShipGoodsRequest"/>
58 <wsdl:output message="tns:ShipGoodsResponse"/>
59 <wsdl:fault name="ConfigurationFault" message="c:ConfigurationFaultMessage"/>
60 </wsdl:operation>
61 </wsdl:portType>
62
63 <wsdl:binding name="WarehouseSoapBinding" type="tns:WarehouseShipmentsPortType">
64 <wsdl:documentation>
65 <wsi:Claim conformsTo="http://ws-i.org/profiles/basic1.0/" />
66 </wsdl:documentation>
67 <soap:binding transport="http://schemas.xmlsoap.org/soap/http" style="rpc"/>
68 <wsdl:operation name="ShipGoods">
69 <soap:operation
70 soapAction="http://www.ws-i.org/SampleApplications/SupplyChainManagement/2002-08/Warehouse.wsdl"/>
71 <wsdl:input>
72 <soap:body use="literal"
73 namespace="http://www.ws-i.org/SampleApplications/SupplyChainManagement/2002-08/Warehouse.wsdl"
74 parts="ItemList Customer" />
75 <soap:header message="tns:ShipGoodsRequest" part="ConfigurationHeader" use="literal">
76 <soap:headerfault message="c:ConfigurationFaultMessage" part="ConfigurationFault" use="literal" />
77 </soap:header>
78 </wsdl:input>
79 <wsdl:output>
80 <soap:body use="literal"
81 namespace="http://www.ws-i.org/SampleApplications/SupplyChainManagement/2002-08/Warehouse.wsdl"/>
82 </wsdl:output>
83 </wsdl:operation>
84 </wsdl:binding>
85 </wsdl:definitions>
86 <!-- The following is an example of a SOAP request message compliant with the above WSDL:
87
88 <s:Envelope xmlns:s="http://schemas.xmlsoap.org/envelope/">
89 <s:Header>
90 <h:Configuration
91 xmlns:h="http://www.ws-i.org/SampleApplications/SupplyChainManagement/2002-08/Configuration.xsd">
92 <h:UserId>8bf7ec9a-f3b2-4f39-9807-c55c860a5983</h:UserId>
93 <h:ServiceUrl Role="WarehouseA">http://www.ws-i.org/BasicSampleApp/WarehouseA</h:ServiceUrl>
94 <h:ServiceUrl Role="LoggingFacility">http://www.ws-i.org/BasicSampleApp/LoggingFacility</h:ServiceUrl>
95 <h:ServiceUrl Role="WarehouseC">http://www.ws-i.org/BasicSampleApp/WarehouseC</h:ServiceUrl>
96 <h:ServiceUrl Role="Retailer">http://www.ws-i.org/BasicSampleApp/Retailer</h:ServiceUrl>
97 <h:ServiceUrl Role="WarehouseB">http://www.ws-i.org/BasicSampleApp/WarehouseB</h:ServiceUrl>
98 <h:ServiceUrl Role="ManufacturerA">http://www.ws-i.org/BasicSampleApp/ManufacturerA</h:ServiceUrl>
99 <h:ServiceUrl Role="ManufacturerB">http://www.ws-i.org/BasicSampleApp/ManufacturerB</h:ServiceUrl>
100 <h:ServiceUrl Role="ManufacturerC">http://www.ws-i.org/BasicSampleApp/ManufacturerC</h:ServiceUrl>
101 </h:Configuration>
102 </s:Header>
103 <s:Body>
104 <ns1:ShipGoods xmlns:ns1="http://www,ws-i.org/SampleApplications/SupplyChainManagement/2002-08/Warehouse.wsdl"
105 xmlns:ns2="http://www,ws-i.org/SampleApplications/SupplyChainManagement/2002-08/Warehouse.xsd">
106 <ItemList>
107 <ns2:Item>
108 <ns2:ProductNumber>605006</ns2:ProductNumber>
109 <ns2:Quantity>23</ns2:Quantity>
110 </ns2:Item>
111 <ns2:Item>
112 <ns2:ProductNumber>605007</ns2:ProductNumber>
113 <ns2:Quantity>22</ns2:Quantity>
114 </ns2:Item>
115 </ItemList>
116 <Customer>D22845-W8N349Y-tky</Customer>
117 </ns1:ShipGoods>
118 </s:Body>
119 </s:Envelope>
120
121 The following is an example of a SOAP response message that is compliant with the WSDL:
122
123 <s:Envelope xmlns:s="http://schemas.xmlsoap.org/envelope/">
124 <s:Body>
125 <ns1:ShipGoodsResponse xmlns:ns1="http://www,ws-i.org/SampleApplications/SupplyChainManagement/2002-08/Warehouse.wsdl"
126 xmlns:ns2="http://www,ws-i.org/SampleApplications/SupplyChainManagement/2002-08/Warehouse.xsd">
127 <Response>
128 <ns2:ItemStatus>
129 <ns2:ProductNumber>605006</ns2:ProductNumber>
130 <ns2:Status>false</ns2:Status>
131 </ns2:ItemStatus>
132 <ns2:ItemStatus>
133 <ns2:ProductNumber>605007</ns2:ProductNumber>
134 <ns2:Status>true</ns2:Status>
135 </ns2:ItemStatus>
136 </Response>
137 </ns1:ShipGoodsResponse>
138 </s:Body>
139 </s:Envelope>
140
141 -->