| 1 |
<?xml version="1.0" encoding="UTF-8"?> |
| 2 |
<!-- |
| 3 |
September 14, 2002 |
| 4 |
|
| 5 |
(c) Copyright 2002, The Web Services-Interoperability Organization (WS-I) |
| 6 |
Download or use of this file is governed by the Policies and Bylaws of WS-I. |
| 7 |
|
| 8 |
For more information, send email [email protected]. |
| 9 |
--> |
| 10 |
<wsdl:definitions name="SampleConfigurator" |
| 11 |
targetNamespace="http://www.ws-i.org/SampleApplications/SupplyChainManagement/2002-08/Configurator.wsdl" |
| 12 |
xmlns="http://schemas.xmlsoap.org/wsdl/" |
| 13 |
xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/" |
| 14 |
xmlns:tns="http://www.ws-i.org/SampleApplications/SupplyChainManagement/2002-08/Configurator.wsdl" |
| 15 |
xmlns:cfg="http://www.ws-i.org/SampleApplications/SupplyChainManagement/2002-08/Configurator.xsd" |
| 16 |
xmlns:cfgn="http://www.ws-i.org/SampleApplications/SupplyChainManagement/2002-08/Configuration.xsd" |
| 17 |
xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/" |
| 18 |
xmlns:xs="http://www.w3.org/2001/XMLSchema" |
| 19 |
xmlns:wsi="http://ws-i.org/schemas/conformanceClaim/"> |
| 20 |
|
| 21 |
<wsdl:types> |
| 22 |
<xs:schema> |
| 23 |
<xs:import namespace="http://www.ws-i.org/SampleApplications/SupplyChainManagement/2002-08/Configurator.xsd" |
| 24 |
schemaLocation="Configurator.xsd"/> |
| 25 |
<xs:import namespace="http://www.ws-i.org/SampleApplications/SupplyChainManagement/2002-08/Configuration.xsd" |
| 26 |
schemaLocation="Configuration.xsd"/> |
| 27 |
</xs:schema> |
| 28 |
</wsdl:types> |
| 29 |
|
| 30 |
<wsdl:message name="getConfigurationOptionsRequest"> |
| 31 |
<wsdl:documentation> |
| 32 |
This message is used to obtain all of the discovered showcase implementations of |
| 33 |
the WS-I services. It contains useful information on which selections can be made, |
| 34 |
such as platform, in addition to vital information about the choices, such as the |
| 35 |
endpoints. The service may perform discovery in response to this message or may |
| 36 |
return cached information. When the refresh bit is on, the implementation must |
| 37 |
perform (re)discovery. |
| 38 |
</wsdl:documentation> |
| 39 |
<wsdl:part name="refresh" element="cfg:refresh"/> |
| 40 |
</wsdl:message> |
| 41 |
|
| 42 |
<wsdl:message name="getConfigurationOptionsResponse"> |
| 43 |
<wsdl:documentation> |
| 44 |
This message is returned in response to getConfigurationOptions and contains |
| 45 |
a list of alternative showcase implementations of the WS-I Basic Sample Application |
| 46 |
Web services. The endpoints for the services and information about the service is |
| 47 |
provided to aid in selection. |
| 48 |
</wsdl:documentation> |
| 49 |
<wsdl:part name="configOptions" element="cfg:configOptions"/> |
| 50 |
</wsdl:message> |
| 51 |
|
| 52 |
<wsdl:message name="configuratorFailedFault"> |
| 53 |
<wsdl:documentation> |
| 54 |
This message is used to indicate the configurator was unable to obtain configuration options. |
| 55 |
</wsdl:documentation> |
| 56 |
<wsdl:part name="configError" element="cfg:configError"/> |
| 57 |
</wsdl:message> |
| 58 |
|
| 59 |
<wsdl:portType name="ConfiguratorPortType"> |
| 60 |
<wsdl:operation name="getConfigurationOptions"> |
| 61 |
<wsdl:input message="tns:getConfigurationOptionsRequest"/> |
| 62 |
<wsdl:output message="tns:getConfigurationOptionsResponse"/> |
| 63 |
<wsdl:fault message="tns:configuratorFailedFault" name="configuratorFailedFault"/> |
| 64 |
</wsdl:operation> |
| 65 |
</wsdl:portType> |
| 66 |
|
| 67 |
<wsdl:binding name="ConfiguratorBinding" type="tns:ConfiguratorPortType"> |
| 68 |
<wsdl:documentation> |
| 69 |
<wsi:Claim conformsTo="http://ws-i.org/profiles/basic1.0/" /> |
| 70 |
</wsdl:documentation> |
| 71 |
<soap:binding transport="http://schemas.xmlsoap.org/soap/http" style="document"/> |
| 72 |
<wsdl:operation name="getConfigurationOptions"> |
| 73 |
<soap:operation soapAction="http://www.ws-i.org/SampleApplications/SupplyChainManagement/2002-08/Configurator.wsdl/getConfigurationOptions"/> |
| 74 |
<wsdl:input> |
| 75 |
<soap:body use="literal"/> |
| 76 |
</wsdl:input> |
| 77 |
<wsdl:output> |
| 78 |
<soap:body use="literal"/> |
| 79 |
</wsdl:output> |
| 80 |
<wsdl:fault name="configuratorFailedFault"> |
| 81 |
<soap:fault name="configuratorFailedFault" use="literal"/> |
| 82 |
</wsdl:fault> |
| 83 |
</wsdl:operation> |
| 84 |
</wsdl:binding> |
| 85 |
</wsdl:definitions> |
| 86 |
<!-- |
| 87 |
The following is an example of a SOAP message compliant with the above WSDL for the getConfigurationOptions request: |
| 88 |
|
| 89 |
<s:Envelope xmlns:s="http://schemas.xmlsoap.org/envelope/"> |
| 90 |
<s:Body> |
| 91 |
<m:refresh xmlns:m="http://www.ws-i.org/SampleApplications/SupplyChainManagement/2002-08/Configurator.xsd">false</m:refresh> |
| 92 |
</s:Body> |
| 93 |
</s:Envelope> |
| 94 |
|
| 95 |
|
| 96 |
The following is an example of a SOAP message compliant with the above WSDL for the getConfigurationOptions response: |
| 97 |
|
| 98 |
<s:Envelope xmlns:s="http://schemas.xmlsoap.org/envelope/"> |
| 99 |
<s:Body> |
| 100 |
<Q1:configOptions |
| 101 |
xmlns:Q1="http://www.ws-i.org/SampleApplications/SupplyChainManagement/2002-08/Configurator.xsd"> |
| 102 |
<Q1:configOption> |
| 103 |
<Q1:name>MyCo Retailer</Q1:name> |
| 104 |
<Q1:selectionParms>platform=WebSphere;OS=Linux</Q1:selectionParms> |
| 105 |
<Q1:configurationEndpoint Role="Retailer">http://www.myco.com/services/WS-I/Retailer<Q1:configurationEndpoint> |
| 106 |
</Q1:configOption> |
| 107 |
<Q1:configOption> |
| 108 |
<Q1:name>OtherCo Retailer</Q1:name> |
| 109 |
<Q1:selectionParms>platform=WebSphere;OS=Windows</Q1:selectionParms> |
| 110 |
<Q1:configurationEndpoint Role="Retailer">http://www.otherco.com/services/WS-I/Retailer<Q1:configurationEndpoint> |
| 111 |
</Q1:configOption> |
| 112 |
</Q1:configOptions> |
| 113 |
</s:Body> |
| 114 |
</s:Envelope> |
| 115 |
|
| 116 |
--> |