Skip to Content

XML to XML: Split mapping created no messages.

XI is unable to split the message in Message Mapping(error: Split mapping created no messages.) because of source XML issue and unable to identity the exact issue in xmlns.

1. source always sends xml message in the below format.<?xml version="1.0"

<?xml version="1.0" encoding="UTF-8"?>

http://www.w3.org/2001/XMLSchema" xmlns:xsi=" http://www.w3.org/2001/XMLSchema-instance">

<Header>

<Type>XX</Type>

<Date>2018</Date>

</Header>

<Detail>

<Doc>XX</Doc>

<Type/>

<Detail2>

<AMR>12345</AMR>

<SerialNumber>xxxxxxxx</SerialNumber>

<Description1>xxxxxxxx </Description1>

<Company>xxxx</Company>

<Location>xxxxxxx</Location>

<Center>xxxxxxx</Center>

</Detail2>

</Detail>

</Report>

2. But i managed to process the above message by replacing

<Header> with <Header xmlns="">
<Detail> with <Detailxmlns="">

i feel adding xmlns="" to header and detail is a wearied thing.

Please suggest whether the XML tag is proper or not, if not what should be the appropriate one.

If my second option is correct what should i append those in Header and Detail.

Add comment
10|10000 characters needed characters exceeded

  • Follow
  • Get RSS Feed

1 Answer

  • Sep 10, 2018 at 12:31 PM

    Hi,

    Please share your logic here. and reason to put this logic..

    BR,

    Rashmi

    Add comment
    10|10000 characters needed characters exceeded