ASG
IBM
Zystems
Cressida
Icon
Netflexity
 
  MQSeries.net
Search  Search       Tech Exchange      Education      Certifications      Library      Info Center      SupportPacs      LinkedIn  Search  Search                                                                   FAQ  FAQ   Usergroups  Usergroups
 
Register  ::  Log in Log in to check your private messages
 
RSS Feed - WebSphere MQ Support RSS Feed - Message Broker Support

MQSeries.net Forum Index » WebSphere Message Broker (ACE) Support » Problem writing message with binary element data on MB6.1

Post new topic  Reply to topic
 Problem writing message with binary element data on MB6.1 « View previous topic :: View next topic » 
Author Message
santu
PostPosted: Fri Jun 03, 2011 12:05 am    Post subject: Problem writing message with binary element data on MB6.1 Reply with quote

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.
Back to top
View user's profile Send private message
kimbert
PostPosted: Fri Jun 03, 2011 12:54 pm    Post subject: Reply with quote

Jedi Council

Joined: 29 Jul 2003
Posts: 5542
Location: Southampton

A quick Google search for 'BIP5436' turned this up immediately:
http://www.mqseries.net/phpBB2/viewtopic.php?p=257249&sid=39556946de319719f4c00ddff88d67b1

Any reason why you didn't try that?
Back to top
View user's profile Send private message
santu
PostPosted: Wed Jun 08, 2011 1:14 am    Post subject: Reply with quote

Newbie

Joined: 02 Nov 2010
Posts: 4

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.
Back to top
View user's profile Send private message
kimbert
PostPosted: Wed Jun 08, 2011 1:18 am    Post subject: Reply with quote

Jedi Council

Joined: 29 Jul 2003
Posts: 5542
Location: Southampton

I think you stopped reading too soon. Look at the reply from ChrisBUK.
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic  Reply to topic Page 1 of 1

MQSeries.net Forum Index » WebSphere Message Broker (ACE) Support » Problem writing message with binary element data on MB6.1
Jump to:  



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
Protected by Anti-Spam ACP
 
 


Theme by Dustin Baccetti
Powered by phpBB © 2001, 2002 phpBB Group

Copyright © MQSeries.net. All rights reserved.