| Author | 
		  Message
		 | 
		
		  | firoj.badsa | 
		  
		    
			  
				 Posted: Mon Jul 05, 2010 6:56 am    Post subject: CWF Logical Tree - Message Definition Mismatch | 
				     | 
			   
			 
		   | 
		
		
		    Centurion
 
 Joined: 16 Feb 2007 Posts: 104
  
  | 
		  
		    
			  
				Hi,
 
 
I have a CWF output message set in my flow. My input is not complete. I mean some of the input field doesnot have a value. like ..
 
<NAVAMFinanceZone></NAVAMFinanceZone>
 
 
I am providing a space for those .. like ..
 
SET RF_OutDB2Sync.contact admin.contact admin        = ' '; 
 
 
But I have value for the first element. But I am getting error for the first element itself.
 
Is this mandatory all element must have a value other than 'space'? Or anything wrong in the first element?
 
thanks in advance... | 
			   
			 
		   | 
		
		
		  | Back to top | 
		  
		  	
		   | 
		
		
		    | 
		
		
		  | fjb_saper | 
		  
		    
			  
				 Posted: Mon Jul 05, 2010 7:00 am    Post subject:  | 
				     | 
			   
			 
		   | 
		
		
		    Grand High Poobah
 
 Joined: 18 Nov 2003 Posts: 20768 Location: LI,NY 
  | 
		  
		    
			  
				IIRC XML strips spaces from the value of the element.
 
So an element with only a space value becomes an element with a null value.
 
 
Have fun   _________________ MQ & Broker admin | 
			   
			 
		   | 
		
		
		  | Back to top | 
		  
		  	
		   | 
		
		
		    | 
		
		
		  | firoj.badsa | 
		  
		    
			  
				 Posted: Mon Jul 05, 2010 7:03 am    Post subject:  | 
				     | 
			   
			 
		   | 
		
		
		    Centurion
 
 Joined: 16 Feb 2007 Posts: 104
  
  | 
		  
		    
			  
				| ok. But the error message have the first element name. where I have supplied some value for the first element. | 
			   
			 
		   | 
		
		
		  | Back to top | 
		  
		  	
		   | 
		
		
		    | 
		
		
		  | smdavies99 | 
		  
		    
			  
				 Posted: Mon Jul 05, 2010 7:19 am    Post subject:  | 
				     | 
			   
			 
		   | 
		
		
		    Jedi Council
 
 Joined: 10 Feb 2003 Posts: 6076 Location: Somewhere over the Rainbow this side of Never-never land. 
  | 
		  
		    
			  
				If you want to have the field present but with no value then something like the following might be the answer.
 
 
 Set Message.field_i_want_With_no_value VALUE=NULL; _________________ WMQ User since 1999
 
MQSI/WBI/WMB/'Thingy' User since 2002
 
Linux user since 1995
 
 
 
Every time you reinvent the wheel the more square it gets (anon). If in doubt think and investigate before you ask silly questions. | 
			   
			 
		   | 
		
		
		  | Back to top | 
		  
		  	
		   | 
		
		
		    | 
		
		
		  | fjb_saper | 
		  
		    
			  
				 Posted: Mon Jul 05, 2010 8:53 am    Post subject:  | 
				     | 
			   
			 
		   | 
		
		
		    Grand High Poobah
 
 Joined: 18 Nov 2003 Posts: 20768 Location: LI,NY 
  | 
		  
		    
			  
				
   
	| firoj.badsa wrote: | 
   
  
	| ok. But the error message have the first element name. where I have supplied some value for the first element. | 
   
 
 
True but if that first element is not in the right namespace...   _________________ MQ & Broker admin | 
			   
			 
		   | 
		
		
		  | Back to top | 
		  
		  	
		   | 
		
		
		    | 
		
		
		  | kimbert | 
		  
		    
			  
				 Posted: Mon Jul 05, 2010 10:40 am    Post subject:  | 
				     | 
			   
			 
		   | 
		
		
		    Jedi Council
 
 Joined: 29 Jul 2003 Posts: 5543 Location: Southampton 
  | 
		  
		    
			  
				| Take a debug-level user trace. It will show you where the error is actually occurring. If you can't make sense of it, post the relevant section ( not the entire trace, please ). | 
			   
			 
		   | 
		
		
		  | Back to top | 
		  
		  	
		   | 
		
		
		    | 
		
		
		  | 
		    
		   |