Debian Codegraph @

samples/ws-i/scm/source/wsdl/partial/LoggingFacility.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:log="http://www.ws-i.org/SampleApplications/SupplyChainManagement/2002-08/LoggingFacility.xsd"
16 xmlns:tns="http://www.ws-i.org/SampleApplications/SupplyChainManagement/2002-08/LoggingFacility.wsdl"
17 targetNamespace="http://www.ws-i.org/SampleApplications/SupplyChainManagement/2002-08/LoggingFacility.wsdl"
18 xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/"
19 xmlns:wsi="http://ws-i.org/schemas/conformanceClaim/">
20 <wsdl:documentation>
21 This WSDL document describes the LoggingFacility service for the WS-I Basic Sample Application. This
22 service is part of a supply chain management system. It is used to demonstrate a web service that is
23 conformant with the Basic Profile and to show how different web service platforms can interoperate.
24 </wsdl:documentation>
25
26 <wsdl:types>
27 <xs:schema>
28 <xs:import namespace="http://www.ws-i.org/SampleApplications/SupplyChainManagement/2002-08/LoggingFacility.xsd" schemaLocation="LoggingFacility.xsd"/>
29 </xs:schema>
30 </wsdl:types>
31
32 <wsdl:message name="logEventRequest">
33 <wsdl:part name="Document" element="log:logEventRequestElement"/>
34 </wsdl:message>
35
36 <wsdl:message name="getEventsRequest">
37 <wsdl:part name="Document" element="log:getEventsRequestElement"/>
38 </wsdl:message>
39
40 <wsdl:message name="getEventsResponse">
41 <wsdl:part name="Document" element="log:getEventsResponseElement"/>
42 </wsdl:message>
43
44 <wsdl:message name="getEventsRepositoryMissingFault">
45 <wsdl:part name="Document" element="log:getEventsFaultElement"/>
46 </wsdl:message>
47
48 <wsdl:portType name="LoggingFacilityLogPortType">
49 <wsdl:operation name="logEvent">
50 <wsdl:documentation>Append an entry to the system log.</wsdl:documentation>
51 <wsdl:input message="tns:logEventRequest"/>
52 </wsdl:operation>
53 <wsdl:operation name="getEvents">
54 <wsdl:documentation>Retrieve entries from the system log with the specified userId.</wsdl:documentation>
55 <wsdl:input message="tns:getEventsRequest"/>
56 <wsdl:output message="tns:getEventsResponse"/>
57 <wsdl:fault name="RepositoryMissingFault" message="tns:getEventsRepositoryMissingFault"/>
58 </wsdl:operation>
59 </wsdl:portType>
60
61 <wsdl:binding name="LoggingFacilitySoapBinding" type="tns:LoggingFacilityLogPortType">
62 <wsdl:documentation>
63 <wsi:Claim conformsTo="http://ws-i.org/profiles/basic1.0/" />
64 </wsdl:documentation>
65 <soap:binding transport="http://schemas.xmlsoap.org/soap/http" style="document"/>
66 <wsdl:operation name="logEvent">
67 <soap:operation soapAction=""/>
68 <wsdl:input>
69 <soap:body use="literal"/>
70 </wsdl:input>
71 </wsdl:operation>
72 <wsdl:operation name="getEvents">
73 <soap:operation soapAction=""/>
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="RepositoryMissingFault">
81 <soap:fault name="RepositoryMissingFault" use="literal"/>
82 </wsdl:fault>
83 </wsdl:operation>
84 </wsdl:binding>
85 </wsdl:definitions>
86
87 <!--
88 The following is an example of a SOAP message compliant with the above WSDL for the logEvent request:
89
90 <s:Envelope xmlns:s="http://schemas.xmlsoap.org/soap/envelope/">
91 <s:Body>
92 <m:logEventRequestElement xmlns:m="http://www.ws-i.org/SampleApplications/SupplyChainManagement/2002-08/LoggingFacility.xsd">
93 <m:DemoUserID>My Id is 72+1111,AF37C.sdsdsd</m:DemoUserID>
94 <m:ServiceID>WarehouseA:http://www.ws-i.org/SA/Warehouse.asmx</m:ServiceID>
95 <m:EventID>3</m:EventID>
96 <m:EventDescription>Initiating operation ShipGoods.</m:EventDescription>
97 <d:Detail xmlns:d="http://my/namespace/">
98 <d:Customer>D22845-W8N349Y-tky</d:Customer>
99 <d:ProductId>123123123</d:ProductId>
100 <d:Quantity>12</d:Quantity>
101 </d:Detail>
102 </m:logEventRequestElement>
103 </s:Body>
104 </s:Envelope>
105
106
107 The following is an example of a SOAP message compliant with the above WSDL for the getEvents request:
108
109 <s:Envelope xmlns:s="http://schemas.xmlsoap.org/envelope/">
110 <s:Body>
111 <m:getEventsRequestElement xmlns:m="http://www.ws-i.org/SampleApplications/SupplyChainManagement/2002-08/LoggingFacility.xsd">
112 <m:DemoUserID>My Id is 72+1111,AF37C.sdsdsd</m:DemoUserID>
113 </m:getEventsRequestElement>
114 </s:Body>
115 </s:Envelope>
116
117
118 The following is an example of a SOAP message compliant with the above WSDL for the getEvents response:
119
120 <s:Envelope xmlns:s="http://schemas.xmlsoap.org/soap/envelope/">
121 <s:Body>
122 <m:getEventsResponseElement xmlns:m="http://www.ws-i.org/SampleApplications/SupplyChainManagement/2002-08/LoggingFacility.xsd">
123 <m:LogEntry>
124 <m:Timestamp>2002-08-09T13:45:51</m:Timestamp>
125 <m:ServiceID>WarehouseA:http://www.ws-i.org/SA/Warehouse.asmx</m:ServiceID>
126 <m:EventID>3</m:EventID>
127 <m:EventDescription>Initiating operation ShipGoods.</m:EventDescription>
128 <d:Detail xmlns:d="http://my/namespace/">
129 <d:Customer>D22845-W8N349Y-tky</d:Customer>
130 <d:ProductId>123123123</d:ProductId>
131 <d:Quantity>12</d:Quantity>
132 </d:Detail>
133 </m:LogEntry>
134 <m:LogEntry>
135 <m:Timestamp>2002-08-09T13:47:04</m:Timestamp>
136 <m:ServiceID>WarehouseA:http://www.ws-i.org/SA/Warehouse.asmx</m:ServiceID>
137 <m:EventID>4</m:EventID>
138 <m:EventDescription>Completing operation ShipGoods.</m:EventDescription>
139 </m:LogEntry>
140 </m:getEventsResponseElement>
141 </s:Body>
142 </s:Envelope>
143
144 -->