|
RSS Feed - WebSphere MQ Support
|
RSS Feed - Message Broker Support
|
 |
|
Host field in HTTPRequestHeader |
« View previous topic :: View next topic » |
Author |
Message
|
ydsk |
Posted: Tue Aug 29, 2006 10:50 am Post subject: Host field in HTTPRequestHeader |
|
|
Chevalier
Joined: 23 May 2005 Posts: 410
|
I am reading the URL from a database table so I am populating the Host field with a hardcoded value. The database table was created by customer and I have no control over it.
There is a possibility that the Host name hardcoded is different from the actual host name because the URL is READ from a database table within the msgflow and is assigned via the ESQL statement in a compute node just before the HTTPRequest node like:
'SET OutputLocalEnvironment.Destination.HTTP.RequestURL = character String read from database ... '.
Can Hursley guys or someone please tell me if broker would over-write the value of Host with the value from actual URL before sending the message to call the external webservice ?
Thanks.
ydsk.
Last edited by ydsk on Tue Aug 29, 2006 7:26 pm; edited 1 time in total |
|
Back to top |
|
 |
vennela |
Posted: Tue Aug 29, 2006 2:00 pm Post subject: Re: Host field in HTTPRequestHeader |
|
|
 Jedi Knight
Joined: 11 Aug 2002 Posts: 4055 Location: Hyderabad, India
|
ydsk wrote: |
Can Hursley guys or someone please tell me if broker would actually over-write the value of Host with the value from URL before sending the message to call the external webservice ?
Thanks.
ydsk. |
AFAIK, yes |
|
Back to top |
|
 |
ydsk |
Posted: Tue Aug 29, 2006 5:06 pm Post subject: |
|
|
Chevalier
Joined: 23 May 2005 Posts: 410
|
Hi Vennela,
Thanks for posting. I was just trying to see if Hursley guys in the forum can confirm this.
I read in some other post by a Hursley guy that broker over-writes some headers that we manually populate before sending the message to webservice via HTTPRequest node but I don't know if it over-writes Host for sure.
Thanks.
ydsk. |
|
Back to top |
|
 |
jbanoop |
Posted: Tue Aug 29, 2006 10:50 pm Post subject: |
|
|
Chevalier
Joined: 17 Sep 2005 Posts: 401 Location: SC
|
We are doing it with version 5.
The hostname if hardcoded in esql and the create default Http headers on the Http request node is checked, the host name is not overwritten.
Also isnt the host name in the header supposed to be the name of the host where the request is originating from ?
Edit: you could use tcptrace or somthing like that to actually view the header and payload of your http request message to confirm.
http://www.pocketsoap.com/tcptrace/
Regards,
Anoop |
|
Back to top |
|
 |
|
|
 |
|
Page 1 of 1 |
|
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
|
|
|
|