isbnservice.wsdl 3.6 KB
Newer Older
Nicolas Dolet's avatar
Nicolas Dolet committed
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86
<?xml version="1.0" encoding="UTF-8"?>
<definitions xmlns="http://schemas.xmlsoap.org/wsdl/" xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/" xmlns:tns="http://webservices.daehosting.com/ISBN" name="ISBNService" targetNamespace="http://webservices.daehosting.com/ISBN">
  <types>
    <xs:schema elementFormDefault="qualified" targetNamespace="http://webservices.daehosting.com/ISBN">
      <xs:element name="IsValidISBN13">
        <xs:complexType>
          <xs:sequence>
            <xs:element name="sISBN" type="xs:string"/>
          </xs:sequence>
        </xs:complexType>
      </xs:element>
      <xs:element name="IsValidISBN13Response">
        <xs:complexType>
          <xs:sequence>
            <xs:element name="IsValidISBN13Result" type="xs:boolean"/>
          </xs:sequence>
        </xs:complexType>
      </xs:element>
      <xs:element name="IsValidISBN10">
        <xs:complexType>
          <xs:sequence>
            <xs:element name="sISBN" type="xs:string"/>
          </xs:sequence>
        </xs:complexType>
      </xs:element>
      <xs:element name="IsValidISBN10Response">
        <xs:complexType>
          <xs:sequence>
            <xs:element name="IsValidISBN10Result" type="xs:boolean"/>
          </xs:sequence>
        </xs:complexType>
      </xs:element>
    </xs:schema>
  </types>
  <message name="IsValidISBN13SoapRequest">
    <part name="parameters" element="tns:IsValidISBN13"/>
  </message>
  <message name="IsValidISBN13SoapResponse">
    <part name="parameters" element="tns:IsValidISBN13Response"/>
  </message>
  <message name="IsValidISBN10SoapRequest">
    <part name="parameters" element="tns:IsValidISBN10"/>
  </message>
  <message name="IsValidISBN10SoapResponse">
    <part name="parameters" element="tns:IsValidISBN10Response"/>
  </message>
  <portType name="ISBNServiceSoapType">
    <operation name="IsValidISBN13">
      <documentation>The test is done by calculation on the first 12 digits and compare the result with the checksum number at the end. You have to pass a 13 digits number.</documentation>
      <input message="tns:IsValidISBN13SoapRequest"/>
      <output message="tns:IsValidISBN13SoapResponse"/>
    </operation>
    <operation name="IsValidISBN10">
      <documentation>The test is done by calculation on the first 9 digits and compare the result with the checksum number at the end. You have to pass a 10 digits number or 8 digits and an X.</documentation>
      <input message="tns:IsValidISBN10SoapRequest"/>
      <output message="tns:IsValidISBN10SoapResponse"/>
    </operation>
  </portType>
  <binding name="ISBNServiceSoapBinding" type="tns:ISBNServiceSoapType">
    <soap:binding style="document" transport="http://schemas.xmlsoap.org/soap/http"/>
    <operation name="IsValidISBN13">
      <soap:operation soapAction="" style="document"/>
      <input>
        <soap:body use="literal"/>
      </input>
      <output>
        <soap:body use="literal"/>
      </output>
    </operation>
    <operation name="IsValidISBN10">
      <soap:operation soapAction="" style="document"/>
      <input>
        <soap:body use="literal"/>
      </input>
      <output>
        <soap:body use="literal"/>
      </output>
    </operation>
  </binding>
  <service name="ISBNService">
    <documentation>Visual DataFlex Web Service to validate ISBN numbers.</documentation>
    <port name="ISBNServiceSoap" binding="tns:ISBNServiceSoapBinding">
      <soap:address location="http://webservices.daehosting.com/services/isbnservice.wso"/>
    </port>
  </service>
</definitions>