view service/src/main/webapp/WEB-INF/DigilibService.wsdl @ 7:39c4892724ae

new version with maven modules for service and client.
author casties
date Thu, 16 Jun 2011 17:33:06 +0200
parents src/main/webapp/WEB-INF/DigilibService.wsdl@f723439bd23e
children
line wrap: on
line source

<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<wsdl:definitions xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/"
  xmlns:tns="http://textgrid.info/namespaces/middleware/digilib/services/DigilibService"
  xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/" xmlns:xsd="http://www.w3.org/2001/XMLSchema"
  name="DigilibService"
  targetNamespace="http://textgrid.info/namespaces/middleware/digilib/services/DigilibService">
  <wsdl:types>
    <xsd:schema
      targetNamespace="http://textgrid.info/namespaces/middleware/digilib/services/DigilibService">
      <xsd:element name="getScaledImage">
        <xsd:complexType>
          <xsd:sequence>
            <xsd:element name="sessionId" type="xsd:string"
              minOccurs="1" maxOccurs="1" />
            <xsd:element name="uri" type="xsd:anyURI"
              minOccurs="1" maxOccurs="1">
            </xsd:element>
            <xsd:element name="query" type="xsd:string"
              minOccurs="1" maxOccurs="1"></xsd:element>
            <xsd:element name="logParameter" type="xsd:string"></xsd:element>
          </xsd:sequence>
        </xsd:complexType>
      </xsd:element>
      <xsd:element name="getScaledImageResponse">
        <xsd:complexType>
          <xsd:sequence>
            <xsd:element name="mimeType" type="xsd:string"
              minOccurs="1" maxOccurs="1" />
            <xsd:element name="imageData" type="xsd:base64Binary"
              minOccurs="1" maxOccurs="1">
            </xsd:element>
            <xsd:element name="width" type="xsd:int"></xsd:element>
            <xsd:element name="height" type="xsd:int"></xsd:element>
          </xsd:sequence>
        </xsd:complexType>
      </xsd:element>
    </xsd:schema>
  </wsdl:types>
  <wsdl:message name="getScaledImageRequest">
    <wsdl:part element="tns:getScaledImage" name="parameters" />
  </wsdl:message>
  <wsdl:message name="getScaledImageResponse">
    <wsdl:part element="tns:getScaledImageResponse" name="parameters" />
  </wsdl:message>
  <wsdl:portType name="DigilibServicePortType">
    <wsdl:operation name="getScaledImage">
      <wsdl:input message="tns:getScaledImageRequest" />
      <wsdl:output message="tns:getScaledImageResponse" />
    </wsdl:operation>
  </wsdl:portType>
  <wsdl:binding name="DigilibServiceSoapBinding" type="tns:DigilibServicePortType">
    <soap:binding style="document"
      transport="http://schemas.xmlsoap.org/soap/http" />
    <wsdl:operation name="getScaledImage">
      <soap:operation
        soapAction="http://textgrid.info/namespaces/middleware/digilib/services/DigilibService" />
      <wsdl:input>
        <soap:body use="literal" />
      </wsdl:input>
      <wsdl:output>
        <soap:body use="literal" />
      </wsdl:output>
    </wsdl:operation>
  </wsdl:binding>
  <wsdl:service name="DigilibService">
    <wsdl:port binding="tns:DigilibServiceSoapBinding" name="DigilibServicePort">
      <soap:address
        location="http://localhost:8080/digilibservice-service/service" />
    </wsdl:port>
  </wsdl:service>
</wsdl:definitions>