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 » transform node problem

Post new topic  Reply to topic
 transform node problem « View previous topic :: View next topic » 
Author Message
skn
PostPosted: Thu Nov 20, 2003 7:42 am    Post subject: transform node problem Reply with quote

Centurion

Joined: 21 May 2003
Posts: 112
Location: Dallas

hi,

I have a message flow thats converts TDS to generic XML.When I deliberately misspell the reference to a element in the message set in my transform node,the node does not throw an exception.It just doesnt assign a value to that perticular XML element.Am i missing something here.Is it not supposed to throw an exception when it sees a incorrect reference(by the way I do have a try catch node before the transform).
Back to top
View user's profile Send private message
EddieA
PostPosted: Thu Nov 20, 2003 10:38 am    Post subject: Reply with quote

Jedi

Joined: 28 Jun 2001
Posts: 2453
Location: Los Angeles

Working as designed.

You 'may' be able to get an error thrown by using some of the validation options.

Cheers,
_________________
Eddie Atherton
IBM Certified Solution Developer - WebSphere Message Broker V6.1
IBM Certified Solution Developer - WebSphere Message Broker V7.0
Back to top
View user's profile Send private message
Missam
PostPosted: Thu Nov 20, 2003 11:47 am    Post subject: Reply with quote

Chevalier

Joined: 16 Oct 2003
Posts: 424

Hi

If you misspell in your reference broker looks for the misspelled element and doesn't find any.it continues processing with out throwing an exception.you can see this by debugging the flow.If you are referencing element which doesn't exist,it simply says Failed to navigate to path element becaue it doesn't exist and continues with the next line of your code.If you assign this to your XML element.You won't find this XML element in you output,becaue it is assigend to the element which doesn't exist means NULL.
Thanx
Sam
Back to top
View user's profile Send private message
skn
PostPosted: Fri Nov 21, 2003 9:19 am    Post subject: Reply with quote

Centurion

Joined: 21 May 2003
Posts: 112
Location: Dallas

Okay.Are there any conditions in which the transform node throws the message back to the trycatch node like what if I populate the environment exception list.
Back to top
View user's profile Send private message
jefflowrey
PostPosted: Fri Nov 21, 2003 9:36 am    Post subject: Reply with quote

Grand Poobah

Joined: 16 Oct 2002
Posts: 19981

purplemania wrote:
Okay.Are there any conditions in which the transform node throws the message back to the trycatch node like what if I populate the environment exception list.


There is a 'throw' ESQL statement that will cause the node to exit out of the 'failure' terminal - which if not connected will propogate back to the try/catch node.

You can also get exceptions thrown automatically when your code encounters runtime errors - like going past the bounds of an array, or assigning to a NULL reference, or assigning a string to an integer (or other such conversion failures).

But merely putting stuff into the ExceptionList tree will not cause the node to propogate out to the 'failure' terminal.
_________________
I am *not* the model of the modern major general.
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 » transform node problem
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.