<@UK8V1Q1FE> have you looked at https://&lt;accoun...
# suitetalkapi
m
@Munish Singla have you looked at https://<accountId>.app.netsuite.com/app/help/helpcenter.nl?fid=chapter_N3412777.html
m
as per documentation To enable the SOAP web services feature: As administrator, click Setup > Company > Enable Features. Click the SuiteCloud subtab. Check the SOAP Web Services box. Click Save.
but I did not see any Enable Features?
b
message has been deleted
if you don't see it, you aren't using the administrator role
m
ah thank you I saw it is already checked there
means enabled
and I think next step is to download wsdl
?
b
in general yes
m
and from where I can download wsdl?
keep in mind that you have an endpoint url that is specific to your account
it should look something like:
the domain can be found on the company url subtab of your company information page
m
when I call this url with right account id then is says You have successfully connected to the NetSuite SOAP Server. The Server is operational.
does that means everyone do have different wsdl endpoint?
b
yes
m
I am in that section, is the customer center login actual endpoint?
b
I have no idea what that is. Im pretty sure it has nothing to do with webservices
m
I just want to confirm as you said that everyone do have different url?
b
yes, everyone has account specific urls now
if you are older, you can still use the old datacenter urls
the old datacenter url may stop working if they switch your datacenter
m
so to create authentication token I need to call https://webservices.netsuite.com/wsdl/v2019_1_0/netsuite.wsdl with my credentials?
b
No
m
then pls advice. First I just want to login with soap and create a token
in nodejs
b
Cant help you on the nodejs front
But there are 2 methods of authentication
m
I can write nodejs code that not issue, I just need the wsdl url to be called
b
One is email/password/role in the passport element
m
right
need to send to wsdl
b
The other is oauth1 in token passport element
Which one are you trying to do
m
I am trying to do by email,password stuff
so if I am doing it with email, password, clientid etc then I dont need oauth token?
b
No
m
ok then I will choose the email,password to generate token. Please advice next
b
Do node stuff to generate a soap request to send to your endpoint
m
Keep in mind if you use user/password authentication you cannot use high privileged roles that require 2FA
d
@Munish Singla I would strongly suggest not to use user based authentication. There are many limitations you will encounter when doing this. 1st. Your role access will be limited. 2nd. Your concurrency will also be limited.
As far as Token Based Authentication, I have no experience directly with Node.js and OAUTH.... however I am sure there are some good tutorials.