Detailed description of Web Service description language WSDL (2) -- WSDL file example [to]-Web_Servic

Source: Internet
Author: User
Tags soap wsdl
Let's take a look at the WSDL file to see its structure and how it works. Note that this is a very simple WSDL document instance. Our intention is only to illustrate its most significant characteristics. The following content includes more detailed discussions.
<? Xml version = "1.0" encoding = "UTF-8"?>
<Definitions name = "FooSample"
TargetNamespace = "http://tempuri.org/wsdl"
Xmlns: wsdlns = "http://tempuri.org/wsdl"
Xmlns: typens = "http://tempuri.org/xsd"
Xmlns: xsd = "http://www.w3.org/2001/XMLSchema"
Xmlns: soap = "http://schemas.xmlsoap.org/wsdl/soap"
Xmlns: stk = "http://schemas.microsoft.com/soap-toolkit/wsdl-extension"
Xmlns = "http://schemas.xmlsoap.org/wsdl/">
<Types>
<Schema targetNamespace = "http://tempuri.org/xsd"
Xmlns = "http://www.w3.org/2001/XMLSchema"
Xmlns: SOAP-ENC = "http://schemas.xmlsoap.org/soap/encoding"
Xmlns: wsdl = "http://schemas.xmlsoap.org/wsdl"
ElementFormDefault = "qualified">
</Schema>
</Types>
<Message name = "Simple. foo">
<Part name = "arg" type = "xsd: int"/>
</Message>
<Message name = "Simple. fooResponse">
<Part name = "result" type = "xsd: int"/>
</Message>
<PortType name = "SimplePortType">
<Operation name = "foo" parameterOrder = "arg">
<Input message = "wsdlns: Simple. foo"/>
<Output message = "wsdlns: Simple. fooResponse"/>

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.