Skip to Content

XML->Idoc scenario XML encoding

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

Add a comment
10|10000 characters needed characters exceeded

Related questions

2 Answers

  • author's profile photo Former Member
    Former Member
    Posted on Dec 13, 2011 at 10:34 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?

    Add a comment
    10|10000 characters needed characters exceeded

  • author's profile photo Former Member
    Former Member
    Posted on Dec 13, 2011 at 10:25 AM

    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

    Add a comment
    10|10000 characters needed characters exceeded

Before answering

You should only submit an answer when you are proposing a solution to the poster's problem. If you want the poster to clarify the question or provide more information, please leave a comment instead, requesting additional details. When answering, please include specifics, such as step-by-step instructions, context for the solution, and links to useful resources. Also, please make sure that you answer complies with our Rules of Engagement.
You must be Logged in to submit an answer.

Up to 10 attachments (including images) can be used with a maximum of 1.0 MB each and 10.5 MB total.