on 12-13-2011 10:20 AM
Hello all,
I'm quite new to the PI-world.
I have to migrate an existing Business connector interface to a PI system.
The file i'm receiving is an xml and looks like below.
I have followed a standard scenario of File (FTP) to Idoc, but PI doesn't seem to be able to read the XML.
I'm supposing something is wrong in the encoding ... ???
Can someone help?
<?xml version="1.0" ?>
- <biztalk_1 xmlns="urn:biztalk-org:biztalk:biztalk_1">
- <header>
- <delivery>
- <to>
<address>urn:sap-com:logical-system:TMP_100</address>
</to>
- <from>
<address>urn:sap-com:logical-system:LABOUNI</address>
</from>
</delivery>
</header>
- <body>
- <doc:MaintOrdConfirmation.ConfCreate xmlns="" xmlns:doc="urn:sap-com:document:sap:business">
- <Timetickets>
- <item>
<CONF_NO />
<ORDERID>000000774384</ORDERID>
<OPERATION>0450</OPERATION>
<SUB_OPER />
<CAPA_CATEGORY />
<SPLIT />
<FIN_CONF />
<COMPLETE />
<CLEAR_RES />
<POSTG_DATE />
<DEV_REASON />
<CONF_TEXT />
Edited by: Kris Lefever on Dec 13, 2011 11:21 AM
Hi Kris,
The provided XML is not valid. Cross check with the structure of the message and you will find the issue.
Is the provided XML is working fine while working with the Business connector?
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hello all,
Below the complete xml file:
<?xml version = '1.0'?>
<biztalk_1 xmlns="urn:biztalk-org:biztalk:biztalk_1">
<header>
<delivery>
<to>
<address>urn:sap-com:logical-system:XXX_XXX</address>
</to>
<from>
<address>urn:sap-com:logical-system:XXXX</address>
</from>
</delivery>
</header>
<body>
<doc:MaintOrdConfirmation.ConfCreate xmlns="" xmlns:doc="urn:sap-com:document:sap:business">
<Timetickets>
<item>
<CONF_NO/>
<ORDERID>000000000004</ORDERID>
<OPERATION>0450</OPERATION>
<SUB_OPER/>
<CAPA_CATEGORY/>
<SPLIT/>
<FIN_CONF/>
<COMPLETE/>
<CLEAR_RES/>
<POSTG_DATE/>
<DEV_REASON/>
<CONF_TEXT/>
<PLANT/>
<WORK_CNTR/>
<ACT_WORK>354</ACT_WORK>
<UN_WORK/>
<UN_WORK_ISO>PT</UN_WORK_ISO>
<REM_WORK/>
<UN_REM_WRK/>
<UN_REM_WRK_ISO>PT</UN_REM_WRK_ISO>
<ACTUAL_DUR/>
<UN_ACT_DUR/>
<UN_ACT_DUR_ISO/>
<EXEC_START_DATE/>
<EXEC_START_TIME/>
<EXEC_FIN_DATE/>
<EXEC_FIN_TIME/>
<FCST_FIN_DATE/>
<FCST_FIN_TIME/>
<PERS_NO/>
<TIMEID_NO/>
<ACT_TYPE>LABOPT</ACT_TYPE>
<WAGETYPE/>
<CALC_MOTIVE/>
<EX_CREATED_BY/>
<EX_CREATED_DATE/>
<EX_CREATED_TIME/>
<EX_IDENT/>
</item>
</Timetickets>
<PostWrongEntries>2</PostWrongEntries>
<Testrun/>
</doc:MaintOrdConfirmation.ConfCreate>
</body>
</biztalk_1>
Hi Kris,
The XML file seems to be invalid.
You can test it yourself, copy the xml content into a notepad and save it in .xml format. If the file opens in internet explorer without and error, then it is valid or else invalid.
Regards
Ramesh
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
93 | |
10 | |
10 | |
9 | |
9 | |
7 | |
6 | |
5 | |
5 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.