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 » CWF TO XML

Post new topic  Reply to topic
 CWF TO XML « View previous topic :: View next topic » 
Author Message
bindu
PostPosted: Fri Oct 22, 2004 9:35 am    Post subject: CWF TO XML Reply with quote

Voyager

Joined: 07 May 2004
Posts: 97

Hi,
I am getting CWF message contains 3 records so i need to propagate each record as an xml response . Any help how can i approach.

Thanx,
Bindu
Back to top
View user's profile Send private message
jefflowrey
PostPosted: Fri Oct 22, 2004 9:36 am    Post subject: Reply with quote

Grand Poobah

Joined: 16 Oct 2002
Posts: 19981

You have answered your own question.

Search here for "propagate".
_________________
I am *not* the model of the modern major general.
Back to top
View user's profile Send private message
bindu
PostPosted: Fri Oct 22, 2004 9:47 am    Post subject: CWF TO XML Reply with quote

Voyager

Joined: 07 May 2004
Posts: 97

Hi Jeff,
I took my Input msg as BLOB and propagating each record now what happening is instead of two xml files i am getting 4 and also its data is still in BLOB. Any help.

Thanx,
Bindu
Back to top
View user's profile Send private message
siliconfish
PostPosted: Fri Oct 22, 2004 10:04 am    Post subject: Reply with quote

Master

Joined: 12 Aug 2002
Posts: 203
Location: USA

I think u should use ResetContentDescriptor
_________________
siliconfish
Back to top
View user's profile Send private message
bindu
PostPosted: Fri Oct 22, 2004 10:09 am    Post subject: CWF TO XML Reply with quote

Voyager

Joined: 07 May 2004
Posts: 97

Hi,
i used resetcontent decriptor too. I/pNode(BLOB) + computeNode(propagating input message for each record)+resetcontentdescriptor(reset to CWF+MRM)+compute node(transafaramation)+O/p

Any suggestion where i am doing wrong.

Thanx,
Bindu
Back to top
View user's profile Send private message
contactop
PostPosted: Fri Oct 22, 2004 10:20 am    Post subject: Reply with quote

Acolyte

Joined: 26 Jun 2003
Posts: 50

Instead of using BLOB, why dont u use it directly, by setting it to MRM, and use the propagate function.
Back to top
View user's profile Send private message
Nizam
PostPosted: Fri Oct 22, 2004 10:20 am    Post subject: Reply with quote

Disciple

Joined: 10 Feb 2004
Posts: 160

InputNode -> Reset Content Descriptor -> Compute(Transform to xml and propagate each record after converting cwf to xml ) -> outputNode

Does this sound like a solution to your problem?
Back to top
View user's profile Send private message
JT
PostPosted: Fri Oct 22, 2004 10:41 am    Post subject: Reply with quote

Padawan

Joined: 27 Mar 2003
Posts: 1564
Location: Hartford, CT.

Why are you doing this:

Quote:
I took my Input msg as BLOB

when....

Quote:
I am getting CWF message contains 3 records so i need to propagate each record as an xml response .

.....you say you have a CWF message.

Why receive the input message as a BLOB, just to convert it to a CWF message, before using it to create the XML messages?
Back to top
View user's profile Send private message
bindu
PostPosted: Fri Oct 22, 2004 10:55 am    Post subject: CWF TO XML Reply with quote

Voyager

Joined: 07 May 2004
Posts: 97

hI jt,
Now i changed my I/P MRM then i am getting the following MQI error

<ParserException>
<File>/build/S210_P/src/MTI/MTIforBroker/MtiImbParser2/MtiImbFIHandler.cpp</File>
<Line>438</Line>
<Function>MtiImbFIHandler::endMessageContent</Function>
<Type></Type>
<Name></Name>
<Label></Label>
<Text>MTI. Not all the buffer was used when reading message</Text>
<Catalog>WMQIv210</Catalog>
<Severity>3</Severity>
<Number>5288</Number>
<Insert>
<Type>5</Type>
<Text></Text>
</Insert>
</ParserException>
</ParserException>
</ParserException>


I/P(MRM) + COMPUTE (SEPERATING EACH RECORD BASED ON LENGTH AND PROPAGATING) +COMPUTE NODE(TRANSLATING TO XML)+O/P

But it goes to catch terminal of I/P and getting the above error.

Any suggestions.

Thanq You,
Bindu.
Back to top
View user's profile Send private message
JT
PostPosted: Fri Oct 22, 2004 11:11 am    Post subject: Reply with quote

Padawan

Joined: 27 Mar 2003
Posts: 1564
Location: Hartford, CT.

Quote:
<Number>5288</Number>

In case you weren't aware, this is your error message, which translates to this:

Quote:
BIP5288

Severity
20 : Error

Message
MRM parsing error. Message bit stream larger than expected.

Explanation
The bit stream of the message being parsed by the MRM parser is larger than expected for a message of this message type.

Response
The message bit stream has been incorrectly constructed, or the logical model is incorrect.
Ensure that the message is correctly packaged.
Ensure that the message properties are correct.
Ensure that the logical model for this message type is complete (the message set and message type should be quoted in previous messages).

Verify that your message structure accurately reflects the incoming message.
Back to top
View user's profile Send private message
contactop
PostPosted: Fri Oct 22, 2004 11:58 am    Post subject: Reply with quote

Acolyte

Joined: 26 Jun 2003
Posts: 50

can u do a debug on ur msgflow.
As the error indicates that the buffer exceding, it means ur message is of greater lengththat expected.

Can u check ur message length and count up all the element lengths that have been defined in message set.

Debugger is the correct option for checking if all elements map to corresponding elements when using a msg set.

hope this works out for u.
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 » CWF TO XML
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.