Discussions
Stay up-to-date with the latest news from NetSuite. You’ll be in the know about how to connect with peers and take your business to new heights at our virtual, in-person, on demand events, and much more.
New AI Community Guidelines. Please review and follow them to ensure AI use stays safe, accurate, and compliant.
Dynamic obtaining of netSuite web-service endpoint
We have refused the old way of obtaining the endpoints, because for each account it was necessary to send the following information:
o e-mail
o password
o account identifier
and only after that we received the set of endpoints. We have decided that it is not acceptable to send confident credentials just to get the endpoint. Moreover, that is absolutely inacceptable for SSO, because the username and password will not even be stored into our database.
We have decided to use the request of another type and interaction is the following:
18:13:32,669 DEBUG GetDataCenterURLs:32 - REQUEST <getDataCenterUrls xmlns="urn:messages_2013_1.platform.webservices.netsuite.com"> <account xmlns="urn:messages_2013_1.platform.webservices.netsuite.com">TSTDRV262870</account> </getDataCenterUrls> 18:13:33,779 DEBUG GetDataCenterURLs:34 - RESPONSE <getDataCenterUrlsResponse xmlns="urn:messages_2013_1.platform.webservices.netsuite.com"> <platformCore:getDataCenterUrlsResult xmlns:platformCore="urn:core_2013_1.platform.webservices.netsuite.com"> <platformCore:status isSuccess="true"/> <platformCore:dataCenterUrls> <platformCore:restDomain> 0