root/trunk/resources/exsynchwsdefs/wssvc.wsdl

Revision 3063 (checked in by douglm, 3 years ago)

Changes to schema allow for update

Line 
1 <?xml version="1.0" encoding="utf-8"?>
2 <wsdl:definitions xmlns:tns="http://www.bedework.org/exsynch/wsmessages"
3                   xmlns:s="http://www.w3.org/2001/XMLSchema"
4                   xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/"
5                   targetNamespace="http://www.bedework.org/exsynch/wsmessages"
6                   xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/">
7   <wsdl:types>
8     <s:schema>
9       <s:import schemaLocation="wsmessages.xsd"
10                 namespace="http://www.bedework.org/exsynch/wsmessages" />
11     </s:schema>
12   </wsdl:types>
13
14   <!-- ====================== startServiceNotification ===================== --> 
15
16   <wsdl:message name="StartServiceIn">
17     <wsdl:part name="request" element="tns:start-service-notification" />
18   </wsdl:message>
19  
20   <wsdl:message name="StartServiceOut">
21     <wsdl:part name="response" element="tns:start-service-response" />
22   </wsdl:message>
23
24   <!-- ============================ getSynchInfo =========================== --> 
25
26   <wsdl:message name="GetSynchInfoIn">
27     <wsdl:part name="request" element="tns:get-sycnch-info" />
28   </wsdl:message>
29  
30   <wsdl:message name="GetSynchInfoOut">
31     <wsdl:part name="response" element="tns:synch-info-response" />
32   </wsdl:message>
33
34   <!-- ============================= addItem =============================== --> 
35
36   <wsdl:message name="AddItemIn">
37     <wsdl:part name="addItemRequest" element="tns:add-item" />
38   </wsdl:message>
39  
40   <wsdl:message name="AddItemOut">
41     <wsdl:part name="addItemResponse" element="tns:add-item-response" />
42   </wsdl:message>
43
44   <!-- ============================= fetchItem =============================== --> 
45
46   <wsdl:message name="FetchItemIn">
47     <wsdl:part name="fetchItemRequest" element="tns:fetch-item" />
48   </wsdl:message>
49  
50   <wsdl:message name="FetchItemOut">
51     <wsdl:part name="fetchItemResponse" element="tns:fetch-item-response" />
52   </wsdl:message>
53
54   <!-- ============================== port ================================= --> 
55  
56   <wsdl:portType name="ExsynchRemoteServicePortType">
57     <wsdl:operation name="notify-remote-service">
58       <wsdl:input message="tns:StartServiceIn" />
59       <wsdl:output message="tns:StartServiceOut" />
60     </wsdl:operation>
61    
62     <wsdl:operation name="get-synch-info">
63       <wsdl:input message="tns:GetSynchInfoIn" />
64       <wsdl:output message="tns:GetSynchInfoOut" />
65     </wsdl:operation>
66    
67     <wsdl:operation name="add-item">
68       <wsdl:input message="tns:AddItemIn" />
69       <wsdl:output message="tns:AddItemOut" />
70     </wsdl:operation>
71    
72     <wsdl:operation name="fetch-item">
73       <wsdl:input message="tns:FetchItemIn" />
74       <wsdl:output message="tns:FetchItemOut" />
75     </wsdl:operation>
76   </wsdl:portType>
77  
78   <!-- ============================ binding ================================ --> 
79  
80   <wsdl:binding name="ExsynchRemoteServiceBinding"
81                 type="tns:ExsynchRemoteServicePortType">
82     <wsdl:documentation>
83       <wsi:Claim conformsTo="http://ws-i.org/profiles/basic/1.0"
84                  xmlns:wsi="http://ws-i.org/schemas/conformanceClaim/" />
85     </wsdl:documentation>
86     <soap:binding transport="http://schemas.xmlsoap.org/soap/http" />
87    
88     <wsdl:operation name="notify-remote-service">
89       <soap:operation soapAction="http://www.bedework.org/exsynch/wsmessages/notify-remote-service" />
90       <wsdl:input>
91         <soap:body use="literal" parts="request" />
92       </wsdl:input>
93       <wsdl:output>
94         <soap:body use="literal" parts="response" />
95       </wsdl:output>
96     </wsdl:operation>
97    
98     <wsdl:operation name="get-synch-info">
99       <soap:operation soapAction="http://www.bedework.org/exsynch/wsmessages/get-synch-info" />
100       <wsdl:input>
101         <soap:body use="literal" parts="request" />
102       </wsdl:input>
103       <wsdl:output>
104         <soap:body use="literal" parts="response" />
105       </wsdl:output>
106     </wsdl:operation>
107    
108     <wsdl:operation name="add-item">
109       <soap:operation soapAction="http://www.bedework.org/exsynch/wsmessages/add-item" />
110       <wsdl:input>
111         <soap:body use="literal" parts="addItemRequest" />
112       </wsdl:input>
113       <wsdl:output>
114         <soap:body use="literal" parts="addItemResponse" />
115       </wsdl:output>
116     </wsdl:operation>
117    
118     <wsdl:operation name="fetch-item">
119       <soap:operation soapAction="http://www.bedework.org/exsynch/wsmessages/fetch-item" />
120       <wsdl:input>
121         <soap:body use="literal" parts="fetchItemRequest" />
122       </wsdl:input>
123       <wsdl:output>
124         <soap:body use="literal" parts="fetchItemResponse" />
125       </wsdl:output>
126     </wsdl:operation>
127   </wsdl:binding>
128
129   <wsdl:service name="ExsynchRemoteService">
130     <wsdl:port name="ExsynchRSPort" binding="tns:ExsynchRemoteServiceBinding">
131        <soap:address location="http://localhost:8080/pubcaldav/exsynchws/"></soap:address>
132     </wsdl:port>
133   </wsdl:service>
134 </wsdl:definitions> 
Note: See TracBrowser for help on using the browser.