NetSuite将很快迁移我们的数据中心,我只是想确保我目前拥有的web服务引用将是正常的。我还没有在文档中找到真正具体的东西,但我认为这是隐含的。
在visual studio中,我的web服务引用指向0/netsuite.wsdl。
我就像他们一样打了个电话
字符串域= NetSuiteWebReference.getDataCenterURLs("myAccount").webservicesDomain;
但是,当他们迁移我们的数据中心时,我还需要更新我的网络引用到:0/netsuite.wsdl吗?
在我看来,域发现是从一个主机/位置提供的,这是有意义的。
发布于 2015-08-05 15:03:58
我开了一个箱子/罚单,问了同样的问题,他们告诉我:
getDataCenterURLs()将返回与您指定的帐户的数据中心有关的‘that域’、'systemDomain‘和'webservicesDomain’。
我更进一步,捕获了一个getDataCenterURL() soap帖子(使用fiddler),然后将其发送到:
每次都收到相同的/正确的答复。
<?xml version="1.0" encoding="utf-8"?>
<soap:Envelope xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema">
<soap:Header>
<preferences xmlns="urn:messages_2014_2.platform.webservices.netsuite.com">
</preferences>
</soap:Header>
<soap:Body>
<getDataCenterUrls xmlns="urn:messages_2014_2.platform.webservices.netsuite.com">
<account>1234567890</account>
</getDataCenterUrls>
</soap:Body>
</soap:Envelope>https://stackoverflow.com/questions/31820223
复制相似问题