WSDL Elements
Definitions
Is the root element of the WSDL, and it specifies the global declarations of namespaces
that are visible throughout the document.
types
Defines the data types to be used in the messages. In this example, it is the XML Schema
Definition (CardValidatorService?xsd=1) that describes the parameters passed to the
web service request and the response
message
Defines the format of data being transmitted between a web service consumer and the
web service itself. Here you have the request (the validate method) and the response
(validateResponse)
portType
Specifies the operations of the web service (the validate method). Each operation refers
to an input and output message
binding
Describes the concrete protocol (here SOAP) and data formats for the operations and
messages defined for a particular port type
service Contains a collection of <port> elements, where each port is associated with an endpoint
(a network address location or URL)
port
Specifies an address for a binding, thus defining a single communication endpoint
Ref : Beginning of JavaEE 7
Is the root element of the WSDL, and it specifies the global declarations of namespaces
that are visible throughout the document.
types
Defines the data types to be used in the messages. In this example, it is the XML Schema
Definition (CardValidatorService?xsd=1) that describes the parameters passed to the
web service request and the response
message
Defines the format of data being transmitted between a web service consumer and the
web service itself. Here you have the request (the validate method) and the response
(validateResponse)
portType
Specifies the operations of the web service (the validate method). Each operation refers
to an input and output message
binding
Describes the concrete protocol (here SOAP) and data formats for the operations and
messages defined for a particular port type
service Contains a collection of <port> elements, where each port is associated with an endpoint
(a network address location or URL)
port
Specifies an address for a binding, thus defining a single communication endpoint
Ref : Beginning of JavaEE 7