Author |
Message
|
bindu |
Posted: Fri Oct 22, 2004 9:35 am Post subject: CWF TO XML |
|
|
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 |
|
 |
jefflowrey |
Posted: Fri Oct 22, 2004 9:36 am Post subject: |
|
|
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 |
|
 |
bindu |
Posted: Fri Oct 22, 2004 9:47 am Post subject: CWF TO XML |
|
|
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 |
|
 |
siliconfish |
Posted: Fri Oct 22, 2004 10:04 am Post subject: |
|
|
 Master
Joined: 12 Aug 2002 Posts: 203 Location: USA
|
I think u should use ResetContentDescriptor _________________ siliconfish |
|
Back to top |
|
 |
bindu |
Posted: Fri Oct 22, 2004 10:09 am Post subject: CWF TO XML |
|
|
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 |
|
 |
contactop |
Posted: Fri Oct 22, 2004 10:20 am Post subject: |
|
|
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 |
|
 |
Nizam |
Posted: Fri Oct 22, 2004 10:20 am Post subject: |
|
|
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 |
|
 |
JT |
Posted: Fri Oct 22, 2004 10:41 am Post subject: |
|
|
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 |
|
 |
bindu |
Posted: Fri Oct 22, 2004 10:55 am Post subject: CWF TO XML |
|
|
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 |
|
 |
JT |
Posted: Fri Oct 22, 2004 11:11 am Post subject: |
|
|
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 |
|
 |
contactop |
Posted: Fri Oct 22, 2004 11:58 am Post subject: |
|
|
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 |
|
 |
|