This WSDL file corresponds to the book web service used in Chapter 2, Chapter 5, and Chapter 6.
<?xml version="1.0" encoding="UTF-8"?>
<definitions name="BookService"
targetNamespace="urn:jwsnut.chapter2.bookservice/wsdl/BookQuery"
xmlns:tns="urn:jwsnut.chapter2.bookservice/wsdl/BookQuery"
xmlns="http://schemas.xmlsoap.org/wsdl/"
xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/"
xmlns:xsd="http://www.w3.org/2001/XMLSchema"
xmlns:ns2="urn:jwsnut.chapter2.bookservice/types/BookQuery"
xmlns:ns3="http://java.sun.com/jax-rpc-ri/internal">
<types>
<schema
targetNamespace="urn:jwsnut.chapter2.bookservice/types/BookQuery"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xmlns:tns="urn:jwsnut.chapter2.bookservice/types/BookQuery"
xmlns:soap-enc="http://schemas.xmlsoap.org/soap/encoding/"
xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/"
xmlns="http://www.w3.org/2001/XMLSchema">
<import namespace="http://schemas.xmlsoap.org/soap/encoding/"/>
<import namespace="http://java.sun.com/jax-rpc-ri/internal"/>
<complexType name="ArrayOfBookInfo">
<complexContent>
<restriction base="soap-enc:Array">
<attribute ref="soap-enc:arrayType"
wsdl:arrayType="tns:BookInfo[]"/>
</restriction>
</complexContent>
</complexType>
<complexType name="BookInfo">
<sequence>
<element name="author" type="string"/>
<element name="editor" type="string"/>
<element name="price" type="double"/>
<element name="title" type="string"/>
</sequence>
</complexType>
<complexType name="BookServiceException">
<sequence>
<element name="message" type="string"/>
</sequence>
</complexType>
</schema>
<schema targetNamespace="http://java.sun.com/jax-rpc-ri/internal"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xmlns:tns="http://java.sun.com/jax-rpc-ri/internal"
xmlns:soap-enc="http://schemas.xmlsoap.org/soap/encoding/"
xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/"
xmlns="http://www.w3.org/2001/XMLSchema">
<import namespace="http://schemas.xmlsoap.org/soap/encoding/"/>
<import namespace="urn:jwsnut.chapter2.bookservice/types/BookQuery"/>
<complexType name="hashMap">
<complexContent>
<extension base="tns:map">
<sequence/>
</extension>
</complexContent>
</complexType>
<complexType name="map">
<complexContent>
<restriction base="soap-enc:Array">
<attribute ref="soap-enc:arrayType"
wsdl:arrayType="tns:mapEntry[]"/>
</restriction>
</complexContent>
</complexType>
<complexType name="mapEntry">
<sequence>
<element name="key" type="anyType"/>
<element name="value" type="anyType"/>
</sequence>
</complexType>
</schema>
</types>
<message name="BookQuery_getAuthor">
<part name="String_1" type="xsd:string"/>
</message>
<message name="BookQuery_getAuthorResponse">
<part name="result" type="xsd:string"/>
</message>
<message name="BookQuery_getBookCount"/>
<message name="BookQuery_getBookCountResponse">
<part name="result" type="xsd:int"/>
</message>
<message name="BookQuery_getBookInfo"/>
<message name="BookQuery_getBookInfoResponse">
<part name="result" type="ns2:ArrayOfBookInfo"/>
</message>
<message name="BookQuery_getBookMap"/>
<message name="BookQuery_getBookMapResponse">
<part name="result" type="ns3:hashMap"/>
</message>
<message name="BookQuery_getEditor">
<part name="String_1" type="xsd:string"/>
</message>
<message name="BookQuery_getEditorResponse">
<part name="result" type="xsd:string"/>
</message>
<message name="BookQuery_getPrice">
<part name="String_1" type="xsd:string"/>
</message>
<message name="BookQuery_getPriceResponse">
<part name="result" type="xsd:double"/>
</message>
<message name="BookServiceException">
<part name="BookServiceException" type="ns2:BookServiceException"/>
</message>
<portType name="BookQuery">
<operation name="getAuthor" parameterOrder="String_1">
<input message="tns:BookQuery_getAuthor"/>
<output message="tns:BookQuery_getAuthorResponse"/>
</operation>
<operation name="getBookCount" parameterOrder="">
<input message="tns:BookQuery_getBookCount"/>
<output message="tns:BookQuery_getBookCountResponse"/>
</operation>
<operation name="getBookInfo" parameterOrder="">
<input message="tns:BookQuery_getBookInfo"/>
<output message="tns:BookQuery_getBookInfoResponse"/>
</operation>
<operation name="getBookMap" parameterOrder="">
<input message="tns:BookQuery_getBookMap"/>
<output message="tns:BookQuery_getBookMapResponse"/>
</operation>
<operation name="getEditor" parameterOrder="String_1">
<input message="tns:BookQuery_getEditor"/>
<output message="tns:BookQuery_getEditorResponse"/>
</operation>
<operation name="getPrice" parameterOrder="String_1">
<input message="tns:BookQuery_getPrice"/>
<output message="tns:BookQuery_getPriceResponse"/>
<fault name="BookServiceException"
message="tns:BookServiceException"/>
</operation>
</portType>
<binding name="BookQueryBinding" type="tns:BookQuery">
<operation name="getAuthor">
<input>
<soap:body encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"
use="encoded"
namespace="urn:jwsnut.chapter2.bookservice/wsdl/BookQuery"/>
</input>
<output>
<soap:body encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"
use="encoded"
namespace="urn:jwsnut.chapter2.bookservice/wsdl/BookQuery"/>
</output>
<soap:operation soapAction=""/>
</operation>
<operation name="getBookCount">
<input>
<soap:body encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"
use="encoded"
namespace="urn:jwsnut.chapter2.bookservice/wsdl/BookQuery"/>
</input>
<output>
<soap:body encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"
use="encoded"
namespace="urn:jwsnut.chapter2.bookservice/wsdl/BookQuery"/>
</output>
<soap:operation soapAction=""/>
</operation>
<operation name="getBookInfo">
<input>
<soap:body encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"
use="encoded"
namespace="urn:jwsnut.chapter2.bookservice/wsdl/BookQuery"/>
</input>
<output>
<soap:body encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"
use="encoded"
namespace="urn:jwsnut.chapter2.bookservice/wsdl/BookQuery"/>
</output>
<soap:operation soapAction=""/>
</operation>
<operation name="getBookMap">
<input>
<soap:body encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"
use="encoded"
namespace="urn:jwsnut.chapter2.bookservice/wsdl/BookQuery"/>
</input>
<output>
<soap:body encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"
use="encoded"
namespace="urn:jwsnut.chapter2.bookservice/wsdl/BookQuery"/>
</output>
<soap:operation soapAction=""/>
</operation>
<operation name="getEditor">
<input>
<soap:body encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"
use="encoded"
namespace="urn:jwsnut.chapter2.bookservice/wsdl/BookQuery"/>
</input>
<output>
<soap:body encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"
use="encoded"
namespace="urn:jwsnut.chapter2.bookservice/wsdl/BookQuery"/>
</output>
<soap:operation soapAction=""/>
</operation>
<operation name="getPrice">
<input>
<soap:body encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"
use="encoded"
namespace="urn:jwsnut.chapter2.bookservice/wsdl/BookQuery"/>
</input>
<output>
<soap:body encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"
use="encoded"
namespace="urn:jwsnut.chapter2.bookservice/wsdl/BookQuery"/>
</output>
<fault name="BookServiceException">
<soap:fault encodingStyle=
"http://schemas.xmlsoap.org/soap/encoding/" use="encoded"
namespace="urn:jwsnut.chapter2.bookservice/wsdl/BookQuery"/>
</fault>
<soap:operation soapAction=""/>
</operation>
<soap:binding transport="http://schemas.xmlsoap.org/soap/http"
style="rpc"/>
</binding>
<service name="BookService">
<port name="BookQueryPort" binding="tns:BookQueryBinding">
<soap:address location="REPLACE_WITH_ACTUAL_URL"/>
</port>
</service>
</definitions>
|
|