WSDL Definition Element
The <definition> element must be the root element of all WSDL documents.
It defines the name of the web service. Here is the example piece of code from last session which uses definition element.
<definitions
name="HelloService" targetNamespace="uri"
xmlns="uri"
xmlns:soap="uri"
xmlns:tns="uri"
xmlns:xsd="uri">
. . . . .
. . . . . . . . . . . . . . . . . . .
<definitions>
The
definitions element is a container of all the other elements.
The
definitions element specifiesthat this document is the HelloService.
The
definitions element specifies a targetNamespace
attribute. The targetNamespace is a
convention of XML Schema that enables the WSDL document to refer to itself. It
also specifies numerous namespaces that will be used throughout the remainder
of the document.
Related Topics
Privacy Policy, Terms and Conditions, DMCA Policy and Compliant
Copyright © 2018-2023 BrainKart.com; All Rights Reserved. Developed by Therithal info, Chennai.