on 01-13-2010 1:44 PM
Hi all...
I have an idoc to idoc scenario. when i was testing, in SXMB_MONI the status is processed successfully but in the payload getting an error
" The XML page cannot be displayed
Cannot view XML input using style sheet. Please correct the error and then click the Refresh button, or try again later.
-
Invalid at the top level of the document. Error processing resource 'file:///C:/Documents and Settings/xx/Desktop/t...
<?xml version="1.0" encoding="UTF-8" standalone="yes" ?><!-- Request Message Mapping --> EDI_DC40 4020000000017...
"
Can anyone help me in this..
-Anu
Hi,
Please download all XML payloads in SXI_MONITOR (right click on MainDocument ( application/xml ) and then download, save with .xml extension) to your desktop. Now open the payloads ( .xml) with browser.
This for your information:-
This is error is thrown by browser ( Internet Explorer or SXI_MONITOR (it has a inbuilt browser)) when XML is not well formed. The payload you have download is not well formed XML. Rules for well formed XML are http://www.w3.org/TR/2008/REC-xml-20081126/#sec-well-formed
This is document is bit difficult to understand.
In simple, a document in well - formed
1. It should have only one root element.
2. All elements should be properly nested.
3. &, < should be " & " and " < (when they are present in data).
Also note:- Chances of this error is more when you are using Java Mapping, XLST ( beacuse output of Graphical mapping is always well formed).
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Looks like your payload is not well formed ! This is strange to me :
<!-- Request Message Mapping --> EDI_DC40 4020000000017...
I do not see any root tag and children ...
Rgds
Chris
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
in SXMB_MONI the status is processed successfully but in the payload getting an error
So the scenario executed successfully? And now you are trying to open the payload in Internet Explorer (i guess)?
If you copied the payload from SXMB_MONI and saved it in your system and then trying to open it, then make sure that there are no hyphens ("-") present in the copied payload.
If you are getting the above error during message processing then ensure that your mapping is working properly. Use the same payload that you get as Inbound Payload and test in IR.
Regards,
Abhishek.
Edited by: abhishek salvi on Jan 13, 2010 7:25 PM
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
84 | |
10 | |
10 | |
10 | |
7 | |
6 | |
6 | |
5 | |
4 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.