cancel
Showing results for 
Search instead for 
Did you mean: 

xml : space added when encoding is added to header

prabhu_s2
Active Contributor
0 Kudos
234

Hi

I'm working on a SOAP scenario where the message that is created via proxy is adding a space in the header XML (space between " and ? )

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

The process that create the source message doesn't have this space and I think the 'Encoding=UTF-8' is added during the synchronous call. Wonder how this can be fixed.

Any suggestions please?

View Entire Topic
xinjiang_li
Active Participant
0 Kudos

Hi Prabhu,

Try using module parameters to modify the encoding to see whether the space is still there.

Or you can choose not use soap envelope of soap adapter and use xslt mapping or java mapping to generate soap envelope.