WsClient client = new WsClient(getTokenPassport(),new URL("
https://domain.suitetalk.api.netsuite.com"));
GetDataCenterUrlsResult urlsResult = client.callGetDataCenterUrls("account_id");
public TokenPassport getTokenPassport() {
String account = getProperty(ACCOUNT);
String consumerKey = getProperty(TBA_CONSUMER_KEY);
String consumerSecret = getProperty(TBA_CONSUMER_SECRET);
String token = getProperty(TBA_TOKEN);
String tokenSecret = getProperty(TBA_TOKEN_SECRET);
return new TokenPassport(account, consumerKey, consumerSecret, token, tokenSecret);
}
doing this for tba integration netsuite with java. getting invalid login attempts whereas from postman same keys giving response.
thanks