source: vanHelsing/trunk/src/VanHelsing.wsdl@ 846

Last change on this file since 846 was 839, checked in by slederer, on Mar 12, 2010 at 5:11:50 PM

neue SOAP-Operation getSimpleResource implementiert

File size: 4.4 KB
Line 
1<?xml version="1.0" encoding="UTF-8" standalone="no"?>
2<wsdl:definitions xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/" xmlns:tns="http://www.dass-it.de/VanHelsing/" xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/" xmlns:xsd="http://www.w3.org/2001/XMLSchema" name="VanHelsing" targetNamespace="http://www.dass-it.de/VanHelsing/">
3 <wsdl:types>
4 <xsd:schema targetNamespace="http://www.dass-it.de/VanHelsing/">
5 <xsd:element name="listResources" type="tns:listResourcesType">
6 </xsd:element>
7 <xsd:element name="listResourcesResponse" type="tns:resourceListType">
8 </xsd:element>
9 <xsd:complexType name="listResourcesType">
10 <xsd:sequence>
11 <xsd:element name="resourceType" type="xsd:string"></xsd:element>
12 <xsd:element name="director" type="xsd:string"></xsd:element>
13 </xsd:sequence>
14 </xsd:complexType>
15 <xsd:complexType name="resourceListType">
16 <xsd:sequence>
17 <xsd:element name="resource" type="tns:ResourceInfo" maxOccurs="unbounded" minOccurs="0"></xsd:element>
18 </xsd:sequence>
19 </xsd:complexType>
20
21 <xsd:complexType name="ResourceInfo">
22 <xsd:sequence>
23 <xsd:element name="resId" type="xsd:int"></xsd:element>
24 <xsd:element name="resType" type="xsd:string"></xsd:element>
25 <xsd:element name="resName" type="xsd:string"></xsd:element>
26 <xsd:element name="director" type="xsd:string"></xsd:element>
27 </xsd:sequence>
28 </xsd:complexType>
29 <xsd:element name="getSimpleResource" type="tns:getResourceType"></xsd:element>
30 <xsd:element name="getSimpleResourceResponse">
31 <xsd:complexType>
32 <xsd:sequence>
33 <xsd:element name="resInfo" type="tns:ResourceInfo"></xsd:element>
34 <xsd:element name="resAttribute" type="tns:ResourceAttributeType" maxOccurs="unbounded" minOccurs="0"></xsd:element>
35 </xsd:sequence>
36 </xsd:complexType>
37 </xsd:element>
38
39 <xsd:complexType name="ResourceAttributeType">
40 <xsd:sequence>
41 <xsd:element name="key" type="xsd:string"></xsd:element>
42 <xsd:element name="value" type="xsd:string"></xsd:element>
43 </xsd:sequence>
44 </xsd:complexType>
45
46
47 <xsd:complexType name="getResourceType">
48 <xsd:sequence>
49 <xsd:element name="resId" type="xsd:int"></xsd:element>
50 <xsd:element name="director" type="xsd:string"></xsd:element>
51 </xsd:sequence>
52 </xsd:complexType>
53 </xsd:schema>
54 </wsdl:types>
55 <wsdl:message name="listResourcesRequest">
56 <wsdl:part name="resourceType" element="tns:listResources"/>
57 </wsdl:message>
58 <wsdl:message name="listResourcesResponse">
59 <wsdl:part element="tns:listResourcesResponse" name="resultList"/>
60 </wsdl:message>
61 <wsdl:message name="getSimpleResourceRequest">
62 <wsdl:part name="resourceId" element="tns:getSimpleResource"></wsdl:part>
63 </wsdl:message>
64 <wsdl:message name="getSimpleResourceResponse">
65 <wsdl:part name="parameters" element="tns:getSimpleResourceResponse"></wsdl:part>
66 </wsdl:message>
67 <wsdl:portType name="VanHelsing">
68 <wsdl:operation name="listResources">
69 <wsdl:input message="tns:listResourcesRequest"/>
70 <wsdl:output message="tns:listResourcesResponse"/>
71 </wsdl:operation>
72 <wsdl:operation name="getSimpleResource">
73 <wsdl:input message="tns:getSimpleResourceRequest"></wsdl:input>
74 <wsdl:output message="tns:getSimpleResourceResponse"></wsdl:output>
75 </wsdl:operation>
76 </wsdl:portType>
77 <wsdl:binding name="VanHelsingSOAP" type="tns:VanHelsing">
78 <soap:binding style="document"
79 transport="http://schemas.xmlsoap.org/soap/http" />
80 <wsdl:operation name="listResources">
81 <soap:operation
82 soapAction="http://www.dass-it.de/VanHelsing/listResources" />
83 <wsdl:input>
84 <soap:body use="literal" />
85 </wsdl:input>
86 <wsdl:output>
87 <soap:body use="literal" />
88 </wsdl:output>
89 </wsdl:operation>
90 <wsdl:operation name="getSimpleResource">
91 <soap:operation
92 soapAction="http://www.dass-it.de/VanHelsing/getResource" />
93 <wsdl:input>
94 <soap:body use="literal" />
95 </wsdl:input>
96 <wsdl:output>
97 <soap:body use="literal" />
98 </wsdl:output>
99 </wsdl:operation>
100 </wsdl:binding>
101 <wsdl:service name="VanHelsing">
102 <wsdl:port binding="tns:VanHelsingSOAP" name="VanHelsingSOAP">
103 <soap:address location="http://localhost:8080/"/>
104 </wsdl:port>
105 </wsdl:service>
106</wsdl:definitions>
Note: See TracBrowser for help on using the repository browser.