Skip to content
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

fix "must use account-specific domains" error with newer API versions #439

Closed

Commits on Sep 20, 2019

  1. fix "must use account-specific domains" error with newer API versions

    Newer API versions require using the account-specific domains such as
    `<account-id>.suitetalk.api.netsuite.com`. The WSDLs for these versions,
    however, specify the generic `webservices.netsuite.com` domain. When
    `wsdl_domain` is provided use this to override the endpoint so the
    account-specific domain can be used and users can successfully use
    2019_1.
    
    I create the client first without the `endpoint` override to allow
    reading the default endpoint from the client. Then `wsdl_domain` is
    substituted into the default which avoids hardcoding the path in the gem
    (`/services/NetsuitePort_#{api_version}`).
    Andy Clayton committed Sep 20, 2019
    Configuration menu
    Copy the full SHA
    1b6093a View commit details
    Browse the repository at this point in the history