on 2020 Aug 20 11:01 PM
Hi All,
checking if its possible to send empty xml elements as for eg <ABC/> ( empty tag) on the target xml,
XML file generated from CPI MM does not include the empty tag when no value found on the source.
I understand that no value of sending empty xml element on the target
but have specific requirement to match the legacy xml file which includes empty elements . any idea or pointers ?
Thanks,
Request clarification before answering.
Thank you Yetan and Sriprasad for your inputs.
Yes I agree if we need the start tag/end tag will need default value mapped for those fields.
In my case though I need only empty tag <ENDTAG/> ( defined as xstring )on the target.
What I noticed further checking on this ... if that helps others
When the source tag for eg <STARTTAG></STARTTAG> exists on the source xml file that is mapped to <ENDTAG> then CPI message mapping by default includes <ENDTAG/> empty tag in the target xml
if the source tag does not exists then it is skipped totally on the target XML.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
| User | Count |
|---|---|
| 14 | |
| 8 | |
| 6 | |
| 6 | |
| 3 | |
| 3 | |
| 2 | |
| 2 | |
| 2 | |
| 2 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.