Pega Smart Investigate - Outgoing XML message via MQ - adding of xml version encoding
Hi all,
would you be able to help me on how to add an encoding to the beginning of a XML message that will be sent via Connect-MQ ?
It should be either of the below added to the start of the message:
<?xml version="1.0" encoding="utf-8"?>
<?xml version="1.0"?>
Hi all,
would you be able to help me on how to add an encoding to the beginning of a XML message that will be sent via Connect-MQ ?
It should be either of the below added to the start of the message:
<?xml version="1.0" encoding="utf-8"?>
<?xml version="1.0"?>
e.g. the message would look similarly: <?xml version="1.0"?> <MsgData> <Header> <HeaderVersion>2.1</HeaderVersion> <MessageReference>000001010184749</MessageReference> <CreationDateTime>2024-07-08T08:07:11Z</CreationDateTime> <MessageType>pacs.008.001.08</MessageType> <UsageIdentifier>swift.cbprplus.02</UsageIdentifier> <AppHeaderType>head.001.001.02</AppHeaderType> <BulkType>None</BulkType> <TransmissionParameters> <Environment>ACC</Environment> <TransmissionReference>4000164407</TransmissionReference> <BackEndId>SIMISO-133</BackEndId> <Direction>ToNetwork</Direction> <Network>SWIFT</Network> ....
Is this possible?
I was looking into using -Dfile.encoding=UTF-8, however I am not sure how to implement this, whether in the MessageCreator activity or somewhere bit else?
Thank you for any suggestions.