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 » HTTPRequest node - Error terminal

Post new topic  Reply to topic
 HTTPRequest node - Error terminal « View previous topic :: View next topic » 
Author Message
ydsk
PostPosted: Wed Jul 12, 2006 2:30 pm    Post subject: HTTPRequest node - Error terminal Reply with quote

Chevalier

Joined: 23 May 2005
Posts: 410

Can someone pls explain under what circumstances a message goes through the Error terminal of a HTTPRequest node ?

Also under what circumstances does it go through the Failure terminal of the node ?

I am trying to simulate different failure scenarios thru a webservice ( a msgflow with HTTPInput and HTTPReply nodes), and I need to test all possible cases.

Appreciate any help.

PS: I read the documentation already and I am looking for more info.

Thanks in advance.

Regds,
ydsk.
Back to top
View user's profile Send private message
mgk
PostPosted: Thu Jul 13, 2006 12:47 am    Post subject: Reply with quote

Padawan

Joined: 31 Jul 2003
Posts: 1642

Hi,

Only an HTTP status code (that is not success) will cause the error terminal to be used in the HTTP request node.

In V5 the codes are:

1xx = ERROR terminal
2xx = OUT terminal
3xx = ERROR terminal if not redirecting (otherwise request is redirected)
4xx = ERROR terminal
5xx = ERROR terminal

In V6 it is the same for all codes except 1xx which is now handled by the node (so it will not got to the ERROR terminal)

The failure terminal is used if there is an exception whilst in the node itself, for example if the tree (body) you are sending through the request node cannot be serialized (e.g. an invalid tree shape, for example two root elements in the XML domain)).

regards,
_________________
MGK
The postings I make on this site are my own and don't necessarily represent IBM's positions, strategies or opinions.
Back to top
View user's profile Send private message
ydsk
PostPosted: Thu Jul 13, 2006 10:02 am    Post subject: Reply with quote

Chevalier

Joined: 23 May 2005
Posts: 410

Is it the same for WMB v6 too ?

We are using WMB v6 with the latest fixpac.

Appreciate any relevant information.

Thnx.
ydsk.
Back to top
View user's profile Send private message
vennela
PostPosted: Thu Jul 13, 2006 11:32 am    Post subject: Reply with quote

Jedi Knight

Joined: 11 Aug 2002
Posts: 4055
Location: Hyderabad, India

ydsk wrote:
Is it the same for WMB v6 too ?
.


mgk wrote:
In V6 it is the same for all codes except 1xx which is now handled by the node (so it will not got to the ERROR terminal)
Back to top
View user's profile Send private message Send e-mail Visit poster's website
ydsk
PostPosted: Thu Jul 13, 2006 2:27 pm    Post subject: Reply with quote

Chevalier

Joined: 23 May 2005
Posts: 410

I have a msgflow that simulates a webservice ( with a HTTPInput node that accepts webservice requests and a HTTPReply node that sends the response back).

How can I simulate a timeout from a webservice ? I mean, when my first msgflow which has the HTTPRequest node calls the webservice, how can I make it timeout ? I think if I don't use a HTTPReply node at all it will timeout but I want to know other ways of simulating it.

And to which terminal of the HTTPRequest node does the msg go when it times out ? I think it is the Failure terminal...but not sure.

Thanks.
ydsk.
Back to top
View user's profile Send private message
ydsk
PostPosted: Fri Jul 14, 2006 6:51 am    Post subject: Reply with quote

Chevalier

Joined: 23 May 2005
Posts: 410

Any ideas please ?
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 » HTTPRequest node - Error terminal
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.