use of com.netsuite.webservices.v2016_2.platform.core.GetDataCenterUrlsResult in project components by Talend.
the class NetSuitePortTypeMockAdapterImpl method getDataCenterUrls.
public GetDataCenterUrlsResponse getDataCenterUrls(GetDataCenterUrlsRequest parameters) throws InvalidSessionFault, UnexpectedErrorFault, InsufficientPermissionFault, InvalidCredentialsFault, ExceededRequestSizeFault {
GetDataCenterUrlsResponse response = null;
if (port != null) {
response = port.getDataCenterUrls(parameters);
}
if (response == null) {
response = new GetDataCenterUrlsResponse();
GetDataCenterUrlsResult result = new GetDataCenterUrlsResult();
Status status = new Status();
status.setIsSuccess(true);
result.setStatus(status);
DataCenterUrls urls = new DataCenterUrls();
urls.setWebservicesDomain(endpointAddress.toString());
urls.setSystemDomain(endpointAddress.toString());
result.setDataCenterUrls(urls);
response.setGetDataCenterUrlsResult(result);
return response;
}
return response;
}
use of com.netsuite.webservices.v2016_2.platform.core.GetDataCenterUrlsResult in project components by Talend.
the class NetSuitePortTypeMockAdapterImpl method getDataCenterUrls.
public GetDataCenterUrlsResponse getDataCenterUrls(GetDataCenterUrlsRequest parameters) throws InvalidSessionFault, UnexpectedErrorFault, InsufficientPermissionFault, InvalidCredentialsFault, ExceededRequestSizeFault {
GetDataCenterUrlsResponse response = null;
if (port != null) {
response = port.getDataCenterUrls(parameters);
}
if (response == null) {
response = new GetDataCenterUrlsResponse();
GetDataCenterUrlsResult result = new GetDataCenterUrlsResult();
Status status = new Status();
status.setIsSuccess(true);
result.setStatus(status);
DataCenterUrls urls = new DataCenterUrls();
urls.setWebservicesDomain(endpointAddress.toString());
urls.setSystemDomain(endpointAddress.toString());
result.setDataCenterUrls(urls);
response.setGetDataCenterUrlsResult(result);
return response;
}
return response;
}
Aggregations