小编Ste*_*art的帖子

SOAP Action WSDL

我正在尝试为National Rail Inquiries的SOAP服务(http://www.livedepartureboards.co.uk/ldbws/)实施客户端.

我将WSDL(http://realtime.nationalrail.co.uk/ldbws/wsdl.aspx)粘贴到http://soapclient.com/soaptest.html中,但我收到错误消息"无法处理请求有效的行动参数.请提供有效的肥皂行动."; 究竟应该采取什么行动呢?

谢谢,斯图尔特

编辑:

我只是用soapclient.com作为一个简单的例子.在我的软件中,我发送以下XML; 我仍然觉得我错过了一个动作.

<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<SOAP-ENV:Envelope xmlns:SOAP-ENV="http://www.w3.org/2003/05/soap-envelope" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/" xmlns:tns="http://thalesgroup.com/RTTI/2008-02-20/ldb/" xmlns:soap12="http://schemas.xmlsoap.org/wsdl/soap12/" xmlns:ldbt2="http://thalesgroup.com/RTTI/2008-02-20/ldb/types" xmlns:ldbt="http://thalesgroup.com/RTTI/2007-10-10/ldb/types" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/" xmlns:ct="http://thalesgroup.com/RTTI/2007-10-10/ldb/commontypes" >
 <SOAP-ENV:Body>
  <ldbt2:GetDepartureBoardRequest xmlns:ldbt2="http://thalesgroup.com/RTTI/2008-02-20/ldb/" >
   <ldbt2:numRows>5</ldbt2:numRows>
   <ldbt2:crs>WAT</ldbt2:crs>
   <ldbt2:filterCrs>GLD</ldbt2:filterCrs>
   <ldbt2:filterType>to</ldbt2:filterType>
   <ldbt2:timeOffset>0</ldbt2:timeOffset>
  </ldbt2:GetDepartureBoardRequest>
 </SOAP-ENV:Body>
</SOAP-ENV:Envelope>
Run Code Online (Sandbox Code Playgroud)

soap wsdl action

17
推荐指数
1
解决办法
15万
查看次数

标签 统计

action ×1

soap ×1

wsdl ×1