on 10-29-2009 3:49 PM
Hi,
Please can you assist. We will be receiving a XML file from an application without the namespace in the file.
As I tested thusfar PI requires a namespace as part of the xml file.
How would it be possible to you handle this with the file adapter.
Ex.
<?xml version="1.0" encoding="UTF-8"?>
<applicatrion>
<orders>
<order>
<action>I</action>
<orderId>4261A92485</orderId>
</order>
</orders>
</application>
Regards
Willie Hugo
remove your namespace from the MT itself
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi,
if you receive xml message without name sapce its not going to be any problem,normally we receive xml message withour name space only.When the message trasfer through PI,PI wil add name space wht you have created .But best pratice is to avoid name space while sending message to receiver,most of clients they wont accept PI name space present in Target message.
But in your case check the XML message its valid or not,if it valid ,File adapter will read xml message succesfully. so just forget abt name space in XML file.
Regards,
Raj
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Hugo,
Please see if this link could clear some doubts http://www.w3schools.com/XML/xml_namespaces.asp
We generally get an idoc xml in the below format without any issues:
<?xml version="1.0" encoding="UTF-8" ?>
- <ORDERS05>
- <IDOC BEGIN="1">
- <EDI_DC40 SEGMENT="1">
<TABNAM>EDI_DC40</TABNAM>
<MANDT>510</MANDT>
<DOCNUM>0000000000127051</DOCNUM>
<DOCREL>700</DOCREL>
<DIRECT>1</DIRECT>
<IDOCTYP>ORDERS05</IDOCTYP>
</EDI_DC40>
Thanks,
Sudhansu
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
87 | |
10 | |
10 | |
10 | |
7 | |
6 | |
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.