| Author | Message | 
		
		  | prashanthreddy | 
			  
				|  Posted: Mon Dec 03, 2018 4:02 am    Post subject: HTTPASYNC UserContext  - getting the below error. |   |  | 
		
		  | Newbie
 
 
 Joined: 09 Mar 2017Posts: 5
 
 
 | 
			  
				| ExceptionList RecoverableException
 File:CHARACTER:F:\build\slot1\S900_P\src\DataFlowEngine\MessageServices\ImbDataFlowNode.cpp
 Line:INTEGER:1140
 Function:CHARACTER:ImbDataFlowNode::createExceptionList
 Type:CHARACTER:ComIbmHTTPAsyncResponseNode
 Name:CHARACTER:WebServicesGateway#FCMComposite_1_7.Web_Service_Enhanced#FCMComposite_1_16
 Label:CHARACTER:WebServicesGateway.Web_Service_Enhanced.HTTP Asynchronous Response
 Catalog:CHARACTER:BIPmsgs
 Severity:INTEGER:3
 Number:INTEGER:2230
 Text:CHARACTER:Node throwing exception
 Insert
 Type:INTEGER:14
 Text:CHARACTER:WebServicesGateway.Web_Service_Enhanced.HTTP Asynchronous Response
 RecoverableException
 File:CHARACTER:F:\build\slot1\S900_P\src\DataFlowEngine\PluginInterface\ImbJniNode.cpp
 Line:INTEGER:1319
 Function:CHARACTER:ImbJniNode::evaluate
 Type:CHARACTER:ComIbmSOAPExtractNode
 Name:CHARACTER:WebServicesGateway#FCMComposite_1_7.Web_Service_Enhanced#FCMComposite_1_4
 Label:CHARACTER:WebServicesGateway.Web_Service_Enhanced.SOAPExtract
 Catalog:CHARACTER:BIPmsgs
 Severity:INTEGER:3
 Number:INTEGER:2230
 Text:CHARACTER:Caught exception and rethrowing
 Insert
 Type:INTEGER:14
 Text:CHARACTER:WebServicesGateway.Web_Service_Enhanced.SOAPExtract
 RecoverableException
 File:CHARACTER:F:\build\slot1\S900_P\src\DataFlowEngine\PluginInterface\ImbJniNode.cpp
 Line:INTEGER:1319
 Function:CHARACTER:ImbJniNode::evaluate
 Type:CHARACTER:ComIbmMQHeaderNode
 Name:CHARACTER:WebServicesGateway#FCMComposite_1_11
 Label:CHARACTER:WebServicesGateway.MQ Header
 Catalog:CHARACTER:BIPmsgs
 Severity:INTEGER:3
 Number:INTEGER:2230
 Text:CHARACTER:Caught exception and rethrowing
 Insert
 Type:INTEGER:14
 Text:CHARACTER:WebServicesGateway.MQ Header
 RecoverableException
 File:CHARACTER:F:\build\slot1\S900_P\src\DataFlowEngine\MQLibrary\linklib\ImbMqOutputNode.cpp
 Line:INTEGER:877
 Function:CHARACTER:ImbMqOutputNode::evaluate
 Type:CHARACTER:ComIbmMQOutputNode
 Name:CHARACTER:WebServicesGateway#FCMComposite_1_2.FlowOutput#FCMComposite_1_1
 Label:CHARACTER:WebServicesGateway.FlowOutput.MQOutput
 Catalog:CHARACTER:BIPmsgs
 Severity:INTEGER:3
 Number:INTEGER:2230
 Text:CHARACTER:Caught exception and rethrowing
 Insert
 Type:INTEGER:14
 Text:CHARACTER:WebServicesGateway.FlowOutput.MQOutput
 ParserException
 File:CHARACTER:F:\build\slot1\S900_P\src\MTI\MTIforBroker\GenXmlParser4\ImbXMLNSCParser.cpp
 Line:INTEGER:975
 Function:CHARACTER:ImbXMLNSCParser::refreshBitStreamFromElementsCommon
 Type:CHARACTER:ComIbmHTTPAsyncResponseNode
 Name:CHARACTER:WebServicesGateway#FCMComposite_1_7.Web_Service_Enhanced#FCMComposite_1_16
 Label:CHARACTER:WebServicesGateway.Web_Service_Enhanced.HTTP Asynchronous Response
 Catalog:CHARACTER:BIPmsgs
 Severity:INTEGER:3
 Number:INTEGER:5010
 Text:CHARACTER:XML Writing Errors have occurred
 ParserException
 File:CHARACTER:F:\build\slot1\S900_P\src\MTI\MTIforBroker\GenXmlParser4\ImbXMLNSCWriter.cpp
 Line:INTEGER:976
 Function:CHARACTER:ImbXMLNSCWriter::writeMisc
 Type:CHARACTER:
 Name:CHARACTER:
 Label:CHARACTER:
 Catalog:CHARACTER:BIPmsgs
 Severity:INTEGER:3
 Number:INTEGER:5016
 Text:CHARACTER:Unexpected XML type at this point in document.
 Insert
 Type:INTEGER:5
 Text:CHARACTER:CodedCharSetId[1208]
 Insert
 Type:INTEGER:5
 Text:CHARACTER:fieldType
 
   
	| Code: |  
	| 
 
 I'm restoring the Environment by using HTTPASYNC REQUEST - ASYN RESPONSE NODES  - UserContext concept. By using this i'm not able to complete the End to End success request and getting the Exception as above . The same i have achieved by using the SHAREDVARIABLES. Any help would be great... :help:
 |  |  | 
		
		  | Back to top |  | 
		
		  |  | 
		
		  | prashanthreddy | 
			  
				|  Posted: Mon Dec 03, 2018 4:03 am    Post subject: |   |  | 
		
		  | Newbie
 
 
 Joined: 09 Mar 2017Posts: 5
 
 
 | 
			  
				| sorry this the 1st post of mine...Please guide me if did some mistake...or for more info... |  | 
		
		  | Back to top |  | 
		
		  |  | 
		
		  | timber | 
			  
				|  Posted: Mon Dec 03, 2018 4:07 am    Post subject: |   |  | 
		
		  |  Grand Master
 
 
 Joined: 25 Aug 2015Posts: 1292
 
 
 | 
			  
				| The structure of OutputRoot.XMLNSC is wrong. My advice - put in a Trace node just before the output node, and look carerfully at the structure of the tree. Normally, the error is obvious (e.g. two root elements in the document, or something like that)
 - if you cannot see the problem, create a sample output XML doc. Create simple flow with a Trace node and parse the sample XML. Compare the tree structure from the sample with the tree structure that you are creating in your flow.
 |  | 
		
		  | Back to top |  | 
		
		  |  | 
		
		  | prashanthreddy | 
			  
				|  Posted: Mon Dec 03, 2018 4:43 am    Post subject: |   |  | 
		
		  | Newbie
 
 
 Joined: 09 Mar 2017Posts: 5
 
 
 | 
			  
				| 
   
	| Code: |  
	| OutputRoot Properties
 MsgVersion   2.0
 RequestorChannelId   BSL
 ChannelTransactionId   MBI--297584
 SrDate   20181118093629
 ErrorCode   0000
 ErrorMsg   Success
 XMLNSC
 MOBILY_BSL_SR_REPLY
 WSGatewayResponse
 MOBILY_BSL_SR_REPLY
 SR_HEADER_REPLY
 WSGatewayResponse
 retrieveSubscriptionsResponse
 xmlns   http://ws.esdp.ericsson.com
 retrieveSubscriptionsReturn
 esdpResponse
 msisdn
 subscriberCurrentBalance
 paymentMehod   0
 subscriptions
 MQMD
 |  
 
   
	| Code: |  
	| 
 * Windows Event Viewer LOG as :
 
 The element with name ''CodedCharSetId[1208]'' and field type ''fieldType'' is not valid as the child of Root.XML or Root.XMLNSC.
 
 Each child of Root.XMLNSC must represent a valid XML construct for the top level of an XML document. The only field types that are valid in this position are XMLNSC.Comment or XMLNSC.ProcessingInstruction.
 
 I will place the trace node and check as u said...lemme try
 |  |  | 
		
		  | Back to top |  | 
		
		  |  | 
		
		  | prashanthreddy | 
			  
				|  Posted: Wed Dec 05, 2018 12:57 am    Post subject: |   |  | 
		
		  | Newbie
 
 
 Joined: 09 Mar 2017Posts: 5
 
 
 | 
			  
				| Thanks Sentinel, I found that i need to Manipulate the headers after restoring the UserContext i.e properties->MQMD->XMLNSC like this order.
 But by placing the MQ Header i'm able to make the request End to End success.
 
 Here is the flow to understand:
 HTTPASYNC RESPONSE flow as a Subflow -> Build Final response( Main flow) -> MQHEADER ( Main flow) -> Flowoutput(setting some MQMD properties) -> Audit.
 
 My doubt is with out the Additioinof MQHEADER node i'm not able to make the request successful. Any suggestions Plz.
 |  | 
		
		  | Back to top |  | 
		
		  |  | 
		
		  | fjb_saper | 
			  
				|  Posted: Wed Dec 05, 2018 5:47 am    Post subject: |   |  | 
		
		  |  Grand High Poobah
 
 
 Joined: 18 Nov 2003Posts: 20767
 Location: LI,NY
 
 | 
			  
				| Past the point where you set the MQHeader is there somewhere in the flow or any subflow an MQOutput node?  _________________
 MQ & Broker admin
 |  | 
		
		  | Back to top |  | 
		
		  |  | 
		
		  | prashanthreddy | 
			  
				|  Posted: Tue Dec 25, 2018 4:50 am    Post subject: |   |  | 
		
		  | Newbie
 
 
 Joined: 09 Mar 2017Posts: 5
 
 
 | 
			  
				| Hi, 
 Sorry for responding late here.
 I have added only the MQHEADER node in main flow and it worked. Now it is working fine E2E. Thanks guys for all your support.
 |  | 
		
		  | Back to top |  | 
		
		  |  | 
		
		  |  |