cancel
Showing results for 
Search instead for 
Did you mean: 

regarding xml file picking in file to file scenario..

former_member238007
Contributor
0 Kudos

Hi..

while picking the file from the sender directory, throwing mapping exception.. and when i view the file content the data doesn't contain message type and as well namespace..

is it mandatory to have message type and namespace in the input xml file ..

regards

Kishore

Accepted Solutions (0)

Answers (3)

Answers (3)

former_member183906
Active Contributor
0 Kudos

Yes it is.

Please can you take the Sender side Payload from SXMB_MONI and try to test the mapping in Message Mapping ---> Test Tab.

See if you are getting the same results. Even check if you have properly map the Header nodes in Mapping.

Take the payload from the SXMB_MONI and test your message mapping.If this is succesfull, check the receiver channel wheter the Message protocol is File

former_member192295
Active Contributor
0 Kudos

HI,

Header level data is mandatory for execution, in mapping test window give some inputs to fields and take xml format and generate file and test it. It will work. XML structure should match with ur source structure in IR

Former Member
0 Kudos

Hi,

Yes it is. Take XML source from your message mapping. Test tab, enter the data in the fields, go to source take that save as input file in your source directory.

Regards,

Venu V

former_member238007
Contributor
0 Kudos

Hi..

I know that when i take the xml from the test tab of message mapping the scenario is working but i am getting the file from external system

the same xml file looks like this..

<?xml version="1.0"?>

<note>

<to>Tove</to>

<from>Jani</from>

<heading>Reminder</heading>

<body>Don't forget me this weekend!</body>

</note>

when u see the above code it doesn't have any namespace or message type..

How to handle such scenarios..

regards,

Kishore

former_member192295
Active Contributor
0 Kudos

Hi,

At external system end better to check to change XML format, in XI point of view we need namespace & message type in header payload else we can't execute

former_member238007
Contributor
0 Kudos

Hi...Buddys..

Any more inputs for this.. issue will be really appreciated..

regards

Kishore..

Former Member
0 Kudos

Kishore,

You can resolve this by removing the contents of the 'xml namespace' field in the message type.

Note that this is likely to invalidate your message mapping, so you have to re-check whether that still works.

Regards,

Koen