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 Timeout Error:simple message flow

Post new topic  Reply to topic
 Getting Timeout Error:simple message flow « View previous topic :: View next topic » 
Author Message
rubsan
PostPosted: Tue Jan 10, 2012 12:54 pm    Post subject: Getting Timeout Error:simple message flow Reply with quote

Newbie

Joined: 10 Jan 2012
Posts: 4

Hi
I am new to message broker and I am trying to produce a webservice using SOAPINPUT and SOAPReply nodes.
I am getting a timeout error when running the test in the tookit.
my message flow looks like:



SoapInput---------->RouteToLabel

AddLabel------->AddCompute----------->SoapReply.



DECLARE ns NAMESPACE '****service.second.***';


CREATE COMPUTE MODULE AddNumbersFlow_Compute
CREATE FUNCTION Main() RETURNS BOOLEAN
BEGIN
-- CALL CopyMessageHeaders();
--CALL CopyEntireMessage();
SET OutputRoot.SOAP.Body.ns:addResponse = InputRoot.SOAP.Body.ns:add.ns:a + InputRoot.SOAP.Body.ns:add.ns:b;
RETURN TRUE;
END;



END MODULE;

Any help is highly appreciated.
Thanks
Back to top
View user's profile Send private message
Vitor
PostPosted: Tue Jan 10, 2012 1:13 pm    Post subject: Re: Getting Timeout Error:simple message flow Reply with quote

Grand High Poobah

Joined: 11 Nov 2005
Posts: 26093
Location: Texas, USA

rubsan wrote:
Any help is highly appreciated.


What does the user trace tell you? At a pinch, what does the debugger tell you?

What told you to have both of the Copy CALLs commented out?

What version of WMB?
_________________
Honesty is the best policy.
Insanity is the best defence.
Back to top
View user's profile Send private message
rubsan
PostPosted: Tue Jan 10, 2012 5:55 pm    Post subject: Reply with quote

Newbie

Joined: 10 Jan 2012
Posts: 4

Thanks Traced helped me
Back to top
View user's profile Send private message
rubsan
PostPosted: Tue Jan 10, 2012 5:59 pm    Post subject: Reply with quote

Newbie

Joined: 10 Jan 2012
Posts: 4

Quote:
What told you to have both of the Copy CALLs commented out?


since headers are optional, and I am setting the required response field in the esql. Isnt it how it should be?
Back to top
View user's profile Send private message
Vitor
PostPosted: Wed Jan 11, 2012 6:41 am    Post subject: Reply with quote

Grand High Poobah

Joined: 11 Nov 2005
Posts: 26093
Location: Texas, USA

rubsan wrote:
since headers are optional, and I am setting the required response field in the esql. Isnt it how it should be?


One header in the message tree is not optional.

It's also an unusual state of affairs where you don't want to either:

- copy the message into the output and tweak it
- copy the headers from dowstream into the output & use them as a starting point.

So I asked the question, as in the simple flow indicated I would have expected one or the other, with one being more likely.
_________________
Honesty is the best policy.
Insanity is the best defence.
Back to top
View user's profile Send private message
rubsan
PostPosted: Wed Jan 11, 2012 11:59 am    Post subject: Reply with quote

Newbie

Joined: 10 Jan 2012
Posts: 4

Thanks, I will build upon this..
Since you said one header in a message is not optional so I was wondering then how did my code work?
Back to top
View user's profile Send private message
Vitor
PostPosted: Wed Jan 11, 2012 4:15 pm    Post subject: Reply with quote

Grand High Poobah

Joined: 11 Nov 2005
Posts: 26093
Location: Texas, USA

rubsan wrote:
Since you said one header in a message is not optional so I was wondering then how did my code work?


I didn't say message.

If you omit it, WMB creates one based on defaults. This is clearly enough in your scenario but that's not true in every case.
_________________
Honesty is the best policy.
Insanity is the best defence.
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 Timeout Error:simple message flow
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.