cancel
Showing results for 
Search instead for 
Did you mean: 

Proxy to File The XML page cannot be displayed

Former Member
0 Kudos

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

Accepted Solutions (0)

Answers (2)

Answers (2)

former_member200962
Active Contributor
0 Kudos

Are you sure that the contents of the file are getting generated properly....can you see a proper message in the Communication Channel Log?

Former Member
0 Kudos

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

former_member186021
Participant
0 Kudos

Can you show us the File channel configuration?

If the file is saved in the XI server, you can use AL11 to see it in the XI.

BR,

Winters

former_member208856
Active Contributor
0 Kudos

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>

Former Member
0 Kudos

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

Former Member
0 Kudos

Pls any one let me know whats the wrong in above.

Thanks

Former Member
0 Kudos

Have you created you target xml file in AL11?

If yes, and if are trying to download is from there then it won't work. You have to copy it from the actual folder on system level or FTP it.

Former Member
0 Kudos

The issue got resolved. In configuration for this interface FCC is used. I removed that.

Former Member
0 Kudos

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.