source: vanHelsing/trunk/src/VanHelsingItems.wsdl @ 835

Last change on this file since 835 was 835, checked in by tobias, 13 years ago

added VanHelsingItems.wsdl

File size: 4.3 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:element name="listResourceItems" type="tns:listResourcesType">
10      </xsd:element>
11      <xsd:element name="listResourceItemsResponse" type="tns:resourceItemList">
12      </xsd:element>
13     
14      <xsd:complexType name="resourceItemList">
15              <xsd:sequence>
16                      <xsd:element name="resourceItemListElement" type="tns:ResourceItem" maxOccurs="unbounded" minOccurs="0"></xsd:element>
17              </xsd:sequence>
18      </xsd:complexType>
19
20      <xsd:complexType name="listResourcesType">
21        <xsd:sequence>
22                <xsd:element name="resourceType" type="xsd:string"></xsd:element>
23                <xsd:element name="director" type="xsd:string"></xsd:element>
24        </xsd:sequence>
25      </xsd:complexType>
26      <xsd:complexType name="resourceListType">
27        <xsd:sequence>
28                <xsd:element name="resourceList" type="tns:ResourceInfo" maxOccurs="unbounded" minOccurs="0"></xsd:element>
29        </xsd:sequence>
30      </xsd:complexType>
31   
32      <xsd:complexType name="ResourceInfo">
33        <xsd:sequence>
34                <xsd:element name="resId" type="xsd:int"></xsd:element>
35                <xsd:element name="resType" type="xsd:string"></xsd:element>
36                <xsd:element name="resName" type="xsd:string"></xsd:element>
37                <xsd:element name="director" type="xsd:string"></xsd:element>
38        </xsd:sequence>
39      </xsd:complexType>
40      <xsd:complexType name="ResourceItem">
41              <xsd:sequence>
42                <xsd:element name="resId" type="xsd:int" />
43                <xsd:element name="resName" type="xsd:string" />
44                <xsd:element name="resKey" type="xsd:string"></xsd:element>
45                <xsd:element name="resValue" type="xsd:string" />
46                <xsd:element name="director" type="xsd:string" />
47              </xsd:sequence>
48      </xsd:complexType>
49    </xsd:schema>
50
51  </wsdl:types>
52 
53  <wsdl:message name="listResourcesRequest">
54    <wsdl:part name="resourceType" element="tns:listResources"/>
55  </wsdl:message>
56  <wsdl:message name="listResourcesResponse">
57    <wsdl:part element="tns:listResourcesResponse" name="resultList"/>
58  </wsdl:message>
59  <wsdl:message name="listResourceItemsRequest">
60        <wsdl:part name="resourceType" element="tns:listResources"></wsdl:part>
61  </wsdl:message>
62  <wsdl:message name="listResourceItemsResponse">
63        <wsdl:part name="resourceItemList" element="tns:listResourceItemsResponse"></wsdl:part>
64  </wsdl:message>
65 
66  <wsdl:portType name="VanHelsing">
67    <wsdl:operation name="listResources">
68      <wsdl:input message="tns:listResourcesRequest"/>
69      <wsdl:output message="tns:listResourcesResponse"/>
70    </wsdl:operation>
71    <wsdl:operation name="listResourceItems">
72        <wsdl:input message="tns:listResourceItemsRequest"></wsdl:input>
73        <wsdl:output message="tns:listResourceItemsResponse"></wsdl:output>
74    </wsdl:operation>
75   
76   
77  </wsdl:portType>
78  <wsdl:binding name="VanHelsingSOAP" type="tns:VanHelsing">
79    <soap:binding style="document" transport="http://schemas.xmlsoap.org/soap/http"/>
80    <wsdl:operation name="listResources">
81      <soap:operation soapAction="http://www.dass-it.de/VanHelsing/NewOperation"/>
82      <wsdl:input>
83        <soap:body use="literal"/>
84      </wsdl:input>
85      <wsdl:output>
86        <soap:body use="literal"/>
87      </wsdl:output>
88    </wsdl:operation>
89    <wsdl:operation name="listResourceItems">
90        <soap:operation soapAction="http://www.dass-it.de/VanHelsing/ItemListOperation" />
91        <wsdl:input>
92                <soap:body use="literal" />
93        </wsdl:input>
94        <wsdl:output>
95                <soap:body use="literal" />
96        </wsdl:output>
97    </wsdl:operation>
98  </wsdl:binding>
99  <wsdl:service name="VanHelsing">
100    <wsdl:port binding="tns:VanHelsingSOAP" name="VanHelsingSOAP">
101      <soap:address location="http://localhost:8080/"/>
102    </wsdl:port>
103  </wsdl:service>
104</wsdl:definitions>
Note: See TracBrowser for help on using the repository browser.