Loadrunner测绘webservice时报错

dr_lou 2009-03-26 12:02:14
ie另存wsdl后
导入lr报错如下

Web Service definition could not be loaded from the specified URL
Reason: Doc <C:\....\abc.wsdl> Unable to process document
http://..../abcPort?xsd=1 referenced in 'import' element.

Do you wish to view the WSDL validation report?

wsdl如下

<?xml version='1.0' encoding='UTF-8'?><!-- Published by JAX-WS RI at http://jax-ws.dev.java.net. RI's version is JAX-WS RI 2.1.5-b03-. --><!-- Generated by JAX-WS RI at http://jax-ws.dev.java.net. RI's version is JAX-WS RI 2.1.3-hudson-390-. --><definitions xmlns="http://schemas.xmlsoap.org/wsdl/" xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/" xmlns:tns="http://publish.ws.traffic.palmcity/" xmlns:wsu="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-utility-1.0.xsd" xmlns:xsd="http://www.w3.org/2001/XMLSchema" name="PublishService" targetNamespace="http://publish.ws.traffic.palmcity/">
<types>
<xsd:schema>
<xsd:import namespace="http://publish.ws.traffic.palmcity/" schemaLocation="http://10.1.99.57:8080/TrafficWS/PublishPort?xsd=1" />
</xsd:schema>
</types>
<message name="getTraffic">
<part element="tns:getTraffic" name="parameters" />
</message>
<message name="getTrafficResponse">
<part element="tns:getTrafficResponse" name="parameters" />
</message>
<message name="getUpdatedTraffic">
<part element="tns:getUpdatedTraffic" name="parameters" />
</message>
<message name="getUpdatedTrafficResponse">
<part element="tns:getUpdatedTrafficResponse" name="parameters" />
</message>
<message name="getWebTraffic">
<part element="tns:getWebTraffic" name="parameters" />
</message>
<message name="getWebTrafficResponse">
<part element="tns:getWebTrafficResponse" name="parameters" />
</message>
<message name="getBoundaryTraffic">
<part element="tns:getBoundaryTraffic" name="parameters" />
</message>
<message name="getBoundaryTrafficResponse">
<part element="tns:getBoundaryTrafficResponse" name="parameters" />
</message>
<portType name="PublishDelegate">
<operation name="getTraffic">
<input message="tns:getTraffic" />
<output message="tns:getTrafficResponse" />
</operation>
<operation name="getUpdatedTraffic">
<input message="tns:getUpdatedTraffic" />
<output message="tns:getUpdatedTrafficResponse" />
</operation>
<operation name="getWebTraffic">
<input message="tns:getWebTraffic" />
<output message="tns:getWebTrafficResponse" />
</operation>
<operation name="getBoundaryTraffic">
<input message="tns:getBoundaryTraffic" />
<output message="tns:getBoundaryTrafficResponse" />
</operation>
</portType>
<binding name="PublishPortBinding" type="tns:PublishDelegate">
<soap:binding style="document" transport="http://schemas.xmlsoap.org/soap/http" />
<operation name="getTraffic">
<soap:operation soapAction="" />
<input>
<soap:body use="literal" />
</input>
<output>
<soap:body use="literal" />
</output>
</operation>
<operation name="getUpdatedTraffic">
<soap:operation soapAction="" />
<input>
<soap:body use="literal" />
</input>
<output>
<soap:body use="literal" />
</output>
</operation>
<operation name="getWebTraffic">
<soap:operation soapAction="" />
<input>
<soap:body use="literal" />
</input>
<output>
<soap:body use="literal" />
</output>
</operation>
<operation name="getBoundaryTraffic">
<soap:operation soapAction="" />
<input>
<soap:body use="literal" />
</input>
<output>
<soap:body use="literal" />
</output>
</operation>
</binding>
<service name="PublishService">
<port binding="tns:PublishPortBinding" name="PublishPort">
<soap:address location="http://10.1.99.57:8080/TrafficWS/PublishPort" />
</port>
</service>
</definitions>

...全文
161 4 打赏 收藏 转发到动态 举报
写回复
用AI写文章
4 条回复
切换为时间正序
请发表友善的回复…
发表回复
hlhajh 2009-03-26
  • 打赏
  • 举报
回复
AA
dr_lou 2009-03-26
  • 打赏
  • 举报
回复
第一个回复的给分啊
dr_lou 2009-03-26
  • 打赏
  • 举报
回复
http://blog.sina.com.cn/s/blog_4e7d38260100ahmr.html
解决了

67,513

社区成员

发帖
与我相关
我的任务
社区描述
J2EE只是Java企业应用。我们需要一个跨J2SE/WEB/EJB的微容器,保护我们的业务核心组件(中间件),以延续它的生命力,而不是依赖J2SE/J2EE版本。
社区管理员
  • Java EE
加入社区
  • 近7日
  • 近30日
  • 至今
社区公告
暂无公告

试试用AI创作助手写篇文章吧