【发布时间】:2015-02-22 16:42:33
【问题描述】:
谁能解释一下,WSDL 文档的哪些标签描述了 Web 服务的合同? 示例:
<definitions
xmlns:http="http://schemas.xmlsoap.org/wsdl/http/"
xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/"
xmlns:s="http://www.w3.org/2001/XMLSchema"
xmlns:abc="urn:abc"
xmlns:soapenc="http://schemas.xmlsoap.org/soap/encoding/"
xmlns:wsaw="http://www.w3.org/2006/05/addressing/wsdl"
targetNamespace="urn:abc"
xmlns="http://schemas.xmlsoap.org/wsdl/"
xmlns:soap12="http://schemas.xmlsoap.org/wsdl/soap12/"
>
我知道 xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/" 关注 SOAP 绑定和 xmlns:http="http://schemas.xmlsoap.org/wsdl/ http/" 关注 HTTP GET POST 请求,但我不明白如何确定 Web 服务的合同。提前致谢
【问题讨论】:
标签: xml web-services soap namespaces wsdl