cancel
Showing results forย 
Search instead forย 
Did you mean:ย 

Netsuite Search Snap facing error

Kullay
New Contributor III

Hi All,

When we are using the Netsuite Search Snap facing the below error:
this error is Snaplogic side or Netsuite side?
anyone have an idea about this error help me on this.
image

Thanks,
kullayappa

3 REPLIES 3

ptaylor
Employee
Employee

Hi Kullay,

Our own QA team reported the same issue this morning. Iโ€™ve been investigating. It seems the problem is on the NetSuite side, where their servers are not using a consistent domain in the URLs used by their import statements. For example, hereโ€™s one of the imports in the content returned for https://webservices.netsuite.com/wsdl/v2018_1_0/netsuite.wsdl:

<xsd:import namespace=โ€œurn:core_2018_1.platform.webservices.netsuite.comโ€ schemaLocation=โ€œhttps://webservices.na0.netsuite.com/xsd/platform/v2018_1_0/core.xsdโ€/>

The domain in the schemaLocation is webservices.na0.netsuite.com. But what I can see in our logs is that the domain is sometimes webservices.netsuite.com for the same xsd file. Since the URL is different, it will try to load that file again and result in conflicting definitions for the types defined in that file.

What I recommend is that you use the 2019.1 version of the NetSuite WSDL, where they use relative paths instead of absolute URLs, like this:

<xsd:import namespace=โ€œurn:core_2019_1.platform.webservices.netsuite.comโ€ schemaLocation=โ€œโ€ฆ/โ€ฆ/xsd/platform/v2019_1_0/core.xsdโ€/>

Using this version of the WSDL is likely to avoid the issue. You can change the WSDL version in your NetSuite account settings.

Hope that helps.

Kullay
New Contributor III

Does this mean that come 1st Jan 2020, we will have to change the URL.
If so then this will be a maintenance issue.

Thanks,
kullayappa

No. You donโ€™t have to change any URLs. Iโ€™m saying that starting with version 2019.1 of their WSDL and associated XSD files, NetSuite changed the way they use URLs in their imports. To use this version, just edit your NetSuite account and set the WSDL Year to 2019 and the WSDL Release to 1. That version will not have the problem you encountered. You shouldnโ€™t need to upgrade again because of this issue, as NetSuite will continue to support this version for the next several years. See โ€œSupport for Existing WSDL Versionsโ€ in the SuiteTalk Platform Guide (NetSuite Applications Suite - SuiteTalk SOAP Web Services Platform Overview).