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

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

node replacement added.

File size: 5.8 KB
RevLine 
[823]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/">
[855]5 <xsd:element name="listResources" type="tns:listResourcesType"></xsd:element>
6 <xsd:element name="listResourcesResponse" type="tns:resourceListType"></xsd:element>
[824]7 <xsd:complexType name="listResourcesType">
[823]8 <xsd:sequence>
[824]9 <xsd:element name="resourceType" type="xsd:string"></xsd:element>
10 <xsd:element name="director" type="xsd:string"></xsd:element>
[823]11 </xsd:sequence>
12 </xsd:complexType>
[824]13 <xsd:complexType name="resourceListType">
14 <xsd:sequence>
[837]15 <xsd:element name="resource" type="tns:ResourceInfo" maxOccurs="unbounded" minOccurs="0"></xsd:element>
[824]16 </xsd:sequence>
[823]17 </xsd:complexType>
18
[824]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>
[839]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>
[855]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>
[823]67 </xsd:schema>
68 </wsdl:types>
69 <wsdl:message name="listResourcesRequest">
[824]70 <wsdl:part name="resourceType" element="tns:listResources"/>
[823]71 </wsdl:message>
72 <wsdl:message name="listResourcesResponse">
[824]73 <wsdl:part element="tns:listResourcesResponse" name="resultList"/>
[823]74 </wsdl:message>
[839]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>
[855]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>
[823]87 <wsdl:portType name="VanHelsing">
[855]88
[823]89 <wsdl:operation name="listResources">
[824]90 <wsdl:input message="tns:listResourcesRequest"/>
91 <wsdl:output message="tns:listResourcesResponse"/>
[823]92 </wsdl:operation>
[839]93 <wsdl:operation name="getSimpleResource">
94 <wsdl:input message="tns:getSimpleResourceRequest"></wsdl:input>
95 <wsdl:output message="tns:getSimpleResourceResponse"></wsdl:output>
96 </wsdl:operation>
[855]97 <wsdl:operation name="setSimpleResource">
98 <wsdl:input message="tns:setSimpleResourceRequest"></wsdl:input>
99 <wsdl:output message="tns:setSimpleResourceResponse"></wsdl:output>
100 </wsdl:operation>
[823]101 </wsdl:portType>
102 <wsdl:binding name="VanHelsingSOAP" type="tns:VanHelsing">
[839]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>
[855]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
[823]135 </wsdl:binding>
136 <wsdl:service name="VanHelsing">
137 <wsdl:port binding="tns:VanHelsingSOAP" name="VanHelsingSOAP">
[824]138 <soap:address location="http://localhost:8080/"/>
[823]139 </wsdl:port>
140 </wsdl:service>
141</wsdl:definitions>
Note: See TracBrowser for help on using the repository browser.