Ignore:
Timestamp:
Mar 12, 2010, 5:11:50 PM (14 years ago)
Author:
slederer
Message:

neue SOAP-Operation getSimpleResource implementiert

File:
1 edited

Legend:

Unmodified
Added
Removed
  • vanHelsing/trunk/src/VanHelsing.wsdl

    r837 r839  
    2727        </xsd:sequence>
    2828      </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>
    2953    </xsd:schema>
    3054  </wsdl:types>
     
    3559    <wsdl:part element="tns:listResourcesResponse" name="resultList"/>
    3660  </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>
    3767  <wsdl:portType name="VanHelsing">
    3868    <wsdl:operation name="listResources">
     
    4070      <wsdl:output message="tns:listResourcesResponse"/>
    4171    </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>
    4276  </wsdl:portType>
    4377  <wsdl:binding name="VanHelsingSOAP" type="tns:VanHelsing">
    44     <soap:binding style="document" transport="http://schemas.xmlsoap.org/soap/http"/>
    45     <wsdl:operation name="listResources">
    46       <soap:operation soapAction="http://localhost:8080/"/>
    47       <wsdl:input>
    48         <soap:body use="literal"/>
    49       </wsdl:input>
    50       <wsdl:output>
    51         <soap:body use="literal"/>
    52       </wsdl:output>
    53     </wsdl:operation>
     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>
    54100  </wsdl:binding>
    55101  <wsdl:service name="VanHelsing">
Note: See TracChangeset for help on using the changeset viewer.