I am getting the following response using the sample C# project:
<?xml version="1.0" encoding="utf-8"?><AuthenticateResponse xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"> <AuthenticateResult> <Status xmlns="http://ws.easylink.com/Authenticate/2011/01"> <StatusCode>2909</StatusCode> <StatusMessage>User authentication not accepted</StatusMessage> <ErrorList> <Error> <ErrorCode>2909</ErrorCode> <ErrorMessage>XOA-2909 [User authentication not accepted] : login not permitted: reason code = 1000 msg-not found</ErrorMessage> </Error> </ErrorList> <SubmissionTime>2012-06-27T15:10:41.293Z</SubmissionTime> <CompletionTime>2012-06-27T15:10:41.332Z</CompletionTime> </Status> </AuthenticateResult> <Response> <SenderKey xmlns="http://ws.easylink.com/RequestResponse/2011/01">http://xoa.xpedite.com/Authenticate</SenderKey> <RequestID xmlns="http://ws.easylink.com/RequestResponse/2011/01">17446481</RequestID> <ProcessingID xmlns="http://ws.easylink.com/RequestResponse/2011/01">0ACD321E-1980-120627151041293</ProcessingID> </Response></AuthenticateResponse>
Am I missing something?? http://test2messaging.easylink.com/soap/sync
It's telling you the truth.
The user ID that is being used to access the test system is a production ID, so the account can not be validated.
On the plus side, you have successfully created and submitted the request and gotten a response back, so your API setup is just fine.
You can contact your sales team to get an account on test2, if you need one.
Thanks let me see if I can get a valid test2 id.
Looks for the userid and password I have I need to be using this URL: https://messaging.easylink.com/soap/sync. However, it looks like it's going over SSL but I do not have the corresponding certs. How to I acquire them?
See this post for details on how to retreive the certificates you need: https://apiforums.easylink.com/content/exporting-easylinks-messaging-api-ssl-certificate
Also note that the certificate will be changing in the near future - for details see this announcement: https://apiforums.easylink.com/announcements/436
Thanks hopefully I have all of the pieces to the puzzle.
I have the certs and I installed them which seems to help. However, I'm using WCF and I seem to be having an issue with the Cert settings. Is there documentation on the pieces that I need, i.e. which policies for message security (the cert looks like its using sha1/sha1RSA) and other options I need to configure?
For those of you who are using WCF here's what I found to work:
1. Generate a cert here: https://messaging.easylink.com/certgen, install as necessary2. Use the "basicHttpBinding" with security/transport = Certificate3. Setup an endpoint behavior with clientCrendentials setting storeLocation={location}, x509FindType=FindSubjectName and findValue = CN from the cert you generated.