You are viewing a plain text version of this content. The canonical link for it is here.
Posted to java-user@axis.apache.org by Plorks mail <pl...@hotmail.com> on 2005/05/23 10:36:44 UTC
basic authentication
Dear all,
I'm trying to access an external web service that requires me to pass a
valid username and password. I have some documentation but i'm clear how i
do this
It says "customers will be authenticated through use of HTTP headers.
Authenticaton is performed using standard HTTP basic authentication. Every
message must have the HTTP authentication header correctly set with
customer's id and password..."
I'm not sure how i do this
if i call an external function e.g. doSomething, how do i pass the
credentials through?
Any help much appreciated
_________________________________________________________________
Winks & nudges are here - download MSN Messenger 7.0 today!
http://messenger.msn.co.uk
RE: basic authentication
Posted by Plorks mail <pl...@hotmail.com>.
I think i've managed this
call.setUsername("username");
call.setPassword("password");
>From: "Plorks mail" <pl...@hotmail.com>
>Reply-To: axis-user@ws.apache.org
>To: axis-user@ws.apache.org
>Subject: basic authentication
>Date: Mon, 23 May 2005 08:36:44 +0000
>
>
>
>Dear all,
>
>I'm trying to access an external web service that requires me to pass a
>valid username and password. I have some documentation but i'm clear how i
>do this
>
>It says "customers will be authenticated through use of HTTP headers.
>Authenticaton is performed using standard HTTP basic authentication. Every
>message must have the HTTP authentication header correctly set with
>customer's id and password..."
>
>I'm not sure how i do this
>
>if i call an external function e.g. doSomething, how do i pass the
>credentials through?
>
>Any help much appreciated
>
>_________________________________________________________________
>Winks & nudges are here - download MSN Messenger 7.0 today!
>http://messenger.msn.co.uk
>
_________________________________________________________________
Be the first to hear what's new at MSN - sign up to our free newsletters!
http://www.msn.co.uk/newsletters
RE: basic authentication
Posted by Rohitdev Kulshrestha <ro...@gmail.com>.
Use the url as follows
"http://username:password@mywebservice.com"
-----Original Message-----
From: Plorks mail [mailto:plork123@hotmail.com]
Sent: Monday, May 23, 2005 2:07 PM
To: axis-user@ws.apache.org
Subject: basic authentication
Dear all,
I'm trying to access an external web service that requires me to pass a
valid username and password. I have some documentation but i'm clear how i
do this
It says "customers will be authenticated through use of HTTP headers.
Authenticaton is performed using standard HTTP basic authentication. Every
message must have the HTTP authentication header correctly set with
customer's id and password..."
I'm not sure how i do this
if i call an external function e.g. doSomething, how do i pass the
credentials through?
Any help much appreciated
_________________________________________________________________
Winks & nudges are here - download MSN Messenger 7.0 today!
http://messenger.msn.co.uk