I have been using the test2 environment for the past month and was recently set up on the production environment for futher testing. I have updated my credentials to the new ones that were given to me.
I keep getting connection errors when attempting to call JobSubmit(). None of my C# code has changed one bit - the only changes I made were to the URL, Username, and Password. I used the exact same code to connect to the test2 environment without any issues at all. I specifically get this error:
Status.ErrorCode: 2209
Status:ErrorMessage:
"XOA-2909 [User authentication not accepted] : login not permitted: reason
code = 1056 msg-Bad (secure) password"
I have been advised to take my questions to these boards for answers. I can connect to the Fax2Mail portal with these credentials just fine. I have tried both http and https protocols when connecting (http posted below). Below is the snipit from my config file that stores the connection information and the code that sets up the request and calls the web service method (password is a dummy password here - please send me contact instructions if you need it):
Config:
Code used to set up authenticated request:
public EasyLinkJobSubmit.Request JobSubmitAuthenticatedRequest()
{
_jobSubmitAuthService = new JobSubmitService();
var request = new EasyLinkJobSubmit.Request();
request.Authentication = BuildJobSubmitAuthentication();
_jobSubmitAuthService.Url = _apiUrl;
request.ReceiverKey = _apiUrl;
return request;
}
private EasyLinkJobSubmit.RequestAuthentication BuildJobSubmitAuthentication()
{
var xddsAuth = new EasyLinkJobSubmit.XDDSAuthType();
var uid = new EasyLinkJobSubmit.UIDType();
uid.aliasType = "INTERNET";
uid.Value = _apiUsername;
xddsAuth.RequesterID = uid;
xddsAuth.Password = _apiPassword;
var requestAuth = new EasyLinkJobSubmit.RequestAuthentication();
requestAuth.Item = xddsAuth;
return requestAuth;
}
Code used to submit request to JobSubmit():
public JobSubmitResult Send(JobSubmitRequest submitRequest)
{
var submitResult = _submitService.JobSubmit(submitRequest);
return submitResult;
}
Like I said, all of this code worked flawlessly before changing the credentials, so I feel it is highly unlikely the code's fault.
Any insight would be appreciated, as this is getting frustrating.