Inside the WSDL & Web Services Proxies
page 4 of 16
by Anonymous Contributor
Feedback
Average Rating: This article has not yet been rated.
Views (Total / Last 10 Days): 65273/ 86

Understanding the Contract

The “collapsed” view of the full WSDL document (generated in previous section) looks as follows:

<?xml version="1.0" encoding="utf-8" ?>

<definitions xmlns:s="http://www.w3.org/2001/XMLSchema"

xmlns:http="http://schemas.xmlsoap.org/wsdl/http/"

xmlns:mime="http://schemas.xmlsoap.org/wsdl/mime/"

xmlns:tm="http://microsoft.com/wsdl/mime/textMatching/"

xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/"

xmlns:soapenc="http://schemas.xmlsoap.org/soap/encoding/"

xmlns:s0="http://tempuri.org/" targetNamespace="http://tempuri.org/"

xmlns="http://schemas.xmlsoap.org/wsdl/">

+ <types>

+ <message name="GetFlightStatusSoapIn">

+ <message name="GetFlightStatusSoapOut">

+ <message name="GetFlightStatusHttpGetIn">

+ <message name="GetFlightStatusHttpGetOut">

+ <message name="GetFlightStatusHttpPostIn">

+ <message name="GetFlightStatusHttpPostOut">

+ <portType name="FlightServiceSoap">

+ <portType name="FlightServiceHttpGet">

+ <portType name="FlightServiceHttpPost">

+ <binding name="FlightServiceSoap" type="s0:FlightServiceSoap">

+ <binding name="FlightServiceHttpGet" type="s0:FlightServiceHttpGet">

+ <binding name="FlightServiceHttpPost" type="s0:FlightServiceHttpPost">

+ <service name="FlightService">

</definitions>

Fig 2: “Collapsed” view of the full WSDL document.

 

By examining the above document structure, one can see that there are five unique element types under the root node “definitions” (the root node is “definitions” after the fact that WSDL is simply a set of definitions that define a Web Service). They are

 

? ? types

? ? message

? ? portType

? ? binding

? ? service

 

Apart from the above elements there is another important element that is used in defining a Service, the “port”. Including this sixth element we have a total of six element types in a WSDL document. Let us take a look each of them to understand what they really are and what we can decipher from them.


View Entire Article

User Comments

Title: Webservice   
Name: Anbazhagan. P
Date: 2009-03-14 12:47:38 PM
Comment:
Very useful website
Title: rakesh   
Name: Name rakesh
Date: 2007-09-13 3:38:58 AM
Comment:
Ok Run
Title: Getting Error   
Name: Dilip Kumar Prusty
Date: 2006-09-18 5:19:48 AM
Comment:
I am getting
The request failed with HTTP status 404: Not Found.
this error .

Product Spotlight
Product Spotlight 





Community Advice: ASP | SQL | XML | Regular Expressions | Windows


©Copyright 1998-2024 ASPAlliance.com  |  Page Processed at 2024-04-19 12:38:38 AM  AspAlliance Recent Articles RSS Feed
About ASPAlliance | Newsgroups | Advertise | Authors | Email Lists | Feedback | Link To Us | Privacy | Search