Hello,
In order to send notification mail using web service, i use the sample availbale on https://apiforums.easylink.com/content/c-sample-authenticate-complete-project
This is the code :
// Authenticate
// Setup Premiere Connect Object
EMsgAPIGen.XOA EM = new EMsgAPIGen.XOA();
// setup Authentication objects
EMsgAPIGen.Authentication PCAuthentication = new EMsgAPIGen.Authentication();
EMsgAPIGen.XDDSAuthType XDDSAuth = new EMsgAPIGen.XDDSAuthType();
// init Authentication objects
XDDSAuth.Password = "HORUS"; // Set Passcode / Password
XDDSAuth.RequesterID = "Xsf/j-vellinger"; // Set RequestId / UserId
PCAuthentication.XDDSAuth = XDDSAuth;
// Setup Request / Respone objects for Premiere Connect
EMsgAPIGen.Request Request = new EMsgAPIGen.Request();
EMsgAPIGen.Response Response = new EMsgAPIGen.Response();
// Setup Authenticate Reqeust and Result objects
EMsgAPIGen.AuthenticateRequest Submit_Request = new EMsgAPIGen.AuthenticateRequest();
EMsgAPIGen.AuthenticateResult Submit_Result = new EMsgAPIGen.AuthenticateResult();
// Init Reqeust properties
Request.Authentication = PCAuthentication;
Request.ResultRequired = EMsgAPIGen.RequiredType.yes;
Request.ResponseRequiredSpecified = true;
// Init Premiere Connect Object
EM.RequestValue = Request;
EM.ResponseValue = Response;
try
{
Submit_Result = EM.Authenticate(Submit_Request);
}
catch (System.Exception ex)
{
System.Console.WriteLine(ex.Message);
}
Unfortunatly i have an error on the line : Submit_Result = EM.Authenticate(Submit_Request); the quind of error was state HTTP 504 : Proxy Timeout
Thank you for your help.