ASG
IBM
Zystems
Cressida
Icon
Netflexity
 
  MQSeries.net
Search  Search       Tech Exchange      Education      Certifications      Library      Info Center      SupportPacs      LinkedIn  Search  Search                                                                   FAQ  FAQ   Usergroups  Usergroups
 
Register  ::  Log in Log in to check your private messages
 
RSS Feed - WebSphere MQ Support RSS Feed - Message Broker Support

MQSeries.net Forum Index » WebSphere Message Broker (ACE) Support » HTTPASYNC UserContext - getting the below error.

Post new topic  Reply to topic
 HTTPASYNC UserContext - getting the below error. « View previous topic :: View next topic » 
Author Message
prashanthreddy
PostPosted: Mon Dec 03, 2018 4:02 am    Post subject: HTTPASYNC UserContext - getting the below error. Reply with quote

Newbie

Joined: 09 Mar 2017
Posts: 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
View user's profile Send private message Send e-mail
prashanthreddy
PostPosted: Mon Dec 03, 2018 4:03 am    Post subject: Reply with quote

Newbie

Joined: 09 Mar 2017
Posts: 5

sorry this the 1st post of mine...Please guide me if did some mistake...or for more info...
Back to top
View user's profile Send private message Send e-mail
timber
PostPosted: Mon Dec 03, 2018 4:07 am    Post subject: Reply with quote

Grand Master

Joined: 25 Aug 2015
Posts: 1280

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
View user's profile Send private message
prashanthreddy
PostPosted: Mon Dec 03, 2018 4:43 am    Post subject: Reply with quote

Newbie

Joined: 09 Mar 2017
Posts: 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
View user's profile Send private message Send e-mail
prashanthreddy
PostPosted: Wed Dec 05, 2018 12:57 am    Post subject: Reply with quote

Newbie

Joined: 09 Mar 2017
Posts: 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
View user's profile Send private message Send e-mail
fjb_saper
PostPosted: Wed Dec 05, 2018 5:47 am    Post subject: Reply with quote

Grand High Poobah

Joined: 18 Nov 2003
Posts: 20696
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
View user's profile Send private message Send e-mail
prashanthreddy
PostPosted: Tue Dec 25, 2018 4:50 am    Post subject: Reply with quote

Newbie

Joined: 09 Mar 2017
Posts: 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
View user's profile Send private message Send e-mail
Display posts from previous:   
Post new topic  Reply to topic Page 1 of 1

MQSeries.net Forum Index » WebSphere Message Broker (ACE) Support » HTTPASYNC UserContext - getting the below error.
Jump to:  



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
Protected by Anti-Spam ACP
 
 


Theme by Dustin Baccetti
Powered by phpBB © 2001, 2002 phpBB Group

Copyright © MQSeries.net. All rights reserved.