WSDL <service>
元素定义Web环球彩票服务
支持的端口。 对于每个支持的协议,都有一个<port>
元素。 service
元素是端口的集合。
- Web环球彩票服务
客户端可以从环球彩票服务
元素环球彩票中学
习以下内容 -
- 在哪里访问该环球彩票服务 ?
- 通过哪个端口访问Web环球彩票服务 ?
- 如何定义通信消息?
service
元素包含一个文档元素,用于提供人类可读的文档。
下面是示例章节中的一段代码 -
<service name = "Hello_Service">
<documentation>WSDL File for HelloService</documentation>
<port binding = "tns:Hello_Binding" name = "Hello_Port">
<soap:address
location = "http://www.examples.com/SayHello/">
</port>
</service>
port
元素的绑定属性将环球彩票服务
的环球彩票地址
与Web环球彩票服务
中定义的绑定元素相关联。 在这个例子中,它绑定的是Hello_Binding
。
<binding name =" Hello_Binding" type = "tns:Hello_PortType">
<soap:binding style = "rpc"
transport = "http://schemas.xmlsoap.org/soap/http"/>
<operation name = "sayHello">
<soap:operation soapAction = "sayHello"/>
<input>
<soap:body
encodingStyle = "http://schemas.xmlsoap.org/soap/encoding/"
namespace = "urn:examples:helloservice" use = "encoded"/>
</input>
<output>
<soap:body
encodingStyle = "http://schemas.xmlsoap.org/soap/encoding/"
namespace = "urn:examples:helloservice" use = "encoded"/>
</output>
</operation>
</binding>
加QQ群啦,极速5分彩官方环球彩票技术 学习群
注意:建议每个人选自己的环球彩票技术 方向加群,同一个QQ最多限加 3 个群。