AsynchronousServicesFifth: sayHello.wsdl

File sayHello.wsdl, 9.2 KB (added by jmfernandez, 17 years ago)

Example about WSDL reusage through import mechanism (this file is WSDL generated by BioMOBY)

Line 
1<?xml version="1.0" encoding="UTF-8"?>
2<wsdl:definitions name="MOBY_Central_Generated_WSDL" targetNamespace="http://biomoby.org/Central.wsdl"
3   xmlns:tns="http://biomoby.org/Central.wsdl"
4   xmlns:xsd1="http://biomoby.org/CentralXSDs.xsd"
5   xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/"
6   xmlns:wsoap="http://schemas.xmlsoap.org/soap/envelope/"
7   xmlns:xsd="http://www.w3.org/2001/XMLSchema"
8   xmlns="http://schemas.xmlsoap.org/wsdl/"
9   xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/"
10   xmlns:wsrp="http://docs.oasis-open.org/wsrf/rp-2"
11   xmlns:wsrl="http://docs.oasis-open.org/wsrf/rl-2"
12   xmlns:wsbf="http://docs.oasis-open.org/wsrf/bf-2"
13   xmlns:wsrpw="http://docs.oasis-open.org/wsrf/rpw-2"
14   xmlns:wsrlw="http://docs.oasis-open.org/wsrf/rlw-2"
15   xmlns:wsrw="http://docs.oasis-open.org/wsrf/rw-2"
16   xmlns:wsa="http://www.w3.org/2005/08/addressing">
17
18   <wsdl:import
19      namespace="http://docs.oasis-open.org/wsrf/rpw-2"
20      location="http://docs.oasis-open.org/wsrf/rpw-2.wsdl"/>
21   <wsdl:import
22      namespace="http://docs.oasis-open.org/wsrf/rlw-2"
23      location="http://docs.oasis-open.org/wsrf/rlw-2.wsdl"/>
24   <wsdl:import
25      namespace="http://docs.oasis-open.org/wsrf/rw-2"
26      location="http://docs.oasis-open.org/wsrf/rw-2.wsdl"/>
27   <wsdl:types>
28      <xsd:schema elementFormDefault="qualified"
29         targetNamespace="http://biomoby.org/Central.wsdl"
30         xmlns="http://biomoby.org/Central.wsdl"
31      >
32         <xsd:import
33            namespace="http://docs.oasis-open.org/wsrf/bf-2"
34            schemaLocation="http://docs.oasis-open.org/wsrf/bf-2.xsd"/>
35         <xsd:import
36            namespace="http://docs.oasis-open.org/wsrf/rl-2"
37            schemaLocation="http://docs.oasis-open.org/wsrf/rl-2.xsd"/>
38         <xsd:import
39            namespace="http://www.w3.org/2005/08/addressing"
40            schemaLocation="http://www.w3.org/2002/ws/addr/ns/ws-addr" />
41         <xsd:complexType name="MOBY_async_OutputType">
42            <xsd:sequence minOccurs="1" maxOccurs="1">
43               <xsd:element ref="wsa:EndpointReference"/>
44            </xsd:sequence>
45         </xsd:complexType>
46         
47         <xsd:element name="ResourceProperties">
48            <xsd:complexType>
49               <xsd:sequence>
50                  <xsd:any minOccurs="0" maxOccurs="unbounded"/>
51               </xsd:sequence>
52            </xsd:complexType>
53         </xsd:element>
54      </xsd:schema>
55   </wsdl:types>
56   <wsdl:message name="sayHelloInput">
57      <wsdl:part name="data" type="xsd:string"/>
58   </wsdl:message>
59   <wsdl:message name="sayHelloOutput">
60      <wsdl:part name="body" type="xsd:string"/>
61   </wsdl:message>
62   <wsdl:message name="sayHello_submitInput">
63      <wsdl:part name="data" type="xsd:string"/>
64   </wsdl:message>
65   <wsdl:message name="sayHello_submitOutput">
66      <wsdl:part name="body" type="tns:MOBY_async_OutputType"/>
67   </wsdl:message>
68   <wsdl:portType name="sayHelloPortType" wsrp:ResourceProperties="tns:ResourceProperties">
69      <wsdl:operation name="sayHello">
70         <wsdl:input message="tns:sayHelloInput"/>
71         <wsdl:output message="tns:sayHelloOutput"/>
72      </wsdl:operation>
73      <wsdl:operation name="sayHello_submit">
74         <wsdl:input message="tns:sayHello_submitInput"/>
75         <wsdl:output message="tns:sayHello_submitOutput"/>
76      </wsdl:operation>
77   </wsdl:portType>
78   <wsdl:portType name="WSRF_Operations_PortType" wsrp:ResourceProperties="tns:ResourceProperties">
79      <wsdl:operation name="GetResourceProperty">
80         <wsdl:input name="GetResourcePropertyRequest" message="wsrpw:GetResourcePropertyRequest"/>
81         <wsdl:output name="GetResourcePropertyResponse" message="wsrpw:GetResourcePropertyResponse"/>
82         <wsdl:fault name="ResourceUnknownFault" message="wsrw:ResourceUnknownFault"/>
83         <wsdl:fault name="ResourceUnavailableFault" message="wsrw:ResourceUnavailableFault"/>
84         <wsdl:fault name="InvalidResourcePropertyQNameFault"
85            message="wsrpw:InvalidResourcePropertyQNameFault"/>
86      </wsdl:operation>
87      <wsdl:operation name="GetMultipleResourceProperties">
88         <wsdl:input name="GetMultipleResourcePropertiesRequest"
89            message="wsrpw:GetMultipleResourcePropertiesRequest"/>
90         <wsdl:output name="GetMultipleResourcePropertiesResponse"
91            message="wsrpw:GetMultipleResourcePropertiesResponse"/>
92         <wsdl:fault name="ResourceUnknownFault" message="wsrw:ResourceUnknownFault"/>
93         <wsdl:fault name="ResourceUnavailableFault" message="wsrw:ResourceUnavailableFault"/>
94         <wsdl:fault name="InvalidResourcePropertyQNameFault"
95            message="wsrpw:InvalidResourcePropertyQNameFault"/>
96      </wsdl:operation>
97      <wsdl:operation name="Destroy">
98         <wsdl:input message="wsrlw:DestroyRequest"/>
99         <wsdl:output message="wsrlw:DestroyResponse"/>
100         <wsdl:fault name="ResourceUnknownFault" message="wsrw:ResourceUnknownFault"/>
101         <wsdl:fault name="ResourceUnavailableFault" message="wsrw:ResourceUnavailableFault"/>
102         <wsdl:fault name="ResourceNotDestroyedFault" message="wsrlw:ResourceNotDestroyedFault"/>
103      </wsdl:operation>
104   </wsdl:portType>
105   <wsdl:binding name="sayHelloBinding" type="tns:sayHelloPortType">
106      <soap:binding style="rpc" transport="http://schemas.xmlsoap.org/soap/http"/>
107      <wsdl:operation name="sayHello">
108         <soap:operation soapAction="http://biomoby.org/#sayHello" style="rpc"/>
109         <wsdl:input>
110            <soap:body use="encoded" namespace="http://biomoby.org/"
111               encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"/>
112         </wsdl:input>
113         <wsdl:output>
114            <soap:body use="encoded" namespace="http://biomoby.org/"
115               encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"/>
116         </wsdl:output>
117      </wsdl:operation>
118      <wsdl:operation name="sayHello_submit">
119         <soap:operation soapAction="http://biomoby.org/#sayHello_submit" style="rpc"/>
120         <wsdl:input>
121            <soap:body use="encoded" namespace="http://biomoby.org/"
122               encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"/>
123         </wsdl:input>
124         <wsdl:output>
125            <soap:body use="encoded" namespace="http://biomoby.org/"
126               encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"/>
127         </wsdl:output>
128      </wsdl:operation>
129   </wsdl:binding>
130   <wsdl:binding name="WSRF_Operations_Binding" type="tns:WSRF_Operations_PortType">
131      <soap:binding style="document" transport="http://schemas.xmlsoap.org/soap/http"/>
132      <wsdl:operation name="GetResourceProperty">
133         <soap:operation />
134         <wsdl:input>
135            <soap:body use="literal"/>
136         </wsdl:input>
137         <wsdl:output>
138            <soap:body use="literal"/>
139         </wsdl:output>
140         <wsdl:fault name="ResourceUnknownFault">
141            <soap:fault name="ResourceUnknownFault" use="literal"/>
142         </wsdl:fault>
143         <wsdl:fault name="ResourceUnavailableFault">
144            <soap:fault name="ResourceUnavailableFault" use="literal"/>
145         </wsdl:fault>
146         <wsdl:fault name="InvalidResourcePropertyQNameFault">
147            <soap:fault name="InvalidResourcePropertyQNameFault" use="literal"/>
148         </wsdl:fault>
149      </wsdl:operation>
150      <wsdl:operation name="GetMultipleResourceProperties">
151         <soap:operation />
152         <wsdl:input>
153            <soap:body use="literal"/>
154         </wsdl:input>
155         <wsdl:output>
156            <soap:body use="literal"/>
157         </wsdl:output>
158         <wsdl:fault name="ResourceUnknownFault">
159            <soap:fault name="ResourceUnknownFault" use="literal"/>
160         </wsdl:fault>
161         <wsdl:fault name="ResourceUnavailableFault">
162            <soap:fault name="ResourceUnavailableFault" use="literal"/>
163         </wsdl:fault>
164         <wsdl:fault name="InvalidResourcePropertyQNameFault">
165            <soap:fault name="InvalidResourcePropertyQNameFault" use="literal"/>
166         </wsdl:fault>
167      </wsdl:operation>
168      <wsdl:operation name="Destroy">
169         <soap:operation />
170         <wsdl:input>
171            <soap:body use="literal"/>
172         </wsdl:input>
173         <wsdl:output>
174            <soap:body use="literal"/>
175         </wsdl:output>
176         <wsdl:fault name="ResourceUnknownFault">
177            <soap:fault name="ResourceUnknownFault" use="literal"/>
178         </wsdl:fault>
179         <wsdl:fault name="ResourceUnavailableFault">
180            <soap:fault name="ResourceUnavailableFault" use="literal"/>
181         </wsdl:fault>
182         <wsdl:fault name="ResourceNotDestroyedFault">
183            <soap:fault name="ResourceNotDestroyedFault" use="literal"/>
184         </wsdl:fault>
185      </wsdl:operation>
186   </wsdl:binding>
187   <wsdl:service name="sayHelloService">
188      <wsdl:documentation>Authority: cnio.es  -  MOBY services that check the Async MBOY libraries</wsdl:documentation>
189      <wsdl:port name="sayHelloPort" binding="tns:sayHelloBinding">
190         <soap:address location="http://ubio.bioinfo.cnio.es/inb/cgi-bin/async-MOBY-test/async-MOBY-test.cgi"/>
191      </wsdl:port>
192      <wsdl:port name="WSRF_Operations_Port" binding="tns:WSRF_Operations_Binding">
193         <soap:address location="http://ubio.bioinfo.cnio.es/inb/cgi-bin/async-MOBY-test/async-MOBY-test.cgi"/>
194      </wsdl:port>
195   </wsdl:service>
196</wsdl:definitions>