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
-
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.
0 -
Can you confirm if your second issue is in test2 or PROD. Provide us the job number and when it was submitted
0
Categories
- All Categories
- 123 Developer Announcements
- 54 Articles
- 150 General Questions
- 148 Thrust Services
- 57 OpenText Hackathon
- 37 Developer Tools
- 20.6K Analytics
- 4.2K AppWorks
- 9K Extended ECM
- 918 Core Messaging
- 84 Digital Asset Management
- 9.4K Documentum
- 32 eDOCS
- 186 Exstream
- 39.8K TeamSite
- 1.7K Web Experience Management
- 8 XM Fax
- Follow Categories