I’m using webMethods Integration Server 22.214.171.124, Updates IS_9.6_Core_Fix2.
Currently I need to use my flow service to send XML string from a String input to a partner’s web service. I’m using “pub.client:http” to do this.
My problem is, when I connect my String input (which contains the XML string) to “data/string” property in “pub.client:http” and send the data, my partner’s web service will throw “Content is not allowed in prolog” error. I believe this is due to there’s a byte order mark (BOM) at the beginning of the XML when it’s being passed from the input string to “data/string” property.
I don’t have the error if I paste the XML string directly in the “data/string” property. Can anybody help me how to remove this BOM when being passed to pub.client:http?
Thanks in advance.