Netsuite错误:您必须将特定于帐户的域与2019.1 SOAP Web服务端点一起使用 [英] Netsuite error: You must use account-specific domains with the 2019.1 SOAP web services endpoint
问题描述
我正在使用SOAPUI调用netsuite的soap API,但是当我添加wsdl https://5450407-sb1.app.netsuite.com/wsdl/v2019_1_0/netsuite.wsdl
I am using SOAPUI to call soap API of netsuite but when i add 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中调用,这只会给我错误.如果有人可以,请为此提供帮助.
When i call same from code thi work fine but from soap API this only give me error. Please help for this if anyone can.
谢谢
推荐答案
我为您解决:使用URL https://5450407.suitetalk.api.netsuite.com/services/NetSuitePort_2019_1
I got you solution: use URL https://5450407.suitetalk.api.netsuite.com/services/NetSuitePort_2019_1
尝试了解netsuite soap API中的流程:
Try to understand the flow in netsuite soap API:
- 使用您的帐户凭据创建客户端,然后返回帐户ID,然后
- 使用该帐户ID,您的肥皂端点将创建以击中其他netsuite API
这就像身份验证安全性.
This is just like a authentication security.
这篇关于Netsuite错误:您必须将特定于帐户的域与2019.1 SOAP Web服务端点一起使用的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!