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

Last change on this file since 823 was 823, checked in by slederer, on Feb 12, 2010 at 2:50:32 PM

Funktionen für SOAP-API hinzugefügt, Entwurf für WSDL-File

File size: 5.9 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="ResourceName" type="tns:ResourceNameType">
6 </xsd:element>
7 <xsd:element name="ResourceResponse"
8 type="tns:Resource">
9 </xsd:element>
10
11 <xsd:complexType name="Resource">
12
13 <xsd:sequence>
14 <xsd:element name="attributes" type="tns:Attribute"></xsd:element>
15 </xsd:sequence>
16 <xsd:attribute name="id" type="xsd:int"></xsd:attribute>
17 <xsd:attribute name="type" type="xsd:string"></xsd:attribute>
18 <xsd:attribute name="name" type="xsd:string"></xsd:attribute>
19 <xsd:attribute name="director" type="xsd:string"></xsd:attribute>
20 </xsd:complexType>
21
22 <xsd:complexType name="Attribute">
23 <xsd:attribute name="key" type="xsd:string"></xsd:attribute>
24 <xsd:attribute name="value" type="xsd:string"></xsd:attribute>
25 </xsd:complexType>
26 <xsd:element name="in" type="xsd:string"></xsd:element>
27 <xsd:element name="getResourceByIdResponse">
28 <xsd:complexType>
29 <xsd:sequence>
30 <xsd:element name="out" type="xsd:string"></xsd:element>
31 </xsd:sequence>
32 </xsd:complexType>
33 </xsd:element>
34 <xsd:complexType name="ResourceIdType">
35 <xsd:attribute name="id" type="xsd:int"></xsd:attribute>
36 <xsd:attribute name="director" type="xsd:string"></xsd:attribute>
37 </xsd:complexType>
38 <xsd:element name="ResourceId" type="tns:ResourceIdType"></xsd:element>
39 <xsd:complexType name="ResourceNameType">
40 <xsd:attribute name="type" type="xsd:string"></xsd:attribute>
41 <xsd:attribute name="name" type="xsd:string"></xsd:attribute>
42 <xsd:attribute name="director" type="xsd:string"></xsd:attribute>
43 </xsd:complexType>
44
45 <xsd:complexType name="ResourceInfo">
46 <xsd:attribute name="id" type="xsd:int"></xsd:attribute>
47 <xsd:attribute name="type" type="xsd:string"></xsd:attribute>
48 <xsd:attribute name="name" type="xsd:string"></xsd:attribute>
49 <xsd:attribute name="director" type="xsd:string"></xsd:attribute>
50 </xsd:complexType>
51
52 <xsd:attribute name="NewAttribute" type="xsd:string"></xsd:attribute>
53
54
55
56 <xsd:element name="in1" type="xsd:string"></xsd:element>
57 <xsd:element name="getResourcesByTypeResponse">
58 <xsd:complexType>
59 <xsd:sequence>
60 <xsd:element name="out" type="xsd:string"></xsd:element>
61 </xsd:sequence>
62 </xsd:complexType>
63 </xsd:element>
64 <xsd:element name="ResourceType" type="tns:ResourceType"></xsd:element>
65
66 <xsd:complexType name="ResourceType">
67 <xsd:attribute name="type" type="xsd:string"></xsd:attribute>
68 <xsd:attribute name="director" type="xsd:string"></xsd:attribute>
69 </xsd:complexType>
70 <xsd:element name="ResourceListResponse"
71 type="tns:ResourceList">
72 </xsd:element>
73
74 <xsd:complexType name="ResourceList">
75 <xsd:sequence maxOccurs="unbounded" minOccurs="0">
76 <xsd:element name="resources" type="tns:ResourceInfo"></xsd:element>
77 </xsd:sequence>
78 </xsd:complexType>
79 </xsd:schema>
80 </wsdl:types>
81 <wsdl:message name="getResourceByNameRequest">
82 <wsdl:part element="tns:ResourceName" name="resourceName" />
83 </wsdl:message>
84 <wsdl:message name="getResourceByNameResponse">
85 <wsdl:part name="resourceResult" element="tns:ResourceResponse"/>
86 </wsdl:message>
87 <wsdl:message name="getResourceByIdRequest">
88 <wsdl:part name="resourceId" element="tns:ResourceId"></wsdl:part>
89 </wsdl:message>
90 <wsdl:message name="getResourceByIdResponse">
91 <wsdl:part name="resourceResult" element="tns:ResourceResponse"></wsdl:part>
92 </wsdl:message>
93 <wsdl:message name="listResourcesRequest">
94 <wsdl:part name="resourceType" element="tns:ResourceType"></wsdl:part>
95 </wsdl:message>
96 <wsdl:message name="listResourcesResponse">
97 <wsdl:part name="resourcesResult" element="tns:ResourceListResponse"></wsdl:part>
98 </wsdl:message>
99 <wsdl:portType name="VanHelsing">
100 <wsdl:operation name="getResourceByName">
101 <wsdl:input message="tns:getResourceByNameRequest"/>
102 <wsdl:output message="tns:getResourceByNameResponse"/>
103 </wsdl:operation>
104 <wsdl:operation name="getResourceById">
105 <wsdl:input message="tns:getResourceByIdRequest"></wsdl:input>
106 <wsdl:output message="tns:getResourceByIdResponse"></wsdl:output>
107 </wsdl:operation>
108 <wsdl:operation name="listResources">
109 <wsdl:input message="tns:listResourcesRequest"></wsdl:input>
110 <wsdl:output message="tns:listResourcesResponse"></wsdl:output>
111 </wsdl:operation>
112 </wsdl:portType>
113 <wsdl:binding name="VanHelsingSOAP" type="tns:VanHelsing">
114 <soap:binding style="document" transport="http://schemas.xmlsoap.org/soap/http"/>
115 <wsdl:operation name="getResourceByName">
116 <soap:operation soapAction="http://www.dass-it.de/VanHelsing/NewOperation"/>
117 <wsdl:input>
118 <soap:body use="literal"/>
119 </wsdl:input>
120 <wsdl:output>
121 <soap:body use="literal"/>
122 </wsdl:output>
123 </wsdl:operation>
124 </wsdl:binding>
125 <wsdl:service name="VanHelsing">
126 <wsdl:port binding="tns:VanHelsingSOAP" name="VanHelsingSOAP">
127 <soap:address location="http://www.dass-it.de/VanHelsing"/>
128 </wsdl:port>
129 </wsdl:service>
130</wsdl:definitions>
Note: See TracBrowser for help on using the repository browser.