|
RSS Feed - WebSphere MQ Support
|
RSS Feed - Message Broker Support
|
 |
|
problem in messageflow with database operation |
« View previous topic :: View next topic » |
Author |
Message
|
rohit |
Posted: Tue Jul 05, 2005 6:22 am Post subject: problem in messageflow with database operation |
|
|
 Apprentice
Joined: 05 Jul 2005 Posts: 40
|
Hi,
I was trying to create a messageflow by which i can retrieve the details from the database.
I have created a database called dbase1 and table called table1 with two fields item and cost.
then i configured DSN using administrative tool->odbc(32 bit) with (dbase name)same name.
and in compute node i coded the following.
SET OutputRoot=InputRoot;
SET OutputRoot.XML.Product.cost[] =
(SELECT T.Item,T.Cost FROM TABLE1 AS T);
the input message i am planning is
<product>
<item>orange</item>
</product>
the output message i prefer is
<product>
<item>orange</item>
<cost>500</item>
</product>
when i try to deploy the following error message is comming,Can anyone tell me what is the mistake i am doing .
Is my dsn creation is correct or am i missing anything.
BIP2432E: (, 5.28) : The correlation name 'TABLE1' is not valid. Those in scope are: Environment, InputLocalEnvironment, OutputLocalEnvironment, InputRoot, InputBody, InputProperties, OutputRoot, InputExceptionList, OutputExceptionList, Database, InputDestinationList, OutputDestinationList.
The first element of a field reference must be a valid correlation name, from those in scope. This message may sometimes be due to an incorrectly formed or spelled expression which is not intended to be a field reference being parsed as if it were a field reference because the parser does not recognize it.
Correct the syntax of the expression and redeploy the message flow.
Regards
Rohit |
|
Back to top |
|
 |
jefflowrey |
Posted: Tue Jul 05, 2005 6:25 am Post subject: Re: problem in messageflow with database operation |
|
|
Grand Poobah
Joined: 16 Oct 2002 Posts: 19981
|
|
Back to top |
|
 |
|
|
 |
|
Page 1 of 1 |
|
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
|
|
|
|