NetSuite searchMoreWithID失败,SOAP操作无效

NetSuite searchMoreWithID失败,SOAP操作无效,soap,netsuite,Soap,Netsuite,我正在尝试将NetSuite搜索扩展到100项限制之外。我在python应用程序中通过zeep使用SOAP,但我首先在Postman中进行测试。我可以使用CustomRecordSearchAdvanced成功获取搜索的第一页。但是,当我在后续searchMoreWithId请求中使用响应中的nsid时,我得到了以下错误 <faultcode xmlns:ns1="http://xml.apache.org/axis/">ns1:Client.No

我正在尝试将NetSuite搜索扩展到100项限制之外。我在python应用程序中通过zeep使用SOAP,但我首先在Postman中进行测试。我可以使用CustomRecordSearchAdvanced成功获取搜索的第一页。但是,当我在后续searchMoreWithId请求中使用响应中的nsid时,我得到了以下错误

        <faultcode xmlns:ns1="http://xml.apache.org/axis/">ns1:Client.NoSOAPAction</faultcode>
        <faultstring>Invalid SOAPAction header: Search</faultstring>
ns1:Client.nosopacation
SOAPAction标头无效:搜索
在这两种情况下,SOAP头是完全相同的。第一次搜索有效的SOAP主体是

<soapenv:Body>
    <search xsi:type='platformMsgs:SearchRequest'>
        <searchRecord xsi:type='setupCustom:CustomRecordSearchAdvanced' savedSearchId='1234'/>
    </search>
</soapenv:Body>

第二次搜索失败的SOAP正文如下。我完全从第一次搜索的响应中复制searchId

<soapenv:Body>
    <searchMoreWithId xsi:type='platformMsgs:SearchMoreWithIdRequest'>
        <searchId xsi:type='xsd:string'>WEBSERVICES_************</searchId>
        <pageIndex xsi:type='xsd:int'>2</pageIndex>
    </searchMoreWithId>
</soapenv:Body>

网络服务_************
2.

我正在使用的WSDL是,据我所知,虽然WSDL中没有包含SOAP操作的部分,但这应该可以工作。

SOAP错误中的消息是:

SOAPAction标头无效:搜索

查看WSDL,头值应该是
searchMoreWithId
而不是
Search

您可以在WSDL的每个
中找到用于
SOAPAction
头的值。您请求的操作的名称需要与适当的标头匹配。您正在使用
Search
标题请求
searchMoreWithId
,并从这里发送错误消息。将标题值更改为
searchMoreWithId
,然后重试


还要注意的是,
SOAPAction
标题是。

太棒了-一切正常-谢谢!我没有将正文中从search到searchMoreWithId的更改与http头中SOPAAction中所需的更改联系起来。现在我只需要想办法让zeep做同样的事情。