Posted: Mon Jan 23, 2006 6:43 am Post subject: MRM Not Encoding to Base64
Novice
Joined: 22 Nov 2005 Posts: 10 Location: UK
I've got a flow that's taking a BLOB field out of an Oracle database that I'm trying to send back to a client in a Base64 format element of an XML message.
The read goes fine, MRM message is formed but the data that comes out isn't in base64 but a hex style. In the MRM I've set the Logical properties up as base64Binary and the Physical XML as Base64. I've also tried setting the logical to hexBinary, in case being the same was causing a skipped conversion, but no joy. Looking at the trace the type is OK as BLOB after the read. Its just that the resultant message isn't correctly encoded.
Been through the forums, lots of people taking Base64 inwards. I'm doing that too and that works fine.
Joined: 17 Oct 2003 Posts: 344 Location: IBM Hursley
If the message has been built incorrectly then the element might not be matched to the model. If so it will be treated as 'self-defining' and this will cause the Encoding property to default to CDataHex. Please run your test again with validation switched on - if the message is incorrect then an exception will be thrown. You should set the validation properties on the last Compute node before the output node.
If the message is correct, then best to raise a PMR.
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum