| Author | 
		  Message
		 | 
		
		  | sjaganna | 
		  
		    
			  
				 Posted: Tue Jul 14, 2009 3:06 am    Post subject: MQRFH2 question... | 
				     | 
			   
			 
		   | 
		
		
		   Novice
 
 Joined: 20 Feb 2009 Posts: 16
  
  | 
		  
		    
			  
				Hi,
 
 
I have a flow in which I have a JavaCompute node that I use to create the MQRFH2 header, I am using information in this link as an example to create the MQRFH2 header: http://publib.boulder.ibm.com/infocenter/wmbhelp/v6r0m0/index.jsp?topic=/com.ibm.etools.mft.doc/ac30440_.htm
 
 
In the debugger it looks like the MQRFH2 header gets created correctly. But when the message is picked up by a MQInput node I get "XML parsing error" when I enable trace on I get some more detailed message that indicates "An invalid character (Unicode 0x52) found in the prolog of the document". 
 
 
Can someone please help me decipher this error message.
 
 
Thanks
 
Srikanth | 
			   
			 
		   | 
		
		
		  | Back to top | 
		  
		  	
		   | 
		
		
		    | 
		
		
		  | fjb_saper | 
		  
		    
			  
				 Posted: Tue Jul 14, 2009 3:55 am    Post subject:  | 
				     | 
			   
			 
		   | 
		
		
		    Grand High Poobah
 
 Joined: 18 Nov 2003 Posts: 20768 Location: LI,NY 
  | 
		  
		    
			  
				You have a ccsid issue. Search the forum, it has been discussed many times   _________________ MQ & Broker admin | 
			   
			 
		   | 
		
		
		  | Back to top | 
		  
		  	
		   | 
		
		
		    | 
		
		
		  | sjaganna | 
		  
		    
			  
				 Posted: Tue Jul 14, 2009 6:21 am    Post subject:  | 
				     | 
			   
			 
		   | 
		
		
		   Novice
 
 Joined: 20 Feb 2009 Posts: 16
  
  | 
		  
		    
			  
				| Thanks for the response it was actually my bad I had a typo instead of setting the MQMD.Format as MQHRF2 I was setting it as MQRFH2 and hence the broker was not finding a parser. | 
			   
			 
		   | 
		
		
		  | Back to top | 
		  
		  	
		   | 
		
		
		    | 
		
		
		  | fjb_saper | 
		  
		    
			  
				 Posted: Tue Jul 14, 2009 10:51 am    Post subject:  | 
				     | 
			   
			 
		   | 
		
		
		    Grand High Poobah
 
 Joined: 18 Nov 2003 Posts: 20768 Location: LI,NY 
  | 
		  
		    
			  
				
   
	| sjaganna wrote: | 
   
  
	| Thanks for the response it was actually my bad I had a typo instead of setting the MQMD.Format as MQHRF2 I was setting it as MQRFH2 and hence the broker was not finding a parser. | 
   
 
 
This is why you should always use the literal constants instead of typing the values...   _________________ MQ & Broker admin | 
			   
			 
		   | 
		
		
		  | Back to top | 
		  
		  	
		   | 
		
		
		    | 
		
		
		  | JosephGramig | 
		  
		    
			  
				 Posted: Wed Jul 15, 2009 4:43 am    Post subject:  | 
				     | 
			   
			 
		   | 
		
		
		    Grand Master
 
 Joined: 09 Feb 2006 Posts: 1244 Location: Gold Coast of Florida, USA 
  | 
		  
		    
			  
				fjb_saper,
 
 
And the WMB (since this was a broker question) constant is? | 
			   
			 
		   | 
		
		
		  | Back to top | 
		  
		  	
		   | 
		
		
		    | 
		
		
		  | WMBDEV1 | 
		  
		    
			  
				 Posted: Wed Jul 15, 2009 6:05 am    Post subject:  | 
				     | 
			   
			 
		   | 
		
		
		   Sentinel
 
 Joined: 05 Mar 2009 Posts: 888 Location: UK 
  | 
		  
		    
		   | 
		
		
		  | Back to top | 
		  
		  	
		   | 
		
		
		    | 
		
		
		  | 
		    
		   |