O'Reilly logo

Java 7 JAX-WS Web Services by Deepak Vohra

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

Creating the WSDL

A WSDL describes a set of business operations. The WSDL HelloWSService.wsdl for the sample web service defines an operation "hello" that takes an input parameter and returns a response. The HelloWSService.wsdl used in this chapter has elements that are discussed in the following table:

Element

Description

message

Describes input and output parameters and return values.

types

Describes the schema (HelloWSService_metadata1.xsd) for the XML types used in the messages.

portType

Describes the operations and associated messages. Defines abstract operations. portType is HelloWS and operation(s) are hello.

binding

Binding HelloWSPortBinding describes the protocol used to access a portType. Also describes the data formats for ...

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