怎样调用这个wsdl的服务呢?

Posted

tags:

篇首语:本文由小常识网(cha138.com)小编为大家整理,主要介绍了怎样调用这个wsdl的服务呢?相关的知识,希望对你有一定的参考价值。

<?xml version="1.0" encoding="UTF-8" ?>
<wsdl:definitions
targetNamespace="http://10.33.208.143:7080/uac/services/CheckAiuapTokenSoap"
xmlns:apachesoap="http://xml.apache.org/xml soap"
xmlns:impl="http://10.33.208.143:7080/uac/services/CheckAiuapTokenSoap"
xmlns:intf="http://10.33.208.143:7080/uac/services/CheckAiuapTokenSoap"
xmlns:soapenc="http://schemas.xmlsoap.org/soap/encoding/" xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/"
xmlns:wsdlsoap="http://schemas.xmlsoap.org/wsdl/soap/" xmlns:xsd="http://www.w3.org/2001/XMLSchema">
<!-- WSDL created by Apache Axis version: 1.4 Built on Apr 22, 2006 (06:55:48
PDT) -->
<wsdl:message name="CheckAiuapTokenSoapRequest">
<wsdl:part name="RequestInfo" type="soapenc:string" />
</wsdl:message>
<wsdl:message name="CheckAiuapTokenSoapResponse">
<wsdl:part name="CheckAiuapTokenSoapReturn" type="soapenc:string" />
</wsdl:message>
<wsdl:portType name="CommonTokenService">
<wsdl:operation name="CheckAiuapTokenSoap"
parameterOrder="RequestInfo">
<wsdl:input message="impl:CheckAiuapTokenSoapRequest"
name="CheckAiuapTokenSoapRequest" />
<wsdl:output message="impl:CheckAiuapTokenSoapResponse"
name="CheckAiuapTokenSoapResponse" />
</wsdl:operation>
</wsdl:portType>
<wsdl:binding name="CheckAiuapTokenSoapSoapBinding" type="impl:CommonTokenService">
<wsdlsoap:binding style="rpc"
transport="http://schemas.xmlsoap.org/soap/http" />
<wsdl:operation name="CheckAiuapTokenSoap">
<wsdlsoap:operation soapAction="" />
<wsdl:input name="CheckAiuapTokenSoapRequest">
<wsdlsoap:body encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"
namespace="http://service.base.app.core.a4.asiainfo.com" use="encoded" />
</wsdl:input>
<wsdl:output name="CheckAiuapTokenSoapResponse">
<wsdlsoap:body encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"
namespace="http://10.33.208.143:7080/uac/services/CheckAiuapTokenSoap"
use="encoded" />
</wsdl:output>
</wsdl:operation>
</wsdl:binding>
<wsdl:service name="CommonTokenServiceService">
<wsdl:port binding="impl:CheckAiuapTokenSoapSoapBinding"
name="CheckAiuapTokenSoap">
<wsdlsoap:address
location="http://10.33.208.143:7080/uac/services/CheckAiuapTokenSoap" />
</wsdl:port>
</wsdl:service>
</wsdl:definitions>

参考技术A 你这个URL就不对,并不是invoke你给出的这个地址,这个地址是命名空间,你要调用 的url是你访问这个wsdl的地址,你应该是在浏览器中输入地址以后访问到的这个页面,要调用你输入的地址

以上是关于怎样调用这个wsdl的服务呢?的主要内容,如果未能解决你的问题,请参考以下文章

SQL Server 2008 R2 根据WSDL访问WebService

什么是wsdl

有一个已知的wsdl,怎么调用webservice(C#中)

wsdl的web服务怎么调用

如何根据wsdl获取SOAP内容

Myeclipse 工具下只要webservice客户端,服务器端在另一个系统上,怎样实现,wsdl怎么生成