Author |
Message
|
Cubersome |
Posted: Mon Mar 19, 2012 1:43 pm Post subject: Issue with output terminal in WTX node |
|
|
Apprentice
Joined: 02 Mar 2012 Posts: 37
|
Hi,
I am using WTX node in the toolkit and I selected Use external map option under properties tab and then gave particular location (where .mmc resides) under Map serverlocation field. I manually created an output terminal for the WTX node and then named it exactly as the output card name of the WTX map and connected that terminal to another compute node. I deployed the message flow and the map is getting executed and the output is written to the file(I used file adapter in WTX map) instead of routing the data to compute node.
When I am debugging the flow the execution is getting stopped after the WTX node. Please help me why it is not routing to compute node?
I am using WMB toolkit - 7.0.0.1 and WTX - 8.3.0.4 |
|
Back to top |
|
 |
lancelotlinc |
Posted: Tue Mar 20, 2012 5:14 am Post subject: |
|
|
 Jedi Knight
Joined: 22 Mar 2010 Posts: 4941 Location: Bloomington, IL USA
|
|
Back to top |
|
 |
Cubersome |
Posted: Tue Mar 20, 2012 6:36 am Post subject: |
|
|
Apprentice
Joined: 02 Mar 2012 Posts: 37
|
Hi,
I only posted that question in the forum. I didn't get any concrete replies for that. For that question in the forum we are planning to use SDK.
Right now my issue is data is not getting passed from the WTX node if we add the output terminal manually. |
|
Back to top |
|
 |
lancelotlinc |
Posted: Tue Mar 20, 2012 7:32 am Post subject: |
|
|
 Jedi Knight
Joined: 22 Mar 2010 Posts: 4941 Location: Bloomington, IL USA
|
The concrete answer is find some other way to implement your functionality besides WTX. Other people may have differing opinions about it. _________________ http://leanpub.com/IIB_Tips_and_Tricks
Save $20: Coupon Code: MQSERIES_READER |
|
Back to top |
|
 |
mqjeff |
Posted: Tue Mar 20, 2012 7:36 am Post subject: |
|
|
Grand Master
Joined: 25 Jun 2008 Posts: 17447
|
Presumably either you've done something that's not possible, or you've done it the wrong way.
I don't know WTX, so I can't be more helpful. But there should be a listed error message somewhere if something wasn't done correctly. And the docs should hopefully be clear if you can't do this. |
|
Back to top |
|
 |
mqsiuser |
Posted: Tue Mar 20, 2012 8:12 am Post subject: |
|
|
 Yatiri
Joined: 15 Apr 2008 Posts: 637 Location: Germany
|
There are some options (in general):
1. Use ONE OutTerminal and do the "dispaching" afterwards (based one some (self-created or pre-existing) criteria).
2. Properly use (a couple of) output-terminals (you are struggeling with that it seems).
3. Route to Label
4. Destination-List & a couple of queues _________________ Just use REFERENCEs |
|
Back to top |
|
 |
Cubersome |
Posted: Tue Mar 20, 2012 8:17 am Post subject: |
|
|
Apprentice
Joined: 02 Mar 2012 Posts: 37
|
Hi,
Currently I have added only one output terminal to the WTX node. When I am running the msgflow the data is not gettin passed from the output terminal using the external map option. But when I am using the source map option the output terminal is coming automatically for the WTX node and in this case the data is getting passed from the output terminal. So I am confused why it is not working for external map option? |
|
Back to top |
|
 |
mqsiuser |
Posted: Tue Mar 20, 2012 9:11 am Post subject: |
|
|
 Yatiri
Joined: 15 Apr 2008 Posts: 637 Location: Germany
|
Cubersome wrote: |
[...] and in this case the data is getting passed from the output terminal. So I am confused why it is not working for external map option? |
Use the option that works
Added/new functionality: Put in an ESQL-Compute-Node (after the WTX-Map). _________________ Just use REFERENCEs |
|
Back to top |
|
 |
Ric-Tic |
Posted: Tue Mar 20, 2012 11:16 am Post subject: |
|
|
Apprentice
Joined: 18 Nov 2003 Posts: 38 Location: Zurich, Switzerland
|
When one references the external map in the WTX node properties, output terminals are (should be) created automatically ie if the are 2 output cards in your compiled map, out1 and out2 are created.
At runtime, data will be propagated from your map to terminals that are present. If a terminal is absent, the output will be written to the local specified in the output card ie WMB will override the card |
|
Back to top |
|
 |
Cubersome |
Posted: Tue Mar 20, 2012 12:54 pm Post subject: |
|
|
Apprentice
Joined: 02 Mar 2012 Posts: 37
|
Hi,
I tried putting a compute node instead of a subflow the data is not getting passed to the compute node. I cannot go ahead with the working option becuase we want to call the maps dynamically.
@Rictic
When we use the external map option WTX node will not create the output terminals automatically because the node does not how many otuput cards does the map have becaue the map can be built at other machine and stored at remote location and we are pointing to that location only. |
|
Back to top |
|
 |
mqsiuser |
Posted: Tue Mar 20, 2012 1:01 pm Post subject: |
|
|
 Yatiri
Joined: 15 Apr 2008 Posts: 637 Location: Germany
|
Cubersome wrote: |
we want to call the maps dynamically. |
Cubersome wrote: |
becaue the map can be built at other machine and stored at remote location and we are pointing to that location only. |
You are doing strange things. Probably just dont do that.
dynamic/untyped/decoupled/flexible has its limits and I think you reached them. _________________ Just use REFERENCEs |
|
Back to top |
|
 |
lancelotlinc |
Posted: Wed Mar 21, 2012 5:08 am Post subject: |
|
|
 Jedi Knight
Joined: 22 Mar 2010 Posts: 4941 Location: Bloomington, IL USA
|
|
Back to top |
|
 |
Ric-Tic |
Posted: Wed Mar 21, 2012 7:38 am Post subject: |
|
|
Apprentice
Joined: 18 Nov 2003 Posts: 38 Location: Zurich, Switzerland
|
Cubersome wrote: |
we are pointing to that location only. |
Did you specify the full path in the Map server location ie /directory/mapname.mmc etc?
That, and adding out1,out2 etc should work.
But if you want to invoke the maps dynamically, dependent on some other factor, you should make use of the LocalEnvironment settins ie LocalEnvironment.WTX.MapServerLocation |
|
Back to top |
|
 |
|