最新下载
热门教程
- 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"/>
相关文章
- 洛克王国世界伊贝儿如何玩 11-07
- 辉烬暗箱裂隙怎么通关 11-07
- 黑神话悟空藕丝步云履获取位置分享 11-07
- 黑神话悟空毒敌大王是否击败介绍说明 11-07
- 黑神话悟空百眼魔君轮椅打法分享 11-07
- 黑神话悟空毛毛流加点推荐及玩法分享 11-07