|  | 
 
  
    | RSS Feed - WebSphere MQ Support | RSS Feed - Message Broker Support |  
 
  
	|    |  |  
  
	| How to verify a CWF MRM? | « View previous topic :: View next topic » |  
  	| 
		
		
		  | Author | Message |  
		  | Boolean | 
			  
				|  Posted: Wed Nov 12, 2003 12:27 am    Post subject: How to verify a CWF MRM? |   |  |  
		  | Acolyte
 
 
 Joined: 05 Jun 2003Posts: 56
 Location: Sweden
 
 | 
			  
				| In my case I've built a TDS that parses an incoming file = OK. Outgoing message is in the CWF form and here I get "overflow" errors.
 
 Seems that the OutputRoot tree I construct in a Compute node doesn't match with the MRM.
 
 When dealing with XML and TDS formats, we usually create a dummy flow with one Input node and a trace node, just to see the looks of the InputRoot. In this case we dont have the CWF corresponding test file.
 
 Is there a way to get hold of the CWF tree in the broker? Seems that I can address elements that are not present in the MRM-CWF. Does no validation of the tree occur?
 
 /Anders (Boolean)
 |  |  
		  | Back to top |  |  
		  |  |  
		  | kimbert | 
			  
				|  Posted: Wed Nov 12, 2003 1:51 am    Post subject: |   |  |  
		  |  Jedi Council
 
 
 Joined: 29 Jul 2003Posts: 5543
 Location: Southampton
 
 | 
			  
				| You could put a trace node between the Compute node and the MQOutput node. That would show the state of the tree just before it was written. Then you could compare the tree with your message definitions. One possibility you may like to consider: if your TDS input message is tagged, you may be parsing some of the input message as 'self-defined'. In other words, your message definition may not be absolutely correct, but the TDS parser is managing to cope anyway. If you want to check this, set validation to 'Complete' on the MQInput node, and set Type Content to 'Closed' on all your compound types. You will then get an exception for any self-defining data.
 |  |  
		  | Back to top |  |  
		  |  |  
		  | Boolean | 
			  
				|  Posted: Wed Nov 12, 2003 6:06 am    Post subject: |   |  |  
		  | Acolyte
 
 
 Joined: 05 Jun 2003Posts: 56
 Location: Sweden
 
 | 
			  
				| The thing is that the output tree will be written to a CWF, and I want to make sure that the tree corresponds to the message set (it does not, since there is a crash on the mqoutput node). 
 Seems that there is no syntax checking on the childs in the output tree.
 Could it be that there are special rules for a CWF?
 
 /Anders (Boolean)
 |  |  
		  | Back to top |  |  
		  |  |  
		  | mpuetz | 
			  
				|  Posted: Wed Nov 12, 2003 1:40 pm    Post subject: |   |  |  
		  | Centurion
 
 
 Joined: 05 Jul 2001Posts: 149
 Location: IBM/Central WebSphere Services
 
 | 
			  
				| Hi, 
 other than taking a precise look at your exception list
 where is little you can do. CWF-MRM does an implicit
 validation, if your message tree doesn't match the metadata
 it will give an error. But is lax with respect to additional tree
 elements that do not belong there, it simply ignores them.
 
 CWF is special if you are using default values for your elements
 and you do not create elements in your tree in the correct order.
 
 Maybe you want to post the exception list and the output of your trace node after the mapping is done here for others to look at and help
 you with the interpretation.
 _________________
 Mathias Puetz
 
 IBM/Central WebSphere Services
 WebSphere Business Integration Specialist
 |  |  
		  | 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
 
 |  |  |  |