cancel
Showing results for 
Search instead for 
Did you mean: 

FILE sender, error mapping

Former Member
0 Kudos

Hello,

I've FILE to RFC interface.

Input file is xml (NFS)

<fichero>

<field1>

...

<field9>

This file don't contain the <ns0:FICHERO xmlns:ns0="http://Pedidos"> and runtime the error RuntimeException in Message-Mapping transformatio~ occurs,

Is it necesary put this sentence in xml file? (with this sentence the test in message mapping IR is OK),

Should I require that you send the file to include this sentence?

thanks very much,

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

Hi Sakthi,

This is basically for your namspace if you not required

If you don't required <ns0:FICHERO xmlns:ns0="http://Pedidos"> tag in the xml while mapping so replace your namesapce from the message type both sender and receiver if required.

Message Type -- > XML Namespace (remove your namesapce under their) and activate.

Check your source and target structure, the following tag <ns0:FICHERO xmlns:ns0="http://Pedidos"> should not be there.

Regards,

Sameer

Edited by: sameer Khanna on Apr 2, 2009 1:43 PM

Answers (3)

Answers (3)

Former Member
0 Kudos

Hi

As said , Try to take the xml from the Test Tab by providing all the mandatory fields

Former Member
0 Kudos

>

> Hello,

>

> I've FILE to RFC interface.

>

> Input file is xml (NFS)

>

> <fichero>

> <field1>

> ...

> <field9>

>

> This file don't contain the <ns0:FICHERO xmlns:ns0="http://Pedidos"> and runtime the error RuntimeException in Message-Mapping transformatio~ occurs,

>

> Is it necesary put this sentence in xml file?

Yes it is required.

Best way is, you test you mapping by providing/inputing values in Test Tab and then press the SRC button copy the whole content on notepad and save it with .xml extension. Now use this test file at runtime.

former_member267355
Active Participant
0 Kudos

Hi Silvia,

You need to have the <ns0:FICHERO xmlns:ns0="http://Pedidos"> tag in the xml

otherwise mapping will fail.

Thanks & Regards,

Sakthi