Home | | Web Technology | WSDL Definition Element

Chapter: Web Technology : Web Services

WSDL Definition Element

The element must be the root element of all WSDL documents.

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.

 

Study Material, Lecturing Notes, Assignment, Reference, Wiki description explanation, brief detail
Web Technology : Web Services : WSDL Definition Element |


Privacy Policy, Terms and Conditions, DMCA Policy and Compliant

Copyright © 2018-2024 BrainKart.com; All Rights Reserved. Developed by Therithal info, Chennai.