| Author | 
		  Message
		 | 
		
		  | mglaiste | 
		  
		    
			  
				 Posted: Wed Feb 18, 2004 7:56 am    Post subject: BIP5180E | 
				     | 
			   
			 
		   | 
		
		
		   Novice
 
 Joined: 06 Jun 2003 Posts: 16 Location: TSE Port Talbot, Wales 
  | 
		  
		    
			  
				WMQI v2.1, CSD04
 
 
I've built a message and message set by importing a DTD.
 
I'm using this as the output from a compute node. The input message set in an existin MRM.
 
 
When I process a message i get the following errors in the syslog:-
 
 
Feb 18 15:15:33 tsaix19 WMQIv210[73276]: (MQSI_TSMQBKD2_BROKER.exec8)[4977]BIP26
 
28E: Exception condition detected on input node 'IZ_MCSdesp_Desadv_Edisel_XML_UK
 
_MFD01.Input from MCS'. : MQSI_TSMQBKD2_BROKER.4686c5f9-f500-0000-0080-efc34af07
 
1b6: /build/S210_P/src/DataFlowEngine/ImbMqInputNode.cpp: 1334: ImbMqInputNode::
 
readQueue: ComIbmMQInputNode: c740978a-fa00-0000-0080-a1f31792b3a9
 
Feb 18 15:15:33 tsaix19 WMQIv210[73276]: (MQSI_TSMQBKD2_BROKER.exec8)[4977]BIP22
 
30E: Error detected whilst processing a message in node 'IZ_MCSdesp_Desadv_Edise
 
l_XML_UK_MFD01.Create Desadv XML'. : MQSI_TSMQBKD2_BROKER.4686c5f9-f500-0000-008
 
0-efc34af071b6: /build/S210_P/src/DataFlowEngine/ImbComputeNode.cpp: 453: ImbCom
 
puteNode::evaluate: ComIbmComputeNode: a6ca178b-fa00-0000-0080-a1f31792b3a9
 
Feb 18 15:15:33 tsaix19 WMQIv210[73276]: (MQSI_TSMQBKD2_BROKER.exec8)[4977]BIP52
 
85E: Message Translation Interface Parsing Errors have occurred:  : MQSI_TSMQBKD
 
2_BROKER.4686c5f9-f500-0000-0080-efc34af071b6: /build/S210_P/src/MTI/MTIforBroke
 
r/MtiImbParser2/MtiImbSyntaxElement.cpp: 237: CpContext::setToParse: : 
 
Feb 18 15:15:33 tsaix19 WMQIv210[73276]: (MQSI_TSMQBKD2_BROKER.exec8)[4977]BIP51
 
80E: CWF Error : Unknown message type : MQSI_TSMQBKD2_BROKER.4686c5f9-f500-0000-
 
0080-efc34af071b6: /build/S210_P/src/cpi/pwf/cwf/cwfworker.cpp: 410: CWFWorker::
 
initializeParse:
 
 
 
Here is the code for the compute node I am using:-
 
 
DECLARE C INTEGER;
 
SET C = CARDINALITY(InputRoot.*[]);
 
DECLARE I INTEGER;
 
SET I = 1;
 
WHILE I < C DO
 
	SET OutputRoot.*[I] = InputRoot.*[I];
 
	SET I=I+1;
 
END WHILE;
 
SET OutputRoot.Properties.MessageSet = 'DTRND6C0A2001';
 
SET OutputRoot.Properties.MessageType = 'Desadv_Edisel_XML';
 
-- Enter SQL below this line.  SQL above this line might be regenerated, causing any modifications to be lost.
 
SET "OutputRoot"."XML"."DespatchAdviceHeader"."DespatchAdviceNumber" = "InputBody"."e_MCS_DESP_IN_DESP1_EL"."DESPATCH_NUMBER";
 
/*SET "OutputRoot"."XML"."DespatchAdviceHeader"."DespatchAdviceDateTime" = "InputBody"."e_MCS_DESP_IN_DESP1_EL"."CONFIRMED_DATE" || "InputBody"."e_MCS_DESP_IN_DESP1_EL"."CONFIRMED_TIME";*/
 
SET "OutputRoot"."XML"."DespatchAdviceHeader"."DespatchAdviceTypeCode" = '351';
 
 
 
SET OutputRoot.Properties.MessageDomain = 'XML';
 
SET OutputRoot.Properties.MessageFormat = 'XML';
 
SET OutputRoot.MQMD.Format = 'MQSTR';
 
SET OutputRoot.MQMD.CodedCharSetId = 819;
 
SET OutputRoot.MQMD."Encoding" = 273;
 
 
 
Any idea's | 
			   
			 
		   | 
		
		
		  | Back to top | 
		  
		  	
		   | 
		
		
		    | 
		
		
		  | Missam | 
		  
		    
			  
				 Posted: Wed Feb 18, 2004 8:58 am    Post subject:  | 
				     | 
			   
			 
		   | 
		
		
		   Chevalier
 
 Joined: 16 Oct 2003 Posts: 424
  
  | 
		  
		    
			  
				If you are constructing Output MRM Message your message domain should be MRM not XML like
 
OutputRoot.Properties.MessageDomain = 'MRM';
 
 
And you message failed at the Input Node itself while parsing the message which is defined in CWF type
 
 
   
	| Quote: | 
   
  
	
 
Feb 18 15:15:33 tsaix19 WMQIv210[73276]: (MQSI_TSMQBKD2_BROKER.exec8)[4977]BIP51 
 
80E: CWF Error : Unknown message type : MQSI_TSMQBKD2_BROKER.4686c5f9-f500-0000- 
 
0080-efc34af071b6: /build/S210_P/src/cpi/pwf/cwf/cwfworker.cpp: 410: CWFWorker:: 
 
initializeParse: 
 
 | 
   
 
 
 
Check that the message type is correct ,exists and you are giving the correct identifier.
 
 
can you post your sample message and message set here | 
			   
			 
		   | 
		
		
		  | Back to top | 
		  
		  	
		   | 
		
		
		    | 
		
		
		  | mglaiste | 
		  
		    
			  
				 Posted: Thu Feb 19, 2004 2:06 am    Post subject: BIP 5180E | 
				     | 
			   
			 
		   | 
		
		
		   Novice
 
 Joined: 06 Jun 2003 Posts: 16 Location: TSE Port Talbot, Wales 
  | 
		  
		    
			  
				| I am trying to produce XML output from MRM input. | 
			   
			 
		   | 
		
		
		  | Back to top | 
		  
		  	
		   | 
		
		
		    | 
		
		
		  | fschofer | 
		  
		    
			  
				 Posted: Thu Feb 19, 2004 2:30 am    Post subject:  | 
				     | 
			   
			 
		   | 
		
		
		    Knight
 
 Joined: 02 Jul 2001 Posts: 524 Location: Mainz, Germany 
  | 
		  
		    
			  
				Please post your message setttings of your MQInput or ResetContentdescriptor node.
 
 
MessageSet
 
MesssageType
 
MessageDomain
 
MessageFormat
 
 
These values are used to parse your incoming message
 
and something there is missing or wrong. | 
			   
			 
		   | 
		
		
		  | Back to top | 
		  
		  	
		   | 
		
		
		    | 
		
		
		  | mglaiste | 
		  
		    
			  
				 Posted: Thu Feb 19, 2004 3:31 am    Post subject: Unknown Type | 
				     | 
			   
			 
		   | 
		
		
		   Novice
 
 Joined: 06 Jun 2003 Posts: 16 Location: TSE Port Talbot, Wales 
  | 
		  
		    
			  
				Got it:-
 
 
There appears to be a bug in WMQI v2.1.
 
 
The input MRM messsage set was produced using ver 2.01. When message types were generated they were prefixed by m_XXXX.
 
e.g. m_MCS_DESPATCH_IN_MES
 
 
I was setting the MRM on the input node, however, the 'Message Type' drop down box was picking up the message name  MCS_DESPATCH_IN_MES not the type m_xxx.
 
 
The same happens with 'Reset Contents Descripter'.
 
 
The resolution was to type the correct vale in and not use the drop down.
 
 
Many thanks to all who replied. I'll report this to IBM.   | 
			   
			 
		   | 
		
		
		  | Back to top | 
		  
		  	
		   | 
		
		
		    | 
		
		
		  | 
		    
		   |