These data types are defined using XML Schema
Definitions. We will learn more about the XML Schema
Designer in NetBeans in Chapter 7.
abstract Describes the messages that are used within the service.
abstract Describes the operations that are available within the service.
concrete Describes what binding the service is using (e.g. SOAP, JMS)
concrete Describes connection details for the specific bindings.
WSDL Types
The
element of WSDL document allows the different data types used by
operations in the service to be defined using XML schema language. In the following
code, types are imported from XSD file hello.xsd located in the same directory as
the WSDL file.
schemaLocation="hello.xsd"/>
WSDL Messages
Within the
section of WSDL document, we define different messages
that can be used from the operations within the service. Each message defined
describes the names and types of its parameters. In the following example, we have
defined two messages (sayHelloRequest and sayHelloReply) for a simple Hello
World type service.
Chapter 6
[ 119 ]
WSDL Port Types
The
element within WSDL document describes the operations that are
available from the service.
Pages:
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119