what is this EMsgAPI_Demo.
Where do i get the dll for this
That is the name of the application. There is no dll.
Thanks For that Reply.
As you said That it is application name.It worked correctly.And i got stuck again in the below code .I have used jobsubmit
Set_Server_and_Proxy(EM);//This part getting error Can you help me with this
// Setup Reqeust Object
if (cmbServer.Text.Contains("Async"))
{
Request.SenderKey = "http://www.bdrsoftware.com/Service1.asmx";
}
Request.ReceiverKey = EM.Url;
Request.Authentication = reqAuth;
Request.RequestID = "RequestID";
JS_Request.SubmitId = "SubmitId";
// Assign Reqeust and Response objects to EM Object
EM.RequestValue = Request;
EM.ResponseValue = Response;
JS_Request.Message = JS_Message;
JS_Request.DocumentSet = JS_Documents;
try
EM.JobSubmit(JS_Request);
JS_Result = null;
else
JS_Result = EM.JobSubmit(JS_Request);
catch (Exception ex)
System.Console.WriteLine(ex.Message);
System.Console.Read();
return;
if (JS_Result != null)
if (JS_Result.Status.StatusCode != null)
string JobNumber;
JobNumber = JS_Result.MessageResult[0].JobId.XDN + ":" + JS_Result.MessageResult[0].JobId.MRN;
txtJobNumber.Text = JobNumber;
string emfilename = "emresponse.xml";
string resfilename = "result.xml";
//string reqfilename = "request.xml";
//This will output the response, result and request(if uncommented) to XML files in the
//installed directory. This can be very usefull for debugging or ir help is requested from
//the EMAPI support team
if (chkResult)
serializeResult(emfilename, EM.ResponseValue);
serializeResult(resfilename, JS_Result);
//serializeResult(reqfilename, JS_Request);
catch (IOException io_error)
MessageBox.Show("Error - " + io_error, "Error", MessageBoxButtons.OK);
You need the helper functions. Add these in at the bottom.
https://apiforums.easylink.com/content/c-sample-helper-functions
Thanks for that.
Below is the issuse i am facing
JobSubmit_201101Service Not Found.
JobSubmit_201101.JobSubmit_201101Service EM = new JobSubmit_201101.JobSubmit_201101Service();
That is the name the sample uses for the imported WSDL. Did you import the WSDL? If so you should change the name in the sample with the name you used.