SoapUI找不到我的wsdl:无法加载url

时间:2017-12-05 11:37:50

标签: web-services wsdl soapui

以下是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.2.8 svn-revision#13980. --><!-- Generated by JAX-WS RI at http://jax-ws.dev.java.net. RI's version is JAX-WS RI 2.2.8 svn-revision#13980. --><definitions xmlns:wsu="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-utility-1.0.xsd" xmlns:wsp="http://www.w3.org/ns/ws-policy" xmlns:wsp1_2="http://schemas.xmlsoap.org/ws/2004/09/policy" xmlns:wsam="http://www.w3.org/2007/05/addressing/metadata" xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/" xmlns:tns="http://service.vep.mbca.com/" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns="http://schemas.xmlsoap.org/wsdl/" targetNamespace="http://service.vep.mbca.com/" name="ProcessCreditDecisionServiceService">
<import namespace="http://iservice.vep.mbca.com/" location="https://localhost:443/vepapi/web-service/mbfs/processCreditDecision?wsdl=1"/>
<binding xmlns:ns1="http://iservice.vep.mbca.com/" name="ProcessCreditDecisionServicePortBinding" type="ns1:IProcessCreditDecisionService">
<soap:binding transport="http://schemas.xmlsoap.org/soap/http" style="document"/>
<operation name="processCreditDecision">
<soap:operation soapAction=""/>
<input>
<soap:body use="literal"/>
</input>
<output>
<soap:body use="literal"/>
</output>
</operation>

</binding>

<service name="ProcessCreditDecisionServiceService">
<port name="ProcessCreditDecisionServicePort" binding="tns:ProcessCreditDecisionServicePortBinding">
<soap:address location="https://localhost:443/vepapi/web-service/mbfs/processCreditDecision"/>
</port>
</service>
</definitions>

1 个答案:

答案 0 :(得分:1)

当您尝试触发的端点不活动或不存在时,有时会在SOAP UI中发生WSDL问题。

<soap:address location="https://localhost:443/vepapi/web-service/mbfs/processCreditDecision"/>
  1. 执行一次架构验证,检查您是否遵守规则。具体而言,检查绑定部分。
  2. 交叉验证您指向soap请求的结束点和wsdl中的结束点。
  3. 检查端点。