-
-
Notifications
You must be signed in to change notification settings - Fork 270
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Connection errors with the 2019_1 API #430
Comments
I saw the same issue when I tried to upgrade to 2019_1 and account-specific URLs (from 2017_2 and the generic webservices.netsuite.com URL) after receiving an email from NetSuite that the non-account-specific proxy servers will be shut down 2019-06-18. My requests do succeed with the account-specific URL and version 2018_2 (the SOAP request targets our assigned server, not the generic webservices.netsuite.com), so I'm hoping that will survive the transition. |
I'm pretty sure 2018_2 will stop working , as it's currently making requests to webservices.netsuite.com @iloveitaly , could you please take a look at this? |
I'm seeing the locale-specific server webservices.na2.netsuite.com in my 2018_2 SOAP requests. When I use 2019_1, it switches back to webservices.netsuite.com.
|
Hi. Is there any update on this issue? How can I set the domain for all netsuite requests? |
@tusharr I don't have time to investigate right now, but you can use |
Setting the wsdl directly doesn't seem to fix the issue:
Still does a request to |
It seems that the above URL is in the WSDL itself. The workaround is that I download a copy of the WSDL (e.g. https://webservices.netsuite.com/wsdl/v2019_1_0/netsuite.wsdl ), and patch it on runtime
Then add the following lines in the configure block
|
This is all good stuff! The connection configuration is way overdue for an update. Someone want to start a PR for it? |
Heads up that I opened up a PR that I believe addresses this: #439. If you take a look or give it a try let me know. I also provided a way to patch the fix in and give it a try without updating the gem. (h/t to @shaicoleman as the PR accomplishes similar to the fix he shared but in a different location) |
Hoping to look at this within the next week or two! Time available to work on this has been limited :( |
This issue is fixed with #473 (comment) |
I've configured Netsuite with a wsdl_domain:
However, it seems to be connecting to
webservices.netsuite.com:80
instead.The text was updated successfully, but these errors were encountered: