gpt4 book ai didi

soapui - Netsuite 错误 : You must use account-specific domains with the 2019. 1 SOAP Web 服务端点

转载 作者:行者123 更新时间:2023-12-02 09:30:41 31 4
gpt4 key购买 nike

我正在使用 SOAPUI 调用 netsuite 的肥皂 API,但是当我添加 wsdl https://5450407-sb1.app.netsuite.com/wsdl/v2019_1_0/netsuite.wsdl

我收到以下错误:

<?xml version="1.0" encoding="UTF-8"?>
<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
<soapenv:Body>
<soapenv:Fault>
<faultcode>
soapenv:Server.userException
</faultcode>
<faultstring>
You must use account-specific domains with the 2019.1 SOAP web services endpoint. You can use the SOAP getDataCenterUrls operation to obtain the correct domain. Or, go to Setup > Company > Company Information in the NetSuite UI. Your domains are listed on the Company URLs tab.
</faultstring>
<detail>
<platformFaults:unexpectedErrorFault xmlns:platformFaults="urn:faults_2019_1.platform.webservices.netsuite.com">
<platformFaults:code>
USER_ERROR
</platformFaults:code>
<platformFaults:message>
You must use account-specific domains with the 2019.1 SOAP web services endpoint. You can use the SOAP getDataCenterUrls operation to obtain the correct domain. Or, go to Setup > Company > Company Information in the NetSuite UI. Your domains are listed on the Company URLs tab.
</platformFaults:message>
</platformFaults:unexpectedErrorFault>
<ns1:hostname xmlns:ns1="http://xml.apache.org/axis/">
partners022.prod.bos.netledger.com
</ns1:hostname>
</detail>
</soapenv:Fault>
</soapenv:Body>
</soapenv:Envelope>

当我从代码中调用相同的方法时,它工作得很好,但从soap API 中这只会给我错误。如果有人可以的话请帮忙。

谢谢

最佳答案

我为您找到了解决方案:使用 URL https://5450407.suitetalk.api.netsuite.com/services/NetSuitePort_2019_1

尝试了解 netsuite Soap API 中的流程:

  1. 它使用您帐户的凭据创建客户端,然后返回帐户 ID,然后
  2. 使用您的肥皂端点将创建的帐户 ID 用于访问其他 netsuite API

这就像身份验证安全性一样。

关于soapui - Netsuite 错误 : You must use account-specific domains with the 2019. 1 SOAP Web 服务端点,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/57429656/

31 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com