on 2012 Feb 02 6:30 PM
Hi ..
XML Qry runs fine when it is run by a user in the transaction.
If the same trx is executed from the scheduler .. the XML Qry fails..
URL used in the XML Qry is /XMII/Illuminator?service=SystemInfo&Mode=Status&Content-Type=text/xml
Any work arounds or a ticket ?
- Ajay
Hi Ajay,
Can you provide the MII version and build, and if applicable, which NW version and SP?
Thanks,
Mike
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Jeremy,
I am not passing user credentials to the scheduler...
I will try that, but, how to get around the Message Processing Rule.
One of the collegue tried with user id and password, it dint work throwing out same error ..
"org.xml.sax.SAXParseException: The markup in the document following the root element must be well-formed.'
Thanks
Ajay
Edited by: Ajay Malempati on Feb 2, 2012 4:35 PM
Ajay,
No, I was mistaken about the credentials being visible in the processing rules and have verified this against the latest 12.1 and 12.2 versions. In the XML Query try using the following URL instead:
server://XMII/Illuminator?service=SystemInfo&Mode=Status&Content-Type=text/xml
Regards,
Sam
I would recommend against the HTML Loader because you have to parse the HTML response...you should be using the Web -> HTTP Post action block with the following configuration:
content-type = text/xml
URL = /XMII/Illuminator?service=SystemInfo&Mode=Status&Content-Type=text/xml
Credential Editor should point to an alias that has local MII permissions
The ReturnAsXML outgoing property will give you the same XML as the XMLQuery template did but it allows you to authenticate your request at runtime even though the transaction is triggered as an unauthenticated request. Either way you would have to maintain a set of credentials for the background task.
- Sam
User | Count |
---|---|
2 | |
1 | |
1 | |
1 | |
1 | |
1 | |
1 | |
1 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.