JobSubmitService object as service client is not available

I am trying to implement the EasyLink API and stuck on 1 point while making object for JobSubmitService object as service client is not available. I am following the link below for implementation:
https://apiforums.easylink.com/system/files/CS_JobSubmit_SMS_Single_0.txt

Attached are the snapshot and my code for clarification, please let me know I am missing something.

Best Answer

Answers

  • The issue has been resolved as i was adding the Service Reference but for WSDL we need to add Web Reference.

    I am facing another issue at the point where we provide destinations to MessageType as you can see in the screenshot:

    Please help me in this regard.

    Thanks

  • Is there anyone who can help me in reference to upper post in this thread.

    Thanks

  • @Prabhakaran R thanks your solution worked. But now code is giving exception at below line:
    JS_Result = EM.JobSubmit(JS_Request);

    Exception Message = "The remote name could not be resolved: 'endpoint.easylink.com'"

    Following is snapshot from WSDL:

  • For the code which is attached(https://apiforums.easylink.com/system/files/CS_JobSubmit_SMS_Single_0.txt) we need to use http://ws.easylink.com/JobSubmit/2009/07?WSDL as web reference. Then this will be resolved.

    Here http://ws.easylink.com/JobSubmit/2011/01?WSDL is used and code is pointing to 200907wsdl. so that exception is thrown.

    Prabhakaran R
    Lead Software Engineer
    OpenText

  • @Prabhakaran Thanks for your quick reply. I followed your instructions about adding the web reference. I compare my code with the one you provided in the link. I am facing the following exception while sending request,

    Exception Message: "Unable to connect to the remote server"
    Inner Exception: "A connection attempt failed because the connected party did not properly respond after a period of time, or established connection failed because connected host has failed to respond 206.216.32.180:80"

    Please help me in this regard.

    Note: I have commented the method for Proxy setting in my code, I am assuming that this method is for proxy setting. Please guide me if I am wrong.

    Thanks

  • I don't have idea on this. But please cross check whether server is up and running.

    I couldn't find the function definition of Set_Server_and_Proxy(EM). So i am not sure what this function was doing

    Prabhakaran R
    Lead Software Engineer
    OpenText

  • Please see the findings from my side and let me know if I am missing something while configuring the API.

    Our network is passing the request as we have confirmed it, please see the below snapshot for your verification:

    The request has been reached out to your network but looks like your firewall is blocking it.

    The URL before sending the request is as follows:
    http://xoa.premiereglobal.com/

    Following is the code snapshot:

    Following is the snapshot for WSDL:

    We are following the link below to code the fax implementation:
    https://apiforums.easylink.com/system/files/CS_JobSubmit_SMS_Single_0.txt

    Let me know if anything else required from my side.

    Thanks

  • If Firewall is blocking please uncomment Set_Server_and_Proxy in the code and check once. I am not able to locate the definition of the function Set_Server_and_Proxy.

    Prabhakaran R
    Lead Software Engineer
    OpenText

  • @Prabhakaran i am also unable to locate the definition of function Set_Server_and_Proxy.

    Please share the definition of method if you can manage or is there any other way around?

    Thanks.

Sign In or Register to comment.