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 » HTTPResponseHeader Issue

Post new topic  Reply to topic
 HTTPResponseHeader Issue « View previous topic :: View next topic » 
Author Message
venkat_chekka
PostPosted: Mon Oct 31, 2011 6:02 am    Post subject: HTTPResponseHeader Issue Reply with quote

Apprentice

Joined: 14 Apr 2006
Posts: 37

Hi

I am using SOAPRequest node to call external Vender Web Service. I have requirement to check the HTTP status code in HTTPResponseHeader when it come through the Failure terminal of SOAPRequest node.

So I have provided invalid host name in one test case and gave invalid Web Service EP address in 2nd case. So I am getting exception through Failure terminal in both cases but I am not getting HTTPResponseHeader object in both cases.

It is only coming when it is coming through out terminal that means in success case.

Help me regarding this and how can I get HTTPResponseHeader object in Web Service Failure situation.

Thanks,
Venkat Chekka.
Back to top
View user's profile Send private message
mqjeff
PostPosted: Mon Oct 31, 2011 6:04 am    Post subject: Reply with quote

Grand Master

Joined: 25 Jun 2008
Posts: 17447

Do you need an HTTPResponseHeader?

Or do you merely need the HTTP protocol code if it's a transport level failure?

What data is actually RETURNED by the SOAP node on the failure terminal?

Does it have the information you're looking for, even if it's not where you think it will be?
Back to top
View user's profile Send private message
venkat_chekka
PostPosted: Mon Oct 31, 2011 6:21 am    Post subject: Reply with quote

Apprentice

Joined: 14 Apr 2006
Posts: 37

It is returning OutputRoot and Exception Root details in the response when it comes through Failure terminal.

OutputRoot: It has Properties, HTTPInputHeader and InputMessage

There is no HTTPResponseHeader information.

ExceptionList: It is giving Web Service socket failure error message details.

So I want to access HTTPStatusCode in HTTPResponseHeader in Web Service Failure case but it is not coming.
Back to top
View user's profile Send private message
vmcgloin
PostPosted: Mon Oct 31, 2011 8:57 am    Post subject: Reply with quote

Knight

Joined: 04 Apr 2002
Posts: 560
Location: Scotland

What happens when you wire up the fault terminal?
Back to top
View user's profile Send private message
venkat_chekka
PostPosted: Mon Oct 31, 2011 9:16 am    Post subject: Reply with quote

Apprentice

Joined: 14 Apr 2006
Posts: 37

Error is coming through Failure terminal in both cases because which are not application errors.

Fault terminal will use only for Web Service application process errors so It won't come through Fault terminal in both cases.
Back to top
View user's profile Send private message
venkat_chekka
PostPosted: Tue Nov 01, 2011 5:34 am    Post subject: Reply with quote

Apprentice

Joined: 14 Apr 2006
Posts: 37

Can some one help me regarding this issue ASAP?
Back to top
View user's profile Send private message
mqjeff
PostPosted: Tue Nov 01, 2011 6:05 am    Post subject: Reply with quote

Grand Master

Joined: 25 Jun 2008
Posts: 17447

venkat_chekka wrote:
Can some one help me regarding this issue

Yes.
venkat_chekka wrote:
ASAP?


No.

You are looking for a header that is not returned. You seem to believe that the only place you will receive the actual information you are looking for is in this header.

You have already explained that you are in fact getting the information you are looking for.

It's not in the HTTPResponseHeader, because as you have shown, this header is not returned in the case you are looking for.
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 » HTTPResponseHeader Issue
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.