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

Last change on this file since 855 was 855, checked in by tobias, on Mar 26, 2010 at 6:42:38 PM

node replacement added.

File size: 5.8 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"></xsd:element>
6 <xsd:element name="listResourcesResponse" type="tns:resourceListType"></xsd:element>
7 <xsd:complexType name="listResourcesType">
8 <xsd:sequence>
9 <xsd:element name="resourceType" type="xsd:string"></xsd:element>
10 <xsd:element name="director" type="xsd:string"></xsd:element>
11 </xsd:sequence>
12 </xsd:complexType>
13 <xsd:complexType name="resourceListType">
14 <xsd:sequence>
15 <xsd:element name="resource" type="tns:ResourceInfo" maxOccurs="unbounded" minOccurs="0"></xsd:element>
16 </xsd:sequence>
17 </xsd:complexType>
18
19 <xsd:complexType name="ResourceInfo">
20 <xsd:sequence>
21 <xsd:element name="resId" type="xsd:int"></xsd:element>
22 <xsd:element name="resType" type="xsd:string"></xsd:element>
23 <xsd:element name="resName" type="xsd:string"></xsd:element>
24 <xsd:element name="director" type="xsd:string"></xsd:element>
25 </xsd:sequence>
26 </xsd:complexType>
27 <xsd:element name="getSimpleResource" type="tns:getResourceType"></xsd:element>
28 <xsd:element name="getSimpleResourceResponse">
29 <xsd:complexType>
30 <xsd:sequence>
31 <xsd:element name="resInfo" type="tns:ResourceInfo"></xsd:element>
32 <xsd:element name="resAttribute" type="tns:ResourceAttributeType" maxOccurs="unbounded" minOccurs="0"></xsd:element>
33 </xsd:sequence>
34 </xsd:complexType>
35 </xsd:element>
36
37 <xsd:complexType name="ResourceAttributeType">
38 <xsd:sequence>
39 <xsd:element name="key" type="xsd:string"></xsd:element>
40 <xsd:element name="value" type="xsd:string"></xsd:element>
41 </xsd:sequence>
42 </xsd:complexType>
43
44
45 <xsd:complexType name="getResourceType">
46 <xsd:sequence>
47 <xsd:element name="resId" type="xsd:int"></xsd:element>
48 <xsd:element name="director" type="xsd:string"></xsd:element>
49 </xsd:sequence>
50 </xsd:complexType>
51 <xsd:element name="setSimpleResource">
52 <xsd:complexType>
53 <xsd:sequence>
54 <xsd:element name="resInfo" type="tns:ResourceInfo"></xsd:element>
55 <xsd:element name="resAttribute" type="tns:ResourceAttributeType" maxOccurs="unbounded" minOccurs="0"></xsd:element>
56 </xsd:sequence>
57 </xsd:complexType>
58 </xsd:element>
59 <xsd:element name="setSimpleResourceResponse">
60 <xsd:complexType>
61 <xsd:sequence>
62 <xsd:element name="resId" type="xsd:int"></xsd:element>
63 <xsd:element name="status" type="xsd:string"></xsd:element>
64 </xsd:sequence>
65 </xsd:complexType>
66 </xsd:element>
67 </xsd:schema>
68 </wsdl:types>
69 <wsdl:message name="listResourcesRequest">
70 <wsdl:part name="resourceType" element="tns:listResources"/>
71 </wsdl:message>
72 <wsdl:message name="listResourcesResponse">
73 <wsdl:part element="tns:listResourcesResponse" name="resultList"/>
74 </wsdl:message>
75 <wsdl:message name="getSimpleResourceRequest">
76 <wsdl:part name="resourceId" element="tns:getSimpleResource"></wsdl:part>
77 </wsdl:message>
78 <wsdl:message name="getSimpleResourceResponse">
79 <wsdl:part name="parameters" element="tns:getSimpleResourceResponse"></wsdl:part>
80 </wsdl:message>
81 <wsdl:message name="setSimpleResourceRequest">
82 <wsdl:part name="newResource" element="tns:setSimpleResource"></wsdl:part>
83 </wsdl:message>
84 <wsdl:message name="setSimpleResourceResponse">
85 <wsdl:part name="setResponse" element="tns:setSimpleResourceResponse"></wsdl:part>
86 </wsdl:message>
87 <wsdl:portType name="VanHelsing">
88
89 <wsdl:operation name="listResources">
90 <wsdl:input message="tns:listResourcesRequest"/>
91 <wsdl:output message="tns:listResourcesResponse"/>
92 </wsdl:operation>
93 <wsdl:operation name="getSimpleResource">
94 <wsdl:input message="tns:getSimpleResourceRequest"></wsdl:input>
95 <wsdl:output message="tns:getSimpleResourceResponse"></wsdl:output>
96 </wsdl:operation>
97 <wsdl:operation name="setSimpleResource">
98 <wsdl:input message="tns:setSimpleResourceRequest"></wsdl:input>
99 <wsdl:output message="tns:setSimpleResourceResponse"></wsdl:output>
100 </wsdl:operation>
101 </wsdl:portType>
102 <wsdl:binding name="VanHelsingSOAP" type="tns:VanHelsing">
103 <soap:binding style="document"
104 transport="http://schemas.xmlsoap.org/soap/http" />
105 <wsdl:operation name="listResources">
106 <soap:operation
107 soapAction="http://www.dass-it.de/VanHelsing/listResources" />
108 <wsdl:input>
109 <soap:body use="literal" />
110 </wsdl:input>
111 <wsdl:output>
112 <soap:body use="literal" />
113 </wsdl:output>
114 </wsdl:operation>
115 <wsdl:operation name="getSimpleResource">
116 <soap:operation
117 soapAction="http://www.dass-it.de/VanHelsing/getResource" />
118 <wsdl:input>
119 <soap:body use="literal" />
120 </wsdl:input>
121 <wsdl:output>
122 <soap:body use="literal" />
123 </wsdl:output>
124 </wsdl:operation>
125 <wsdl:operation name="setSimpleResource">
126 <soap:operation
127 soapAction="http://www.dass-it.de/VanHelsing/setResource" />
128 <wsdl:input>
129 <soap:body use="literal" />
130 </wsdl:input>
131 <wsdl:output>
132 <soap:body use="literal" />
133 </wsdl:output>
134 </wsdl:operation>l
135 </wsdl:binding>
136 <wsdl:service name="VanHelsing">
137 <wsdl:port binding="tns:VanHelsingSOAP" name="VanHelsingSOAP">
138 <soap:address location="http://localhost:8080/"/>
139 </wsdl:port>
140 </wsdl:service>
141</wsdl:definitions>
Note: See TracBrowser for help on using the repository browser.