root/trunk/resources/exsynchwsdefs/wssvc.wsdl

Revision 3153 (checked in by douglm, 2 years ago)

Changes related to exchange synch

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   <!-- ============================= UpdateItem =============================== --> 
55
56   <wsdl:message name="UpdateItemIn">
57     <wsdl:part name="request" element="tns:update-item" />
58   </wsdl:message>
59  
60   <wsdl:message name="UpdateItemOut">
61     <wsdl:part name="response" element="tns:update-item-response" />
62   </wsdl:message>
63
64   <!-- ============================== port ================================= --> 
65  
66   <wsdl:portType name="ExsynchRemoteServicePortType">
67     <wsdl:operation name="NotifyRemoteService">
68       <wsdl:input message="tns:StartServiceIn" />
69       <wsdl:output message="tns:StartServiceOut" />
70     </wsdl:operation>
71    
72     <wsdl:operation name="GetSynchInfo">
73       <wsdl:input message="tns:GetSynchInfoIn" />
74       <wsdl:output message="tns:GetSynchInfoOut" />
75     </wsdl:operation>
76    
77     <wsdl:operation name="AddItem">
78       <wsdl:input message="tns:AddItemIn" />
79       <wsdl:output message="tns:AddItemOut" />
80     </wsdl:operation>
81    
82     <wsdl:operation name="FetchItem">
83       <wsdl:input message="tns:FetchItemIn" />
84       <wsdl:output message="tns:FetchItemOut" />
85     </wsdl:operation>
86    
87     <wsdl:operation name="UpdateItem">
88       <wsdl:input message="tns:UpdateItemIn" />
89       <wsdl:output message="tns:UpdateItemOut" />
90     </wsdl:operation>
91   </wsdl:portType>
92  
93   <!-- ============================ binding ================================ --> 
94  
95   <wsdl:binding name="ExsynchRemoteServiceBinding"
96                 type="tns:ExsynchRemoteServicePortType">
97     <wsdl:documentation>
98       <wsi:Claim conformsTo="http://ws-i.org/profiles/basic/1.0"
99                  xmlns:wsi="http://ws-i.org/schemas/conformanceClaim/" />
100     </wsdl:documentation>
101     <soap:binding transport="http://schemas.xmlsoap.org/soap/http" />
102    
103     <wsdl:operation name="NotifyRemoteService">
104       <soap:operation soapAction="http://www.bedework.org/exsynch/wsmessages/notify-remote-service" />
105       <wsdl:input>
106         <soap:body use="literal" parts="request" />
107       </wsdl:input>
108       <wsdl:output>
109         <soap:body use="literal" parts="response" />
110       </wsdl:output>
111     </wsdl:operation>
112    
113     <wsdl:operation name="GetSynchInfo">
114       <soap:operation soapAction="http://www.bedework.org/exsynch/wsmessages/get-synch-info" />
115       <wsdl:input>
116         <soap:body use="literal" parts="request" />
117       </wsdl:input>
118       <wsdl:output>
119         <soap:body use="literal" parts="response" />
120       </wsdl:output>
121     </wsdl:operation>
122    
123     <wsdl:operation name="AddItem">
124       <soap:operation soapAction="http://www.bedework.org/exsynch/wsmessages/add-item" />
125       <wsdl:input>
126         <soap:body use="literal" parts="addItemRequest" />
127       </wsdl:input>
128       <wsdl:output>
129         <soap:body use="literal" parts="addItemResponse" />
130       </wsdl:output>
131     </wsdl:operation>
132    
133     <wsdl:operation name="FetchItem">
134       <soap:operation soapAction="http://www.bedework.org/exsynch/wsmessages/fetch-item" />
135       <wsdl:input>
136         <soap:body use="literal" parts="fetchItemRequest" />
137       </wsdl:input>
138       <wsdl:output>
139         <soap:body use="literal" parts="fetchItemResponse" />
140       </wsdl:output>
141     </wsdl:operation>
142    
143     <wsdl:operation name="UpdateItem">
144       <soap:operation soapAction="http://www.bedework.org/exsynch/wsmessages/update-item" />
145       <wsdl:input>
146         <soap:body use="literal" parts="request" />
147       </wsdl:input>
148       <wsdl:output>
149         <soap:body use="literal" parts="response" />
150       </wsdl:output>
151     </wsdl:operation>
152   </wsdl:binding>
153
154   <wsdl:service name="ExsynchRemoteService">
155     <wsdl:port name="ExsynchRSPort" binding="tns:ExsynchRemoteServiceBinding">
156        <soap:address location="http://localhost:8080/pubcaldav/exsynchws/"></soap:address>
157     </wsdl:port>
158   </wsdl:service>
159 </wsdl:definitions> 
Note: See TracBrowser for help on using the browser.