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 » Getting Diff Outp for the same flow with & without debug

Post new topic  Reply to topic
 Getting Diff Outp for the same flow with & without debug « View previous topic :: View next topic » 
Author Message
nikhilsharma
PostPosted: Thu May 14, 2009 2:55 am    Post subject: Getting Diff Outp for the same flow with & without debug Reply with quote

Apprentice

Joined: 10 Aug 2007
Posts: 28

Hi
I am getting different output for the same flow with and without Debugger.

scenario: In my flow one compute node and httpReply node is connected to the failure terminal of httpInput node.In this compute node we are preparing reply output.

Problem: In failure scenario the control go to nodes connected to failure terminal where i m preparing failure message.

Now if i run the flow in debugger mode,i am getting the correct output from reply.But when i run the same flow without debugger i won't get the prepared message instead i am getting fault message.

I am using SOAP-UI for inserting the SOAP message as a input.

Correct Output:

<NS1:Envelope xmlns:NS1="http://schemas.xmlsoap.org/soap/envelope/">
<NS1:Body>
<m:SRCreateResponse xmlns:m="http://www.example.org/SRCreate">
<m:SRElements>
<m:p_user_name>DELCSATUSER1</m:p_user_name>
<m:p_type_val>Billing</m:p_type_val>
<m:p_subtype_val>E - Account Sep/Merger</m:p_subtype_val>
<m:p_cellno>9923005115</m:p_cellno>
<m:p_attribute2>Not Informed</m:p_attribute2>
<m:p_attribute6>Account separation</m:p_attribute6>
<m:p_status>E</m:p_status>
<m:p_return_message>Invalid character in Request Message.Kindly check and submitt again.</m:p_return_message>
</m:SRElements>
</m:SRCreateResponse>
</NS1:Body>
</NS1:Envelope>


Output Without Debugger:

<SOAP-ENV:Envelope xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema">
<SOAP-ENV:Body>
<SOAP-ENV:Fault>
<faultcode>SOAP-ENV:Server</faultcode>
<faultstring>BIP3113E: Exception detected in message flow MainFlow_VEL_SSA_iCRM_SRCreateService (broker VELTESTBRKP244)</faultstring>
<faultactor>http://localhost:7080http://10.77.16.49/SRCreate</faultactor>
<detail>
<text>Exception. BIP2230E: Error detected whilst processing a message in node 'MainFlow_VEL_SSA_iCRM_SRCreateService.Trace2'. : /build/S610_P/src/DataFlowEngine/ImbTraceNode.cpp: 341: ImbTraceNode::evaluate: ComIbmTraceNode: MainFlow_VEL_SSA_iCRM_SRCreateService#FCMComposite_1_21
BIP5009E: XML Parsing Errors have occurred. : /build/S610_P/src/MTI/MTIforBroker/GenXmlParser4/ImbXMLNSCParser.cpp: 919: ImbXMLNSCParser::parseRightSibling: :
BIP5004E: An XML parsing error ''An invalid XML character (Unicode: 0x1a) was found in the element content of the document.'' occurred on line 11 column 75 when parsing element ''/Root/XMLNSC/http://schemas.xmlsoap.org/soap/envelope/:Envelope/http://schemas.xmlsoap.org/soap/envelope/:Body/http://www.example.org/SRCreate:SRCreateRequest/http://www.example.org/SRCreate:SRElements/http://www.example.org/SRCreate:p_attribute13''. Internal error codes are '1502' and '2'. : /build/S610_P/src/MTI/MTIforBroker/GenXmlParser4/ImbXMLNSCDocHandler.cpp: 527: ImbXMLNSCDocHandler::handleParseErrors: ComIbmWSInputNode: MainFlow_VEL_SSA_iCRM_SRCreateService#FCMComposite_1_2</text>
</detail>
</SOAP-ENV:Fault>
</SOAP-ENV:Body>
</SOAP-ENV:Envelope>
_________________
Nikhil
Back to top
View user's profile Send private message Send e-mail
WMBDEV1
PostPosted: Thu May 14, 2009 3:05 am    Post subject: Reply with quote

Sentinel

Joined: 05 Mar 2009
Posts: 888
Location: UK

Probably worth raising a PMR for this one.....

For whats its worth, I never have been a fan of the visual debugger though. What happens if you run a user trace?
Back to top
View user's profile Send private message
kimbert
PostPosted: Thu May 14, 2009 3:10 am    Post subject: Reply with quote

Jedi Council

Joined: 29 Jul 2003
Posts: 5542
Location: Southampton

Go ahead and raise a PMR if you really want to, but this is a known problem.

The debugger should not be your only diagnosis tool. If you want to diagnose problems with the error path in your flow it is best to use User Trace and Trace nodes. It is a good idea to know how to use them anyway - they provide more information than the debugger.
Back to top
View user's profile Send private message
WMBDEV1
PostPosted: Thu May 14, 2009 3:24 am    Post subject: Reply with quote

Sentinel

Joined: 05 Mar 2009
Posts: 888
Location: UK

kimbert wrote:
It is a good idea to know how to use them anyway - they provide more information than the debugger.


... and are likely to be all you can rely on in production environments!
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic  Reply to topic Page 1 of 1

MQSeries.net Forum Index » WebSphere Message Broker (ACE) Support » Getting Diff Outp for the same flow with & without debug
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.