2017-05-29 53 views
0

我们在Wordpress平台上公开了一个Apex WDSL平台,通过PHP调用Apex WSDL中的更新方法。更新方法将接受潜在客户ID和字段数组。但是,通话正在引发以下错误:SoapFault例外:[soapenv:Client]只允许在同一个请求中执行一个操作

SoapFault exception: [soapenv:Client] Only one operation within the same request is allowed.

这是Salesforce中的错误还是Wordpress/PHP中的错误?

+0

你可以添加你使用的代码吗? – user1120808

回答

0

当您的Web服务生成的XML文件,或者遵循代码第一种方法的话,

<binding name="**************" type="tns:*********"> 
     <soap:binding transport="http://schemas.xmlsoap.org/soap/http" style="document"/> 
     <operation name="*******"> 
      <soap:operation soapAction=""/> 
............... 
...... 
</ closing all the tags ...> 

确保只有单一<soap:operation soapAction=""/>根据上面提到的层次结构中使用。

相关问题