O'Reilly logo

Java Web Services in a Nutshell by Kim Topley

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Appendix A. Appendix: WSDL Files for the Example Source Code

This appendix contains the full listing of the WSDL files for some of the web services developed in this book.

WSDL File for the Book Web Service

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"/> ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required