最新下载
热门教程
- 1
- 2
- 3
- 4
- 5
- 6
- 7
- 8
- 9
- 10
Web Service描述语言 WSDL 详解(2)--WSDL文件示例[转]-Web_Servic
时间:2022-07-02 11:15:30 编辑:袖梨 来源:一聚教程网
让我们来研究一下WSDL文件,看看它的结构,以及如何工作。请注意这是一个非常简单的WSDL文档实例。我们的意图只是说明它最显著的特征。以下的内容中包括更加详细的讨论。
<?xml version="1.0" encoding="UTF-8" ?>
<definitions name="FooSample"
targetNamespace="http://tempu***ri.org/wsdl/"
xmlns:wsdlns="http://tempu***ri.org/wsdl/"
xmlns:typens="http://*temp*uri.or*g/xsd"
xmlns:xsd="http://www.*w**3.org/2001/XMLSchema"
xmlns:soap="http://schemas.xm*ls**oap.org/wsdl/soap/"
xmlns:stk="http://schemas.micros***oft.com/soap-toolkit/wsdl-extension"
xmlns="http://schemas.**xml*soap.org/wsdl/">
<types>
<schema targetNamespace="http://*temp*uri.or*g/xsd"
xmlns="http://www.*w**3.org/2001/XMLSchema"
xmlns:SOAP-ENC="http://schemas.xml**so*ap.org/soap/encoding/"
xmlns:wsdl="http://schemas.**xml*soap.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"/>
<?xml version="1.0" encoding="UTF-8" ?>
<definitions name="FooSample"
targetNamespace="http://tempu***ri.org/wsdl/"
xmlns:wsdlns="http://tempu***ri.org/wsdl/"
xmlns:typens="http://*temp*uri.or*g/xsd"
xmlns:xsd="http://www.*w**3.org/2001/XMLSchema"
xmlns:soap="http://schemas.xm*ls**oap.org/wsdl/soap/"
xmlns:stk="http://schemas.micros***oft.com/soap-toolkit/wsdl-extension"
xmlns="http://schemas.**xml*soap.org/wsdl/">
<types>
<schema targetNamespace="http://*temp*uri.or*g/xsd"
xmlns="http://www.*w**3.org/2001/XMLSchema"
xmlns:SOAP-ENC="http://schemas.xml**so*ap.org/soap/encoding/"
xmlns:wsdl="http://schemas.**xml*soap.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"/>
相关文章
- 地下城堡4骑士与破碎编年史初光神官有哪些流派 09-17
- 嘟嘟脸恶作剧克萝伊技能怎么样 09-17
- 新三国志曹操传驯马场有什么玩法 09-17
- 全境封锁曙光武器怎么获取 09-17
- 鹅鸭杀丧葬者如何玩 09-17
- 剑与远征启程沙利叶强技能怎么样 09-17