Author |
Message
|
venkat_chekka |
Posted: Mon Oct 31, 2011 6:02 am Post subject: HTTPResponseHeader Issue |
|
|
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 |
|
 |
mqjeff |
Posted: Mon Oct 31, 2011 6:04 am Post subject: |
|
|
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 |
|
 |
venkat_chekka |
Posted: Mon Oct 31, 2011 6:21 am Post subject: |
|
|
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 |
|
 |
vmcgloin |
Posted: Mon Oct 31, 2011 8:57 am Post subject: |
|
|
Knight
Joined: 04 Apr 2002 Posts: 560 Location: Scotland
|
What happens when you wire up the fault terminal? |
|
Back to top |
|
 |
venkat_chekka |
Posted: Mon Oct 31, 2011 9:16 am Post subject: |
|
|
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 |
|
 |
venkat_chekka |
Posted: Tue Nov 01, 2011 5:34 am Post subject: |
|
|
Apprentice
Joined: 14 Apr 2006 Posts: 37
|
Can some one help me regarding this issue ASAP? |
|
Back to top |
|
 |
mqjeff |
Posted: Tue Nov 01, 2011 6:05 am Post subject: |
|
|
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 |
|
 |
|