2017-05-29 55 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=""/>根據上面提到的層次結構中使用。

相關問題