Error in Job Detail service

Hi,

I have a code for Job Detail and I kept getting the error details below:

Error Message: Domain not available for this request : xsi

Error Code:12801


Below is a part of my code that sets the XDN from the successful JobSubmit call:

      com.easylink.ws.JobDetail._2020._06.JobIdType[] JobId = new com.easylink.ws.JobDetail._2020._06.JobIdType[1];

      JobId[0] = new com.easylink.ws.JobDetail._2020._06.JobIdType();

      JobId[0].setXDN("xsi");

      JobId[0].setMRN(BigInteger.valueOf(Long.parseLong(jn)));


      responseParameter = new JobDetailResultHolder();

      responseHeader = new ResponseHolder();


      JobDetailBindingStub bs = new JobDetailBindingStub();

     bs._setProperty(JobDetailBindingStub.ENDPOINT_ADDRESS_PROPERTY, "https://test2messaging.easylink.com/soap/sync");


      req.setJobId(JobId[0]);

      bs.jobDetail(req, requestHeader, responseParameter, responseHeader);


I actually find this very weird because this code used to work last month even if I just set the XDN to "test" so I suspect something has changed on your server side code.

What should be the correct value for XDN?

Answers

  • The prior issue was already resolved. Can you please check on the following error message instead?

    "XOA-2060 [no data found] : No delivery detail information available"

    I set the XDN and job number from the successful job submit in the job detail request and got the above message.

  • mparvathi_2021
    mparvathi_2021 Moderator, E Community Moderator

    Hi Angie,

    You are trying 'test2' domain in production environment(https://messaging.easylink.com/soap/sync) and 'xsi' domain in test2 environment(https://test2messaging.easylink.com/soap/sync) which you should use in reverse.

    If you have any further confusion on what domain need to be used for which job then you can clarify it while submitting the jobs. Once you submit a job you will get the domain retuned in <XDN> element of the result as highlighted below



    So you can use above XDN value when you are submitting the API requests.

  • mparvathi_2021
    mparvathi_2021 Moderator, E Community Moderator

    Can you confirm if your second issue is in test2 or PROD. Provide us the job number and when it was submitted

  • Thanks for your quick reply.

    its for prod..

    Anyway, the issue is now resolved. Thanks again.