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 » XML to CWF conversion

Post new topic  Reply to topic
 XML to CWF conversion « View previous topic :: View next topic » 
Author Message
prashkpankaj
PostPosted: Fri Apr 16, 2004 2:41 pm    Post subject: XML to CWF conversion Reply with quote

Newbie

Joined: 16 Apr 2004
Posts: 1

I have a java applicaiton that makes use of JMS to put an XML message in an MQSeries queue.
The message is run through an MQSI flow and then converted to CWF(Code wire format). I can see that the conversion went fine but the MainFrame application on the other end is not able to read the message.

error 2110 is what comes. which I found to be MQRC_FORMAT_ERROR.


To go more into it.
The string is created from the value in an XML message. The string is stored in a char variable MSGTEXT

SET OutputRoot."BLOB"."BLOB" = CAST (MSGTEXT as BLOB CCSID InputRoot.MQMD.CodedCharSetId);

The same code works if the message was put directly using another API of MQSeries rather than JMS.

What could be a solution here?

Thanks
Prash
Back to top
View user's profile Send private message
kirani
PostPosted: Fri Apr 16, 2004 4:29 pm    Post subject: Reply with quote

Jedi Knight

Joined: 05 Sep 2001
Posts: 3779
Location: Torrance, CA, USA

What are you using CWF for? It seems in your message flow you are transforming the message to BLOB format, so you are not making use of your message set at all.

what is the format of the message (MQMD.Format) set to when the message comes to the Broker's input queue?

Is your M/F application using MQGMO_CONVERT option when getting the message off the queue?

prashkpankaj wrote:

...and then converted to CWF(Code wire format).

CWF, means Custom Wire Format.
[/quote]
_________________
Kiran


IBM Cert. Solution Designer & System Administrator - WBIMB V5
IBM Cert. Solutions Expert - WMQI
IBM Cert. Specialist - WMQI, MQSeries
IBM Cert. Developer - MQSeries

Back to top
View user's profile Send private message Visit poster's website
Display posts from previous:   
Post new topic  Reply to topic Page 1 of 1

MQSeries.net Forum Index » WebSphere Message Broker (ACE) Support » XML to CWF conversion
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.