提问人:Hadia-Ali 提问时间:10/9/2023 最后编辑:Hadia-Ali 更新时间:10/9/2023 访问量:24
WSDL XML 链接问题
WSDL XML Link issue
问:
我编译了一个wsdl,它显示以下请求消息,该消息有效:
<SOAP-ENV:Envelope xmlns:SOAP-ENV="http://www.w3.org/2003/05/soap-envelope">
<SOAP-ENV:Body>
<tempuri2:BillInquiry xmlns:tempuri2="http://BillPayment_SOAP">
<ESB_Header>
<requestId>327823792977</requestId>
<destSysOprName>ATM_BILL_INQ</destSysOprName>
<tranTypeCode> </tranTypeCode>
<transmissionDateTime>20231005232051</transmissionDateTime>
<RRN>327823792977</RRN>
<deliveryChannelName>ATM</deliveryChannelName>
<tenantId>ZyLA0LlEzox7Nb9yMUMGeQ==</tenantId>
</ESB_Header>
<billerID>ZONG0002</billerID>
<feeFlag>N</feeFlag>
<feeAmount>0</feeAmount>
<stanID>792977</stanID>
<RRN>327823792977</RRN>
<consumerNo>11122233344</consumerNo>
<channelId>117602</channelId>
</tempuri2:BillInquiry>
</SOAP-ENV:Body>
</SOAP-ENV:Envelope>
当我尝试执行此消息时,它提供了一个非常奇怪的错误:
<?xml version="1.0" encoding="utf-8"?><soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/"><soapenv:Body><NS1:Fault xmlns:NS1="http://schemas.xmlsoap.org/soap/envelope/"><faultcode>-1</faultcode><faultstring>Exception Ouccured</faultstring></NS1:Fault></soapenv:Body></soapenv:Envelope>HTTP/1.1 500 Internal Server Error^M
Content-Type: text/xml;charset=utf-8^M
Server: IBM App Connect Enterprise^M
Date: Wed, 04 Oct 2023 11:45:25 GMT^M
Content-Length: 309^M
Connection: close^M
^M
<?xml version="1.0" encoding="utf-8"?><soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/"><soapenv:Body><NS1:Fault xmlns:NS1="http://schemas.xmlsoap.org/soap/envelope/"><faultcode>-1</faultcode><faultstring>Exception Ouccured</faultstring></NS1:Fault></soapenv:Body></soapenv:Envelope>
如果我将站点位置更改为第一行,则该消息有效:
<SOAP-ENV:Envelope xmlns:SOAP-ENV="http://www.w3.org/2003/05/soap-envelope" tempuri2:BillInquiry xmlns:tempuri2="http://BillPayment_SOAP">
<SOAP-ENV:Body>
<ESB_Header>
<requestId>327823792977</requestId>
<destSysOprName>ATM_BILL_INQ</destSysOprName>
<tranTypeCode> </tranTypeCode>
<transmissionDateTime>20231005232051</transmissionDateTime>
<RRN>327823792977</RRN>
<deliveryChannelName>ATM</deliveryChannelName>
<tenantId>ZyLA0LlEzox7Nb9yMUMGeQ==</tenantId>
</ESB_Header>
<billerID>ZONG0002</billerID>
<feeFlag>N</feeFlag>
<feeAmount>0</feeAmount>
<stanID>792977</stanID>
<RRN>327823792977</RRN>
<consumerNo>11122233344</consumerNo>
<channelId>117602</channelId>
</tempuri2:BillInquiry>
</SOAP-ENV:Body>
</SOAP-ENV:Envelope>
是否可以使这一行在代码中改变位置?因为我搜索并执行了一些代码更改,但没有运气。编译的 wsdl 会创建各种文件。我试图更改我的 wsdl 的代理文件,但它反而产生了错误,然后我将其恢复。
答: 暂无答案
评论