Server Fault is a question and answer site for system and network administrators. It's 100% free, no registration required.

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I am trying to make an http call to the WebSphere PMI servlet. Websphere has security enabled and therefore I am asked to enter user credentials in order to display the xml. What actually doesn't work as I expect is that username and password in the url are not recognized and the BASIC authorization form is displayed. Obviously it doesn't work from a third party application point of view, I need to pass those variables as GET request.

Any suggestion?

share|improve this question
We have found a work around, instead of passing parameters into the url (as docs described) we used basic authentication on client. – AleIla Jul 23 '09 at 13:37

Sounds like it's not using basic authentication... perhaps cookie session based... what are you hitting it with? wget? curl? perl?

There are perl modules that can emulate a browser and you can write a script to navigate thru the login and fetch the XML you want. Google 'perldoc WWW::Mechanize'

Would love to hear of solutions that require less module installation, however.

share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.