Posted: Fri Jun 03, 2011 12:05 am Post subject: Problem writing message with binary element data on MB6.1
Newbie
Joined: 02 Nov 2010 Posts: 4
Hi All,
I have created a message set with below details:
1. Root type as 'Tagged Delimited' with length of tag as 10
2. One child element type as 'All elements delimited' with proper delimiter specified.
3. There are two elements under the above mentioned child element type:
i) First one is String element
ii) Second one is Base64Binary element
4. There are other child elements as well all with type as 'Tagged Delimited'
In my message flow I have created a new message pertaining to the above message set and by populating its value including the binary element value with byte stream. Also set the output message properties with above message set-id, type and format.
Now when I am trying to write the message to a queue using MQOutput node it is giving below exception for the binary element:
Text:CHARACTER:TDS writing error
Insert
Type:INTEGER:5
Text:CHARACTER:/msg_MCSInput/IMBED(1 of 99)/Imbed
ParserException
File:CHARACTER:F:\build\S000_P\src\cpi\pwf\nxd\nxdbinary.cpp
Line:INTEGER:202
Function:CHARACTER:NXDBinary::writeBinaryData
Type:CHARACTER:
Name:CHARACTER:
Label:CHARACTER:
Catalog:CHARACTER:BIPv610
Severity:INTEGER:3
Number:INTEGER:5436
Text:CHARACTER:A binary data item is too long or too short for a fixed length field
Insert
Type:INTEGER:5
Text:CHARACTER:229^Imbed
Insert
Type:INTEGER:5
Text:CHARACTER:Binary
It was working perfectly fine with MB 6.0 , but is having the said problem with MB 6.1.
Did anybody faced the similar issue? Any help on this would be greatly appreciated.
Thanks for the reply. The given link only talked about the parsing/creating message with string data type. My message set has a binary element, which is giving me problem when I am trying to write the message in a queue. It always assuming the binary data as fixed length field, though I haven't declared that.
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