on 09-06-2018 9:13 AM
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"?>
<Report xmlns="urn:abc-com:xyz:abcdefgh:lmnopq" xmlns:xsd="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.
Hi,
Please share your logic here. and reason to put this logic..
BR,
Rashmi
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
91 | |
10 | |
10 | |
9 | |
9 | |
7 | |
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.