cancel
Showing results for 
Search instead for 
Did you mean: 

Starting tag missing in xml coming out of BPM

Former Member
0 Kudos

Hi Gurus,

I have a scenario in which the xml file is the input to BPM. The output file is missing the starting tag "<?xml version="1.0" encoding="UTF-8"?>" in the xml.

Could anyone suggest what might be the reason for this ?

Regards,

Pankaj

Accepted Solutions (0)

Answers (3)

Answers (3)

ambrish_mishra
Active Contributor
0 Kudos

Hi Pankaj,

Can you explain what happens after this message gets into BPM. It might be that the inbound interface does not generate this tag. You should check the output after each step in BPM to nail down the issue.

Hope it helps!

Ambrish

iaki_vila
Active Contributor
0 Kudos

Hi Pankaj,

A few cents, also the points suggested by Mark, if you are using file content conversion to generate a file the prolog is skipped as well.

Regards.

markangelo_dihiansan
Active Contributor
0 Kudos

Hello Pankaj,

The prolog does not explicitly get removed unless:

1. The input file does not contain it

2. Removed via Java/XSLT mapping

Hope this helps,

Mark

Former Member
0 Kudos

Hello Mark,

Thanks for the responce.

1. The input file does contain the xml tags.

2. The graphical mapping is just 1to1.

This issue seems to be with the BPM/ web service handling the XML structure.

Regards,

Pankaj

markangelo_dihiansan
Active Contributor
0 Kudos

Hello Pankaj,

If the webservice response is removing the prolog, it is best to ask the webservice provider to include it in the response. Adding it manually might mess up the encoding of the response XML.

Regards,

Mark