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 » General Discussion » Need some inputs on the HTTP Request Proxy settings

Post new topic  Reply to topic
 Need some inputs on the HTTP Request Proxy settings « View previous topic :: View next topic » 
Author Message
chetan_1977
PostPosted: Tue Oct 16, 2007 9:58 pm    Post subject: Need some inputs on the HTTP Request Proxy settings Reply with quote

Newbie

Joined: 16 Oct 2007
Posts: 3

Had a small query. Would appreciate if you could help me on this.

I am facing some problems while using the HTTP Request node. If you could provide some inputs, it would be very valuable.
Please let me know if any of you have done or faced similar implementation. Below is the issue.
**********************************************************************************************************************************************

I am experiencing some problems while configuring the proxy settings during the use of the HTTPRequest Node on WMB v6.0.
Here is what I am trying to do :

I am using the HTTPRequest node to interact with a Webservice from the external world via the Wipro domain.
In the http request node, am trying to hit to the following URL: http://216.138.251.247/rapidwebservices/WebServices/DriverClaimHistoryGoldWS.asmx

The Message flow is quite simple : HTTP Input --> HTTP Request --> HTTP Reply
However it is failing at HTTP Request node due to proxy userid and p/w authentication (it goes through my company domain where it requires authentication).

Error recd is : Proxy-Authenticate = Basic realm="AD AUTHENTICATION Do not prefix Domain name\\ with the username"

Well, I have performed the following steps to resolve the issue

1. In the HTTP settings have added a parameter for HTTP(s) proxy location is required, I've mentioned my company proxy server and port.

2. Lastly, I've tried to add the proxy Host, Port and Uid/password (encrypted) parameters in the ESQL code as HTTPRequestHeaders prior to HTTP Request call.
SET OutputRoot.HTTPRequestHeader.Host='10.111.14.14:8080'; (this is the wipro proxy server)
SET OutputRoot.HTTPRequestHeader."Proxy-Authorization"='Y2hldGFuczpiYXRtYW45Iw==';

3. Lastly tried to use a JavaCompute prior the HTTP Request Node wherein I tried to pass the following (but the flow does not even enter the Java Compute node. Am I missing out on something simple here?):

Properties props = new Properties();
props.put("http.proxySet", "true");
props.put("http.proxyHost", "value");
props.put("http.proxyPort", "value");
props.put("http.proxyUser", "value");
props.put("http.proxyPassword", "value");

However, none seem to be working. Does anyone have a clue as to how we bypass the Proxy settings or implement it in Message Broker?



But I tried by enabling the internet proxy settings in the Eclipse toolkit (window -->preferences-->Internet proxy settings menu) to ensure if it works. Checked the Enable Proxy and Enable Proxy authentication settings
it worked. I does work as I get a successful response back.


So please let me know on this as I've lost enough hair on this.

Regards,
Chetan

*********************************************************
Message
Properties
MessageSet =
MessageType =
MessageFormat =
Encoding = 546
CodedCharSetId = 1208
Transactional = false
Persistence = false
CreationTime = 2007-10-09 13:22:38.960
ExpirationTime = -1
Priority = 0
ReplyIdentifier = 000000000000000000000000000000000000000000000000
ReplyProtocol = SOAP-HTTP
Topic =
ContentType = text/html
HTTPResponseHeader
X-Original-HTTP-Status-Line = HTTP/1.0 407 Proxy Authentication Required
X-Original-HTTP-Status-Code = 407
Date = Tue, 09 Oct 2007 13:22:51 GMT
Content-Length = 257
Content-Type = text/html
Server = NetCache appliance (NetApp/6.0.4)
Proxy-Authenticate = Basic realm="AD AUTHENTICATION Do not prefix WIPRO\\ with the username"
Via = 1.1 Pdccache (NetCache NetApp/5.5R5)
BLOB
UnknownParserName =
BLOB = 3c48544d4c3e0a3c484541443e3c5449544c453e3430372050726f78792041757468656e7469636174696f6e2052657175697265643c2f5449544c453e3c2f484541443e0a3c424f44593e0a3c48313e50726f78792041757468656e7469636174696f6e2052657175697265643c2f48313e0a3c48343e0a556e61626c6520746f20636f6d706c65746520726571756573743a3c503e0a4163636573732064656e6965642064756520746f2061757468656e7469636174696f6e206661696c7572652e0d0a0a3c2f48343e0a3c48523e0a3c2f424f44593e0a3c2f48544d4c3e0a2020202020202020202020202020202020202020202020202020202020202020
LocalEnvironment
Environment
ExceptionList

*********************************************************
Back to top
View user's profile Send private message
chetan_1977
PostPosted: Tue Oct 16, 2007 10:00 pm    Post subject: Reply with quote

Newbie

Joined: 16 Oct 2007
Posts: 3

Apologies. I forgot to mention the product and environment details

Product: WMB v6.0
Env: Windows XP
Back to top
View user's profile Send private message
jefflowrey
PostPosted: Wed Oct 17, 2007 2:30 am    Post subject: Re: Need some inputs on the HTTP Request Proxy settings Reply with quote

Grand Poobah

Joined: 16 Oct 2002
Posts: 19981

chetan_1977 wrote:
Do not prefix Domain name\\ with the username"


What does that mean?
_________________
I am *not* the model of the modern major general.
Back to top
View user's profile Send private message
chetan_1977
PostPosted: Wed Oct 17, 2007 3:47 am    Post subject: Reply with quote

Newbie

Joined: 16 Oct 2007
Posts: 3

Well, here is what I meant with it ....
******************************************************
HTTPResponseHeader
X-Original-HTTP-Status-Line = HTTP/1.0 407 Proxy Authentication Required
X-Original-HTTP-Status-Code = 407
Date = Tue, 09 Oct 2007 13:22:51 GMT
Content-Length = 257
Content-Type = text/html
Server = NetCache appliance (NetApp/6.0.4)
Proxy-Authenticate = Basic realm="AD AUTHENTICATION Do not prefix WIPRO\\ with the username"
Via = 1.1 Pdccache (NetCache NetApp/5.5R5)
**********************************************************
Here WIPRO is the domain name and no where in the code have I mentioned the Domain name.
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 » General Discussion » Need some inputs on the HTTP Request Proxy settings
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.