on 08-26-2010 8:43 AM
Hi My scenario is Proxy to File
no error in moni and also in comm channel.
.xml File generated sucessfully in the target. while i am trying to open it it saying that
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/P7106410/Desktop/Pro...
Gone through the related blogs but didnt solved.
Pls let me know what may the wrong
Vankadoath
Are you sure that the contents of the file are getting generated properly....can you see a proper message in the Communication Channel Log?
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Thanks for ur replies Abhishek salvi, SudipPaul
no errors in comm channel shows all the logs sucessfull.
If I open the this file in note pad it shows correct
its an xml file, its not able to open in xml shows the error as
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.
the xml structure is
<?xml version="1.0" encoding="utf-8" ?>
- <n0:Logos_ProjectPhasesData_SEN_MT xmlns:n0="ness.com:Czech:ProjectPhasesData" xmlns:prx="urn:sap.com:proxy:DV3:/1SAI/TAS30B2AEEE452B4C067B89:701:2009/02/10">
- <Row>
<PROJECT_DEF>X0-0097</PROJECT_DEF>
<DESCRIPTION1>Project for 3750-111.</DESCRIPTION1>
<RESPONSIBLE_NO1>00001831</RESPONSIBLE_NO1>
<WBS_ELEMENT>01-01</WBS_ELEMENT>
<DESCRIPTION2>Project for 3750-111</DESCRIPTION2>
<RESPONSIBLE_NO2>00000123</RESPONSIBLE_NO2>
<COUNTRY>HU</COUNTRY>
</Row>
- <Row>
<PROJECT_DEF>X0-0097</PROJECT_DEF>
<DESCRIPTION1>Project for 3750-111.</DESCRIPTION1>
<RESPONSIBLE_NO1>00001831</RESPONSIBLE_NO1>
<WBS_ELEMENT>01</WBS_ELEMENT>
<DESCRIPTION2>Project for 3750-111</DESCRIPTION2>
<RESPONSIBLE_NO2>00000123</RESPONSIBLE_NO2>
<COUNTRY>HU</COUNTRY>
</Row>
</n0:Logos_ProjectPhasesData_SEN_MT>
Regards
Vankadoath
When I checked your XML here, there are errors.
- <n0:Logos_ProjectPhasesData_SEN_MT xmlns:n0="ness.com:Czech:ProjectPhasesData" xmlns:prx="urn:sap.com:proxy:DV3:/1SAI/TAS30B2AEEE452B4C067B89:701:2009/02/10">
- <Row>
and
- <Row>
<PROJECT_DEF>X0-0097</PROJECT_DEF>
Please remove - from these 3 lines & check your XML, it will work fine.
correct XML will be as below :
<?xml version="1.0" encoding="utf-8" ?>
<n0:Logos_ProjectPhasesData_SEN_MT xmlns:n0="ness.com:Czech:ProjectPhasesData" xmlns:prx="urn:sap.com:proxy:DV3:/1SAI/TAS30B2AEEE452B4C067B89:701:2009/02/10">
<Row>
<PROJECT_DEF>X0-0097</PROJECT_DEF>
<DESCRIPTION1>Project for 3750-111.</DESCRIPTION1>
<RESPONSIBLE_NO1>00001831</RESPONSIBLE_NO1>
<WBS_ELEMENT>01-01</WBS_ELEMENT>
<DESCRIPTION2>Project for 3750-111</DESCRIPTION2>
<RESPONSIBLE_NO2>00000123</RESPONSIBLE_NO2>
<COUNTRY>HU</COUNTRY>
</Row>
<Row>
<PROJECT_DEF>X0-0097</PROJECT_DEF>
<DESCRIPTION1>Project for 3750-111.</DESCRIPTION1>
<RESPONSIBLE_NO1>00001831</RESPONSIBLE_NO1>
<WBS_ELEMENT>01</WBS_ELEMENT>
<DESCRIPTION2>Project for 3750-111</DESCRIPTION2>
<RESPONSIBLE_NO2>00000123</RESPONSIBLE_NO2>
<COUNTRY>HU</COUNTRY>
</Row>
</n0:Logos_ProjectPhasesData_SEN_MT>
Sundeep
I copied the xml which you written and tested from RW, file getting created and not able to open in xml saying the same error as earlier.
I written Dynamic file name udf in the mapping.
Winters the file configuration is as below
Target Directory:
XXXXXXXX\SAP-XXXX\PRESENTATIONS\ASAP\SAPNESS\XI DEV Tests
create target directory: Enabled
Filename scheme:<Test>
File construction mode: Add time stamp
write mode:Directly
Empty message handling: write empty file
File type: Binary
Adapter specific attributes
use specific message attributes: Enabled
fail if adapter speficmessage attributes missing: Enabled
file name: Enabled.
pls let me know if any thing wrong
Thanks
Vankadoath
Hi ,
This should be a case of the xml not being well-formed. Instead of trying to open the file in the XML viewer or a browser open it in a text editor(notepad etc). You should fine the structure of the XML would not be correct. Rest you should be able to figure out by yourself.
Thanks,
Sudip.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
90 | |
10 | |
10 | |
10 | |
7 | |
7 | |
6 | |
5 | |
4 | |
3 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.