A WSDL (Web Service Description Language) document is an XML-formatted document that describes a web service and the operations (or methods) the service exposes through a set of definitions. As you create a WSDL document using the integrated tools, JDeveloper generates the XML code for you, which you can view by using the XML editor.
Click the Source tab at the bottom of the editor to view the XML source code in the WSDL document.
The root element of a WSDL document is the
definition element, which declares the namespaces used in the document:
xmlnsattribute specifies that attribute names without a namespace qualification are in the default namespace,
targetNamespaceattribute specifies that elements in the WSDL declare names in the namespace,
xmlns:tnsattribute specifies that names beginning with the prefix
tnsare in the namespace,
The entire web service description is defined within the
<definitions></definitions> tags, using the following elements:
typeselement: Imports or contains the schema definitions of the data types to be used in the messages that will compose the service.
messageelement: Defines the content of a message that is to be supported by the service. A
messageelement can contain one or more
partelement is associated with a data type. In the example, when you imported the XML schema into the WSDL, JDeveloper added a
messageelement for you.
portTypeelement: Describes the operations of the service from messages. A
portTypeelement contains one or more
operationelement, which describes an interaction pattern between a client and a server, may contain an input message, an output message, and a fault message. The order of the
outputelements within the
operationelement determines the order in which the messages occur within the operation.
bindingelement: Describes a specific communication protocol for each
serviceelement: Describes a web service as a collection of
portelement defines a specific network address for a
soap:addresselement within a
portelement specifies that the
portreceives SOAP messages.
For complete information on WSDL and the core elements, see the W3C Web Services Description Language page at
Copyright © 1997, 2009, Oracle. All rights reserved.false ,,,,,,,,,,,,,,,