Hello James, Joshua,
Just in case, I'll quote the example from the JAX-RPC 1.1 spec that
explains the way to do this.
StockQuoteProvider_Stub sqp = // ... get to the stub;
sqp._setProperty(Stub.USERNAME_PROPERTY, "");
sqp._setProperty(Stub.PASSWORD_PROPERTY, "");
float quote = sqp.getLastTrade
ache.org
> cc:
> Subject: Re:
How to do basic http authentication with
> axis 1.3 client?
>
>
>
>
>
> Thanks for the reply James. No dice though. Any other
ideas?
>
> -joshua
>
>
>
>
>
>
So that worked?
[EMAIL PROTECTED] wrote:
Never mind!
[EMAIL PROTECTED]
05/11/2006 02:45 PM
Please respond to axis-user
To:axis-user@ws.apache.org
cc:
Subject:Re: How to do basic http authentication with
axis 1.3 client
Never mind!
[EMAIL PROTECTED]
05/11/2006 02:45 PM
Please respond to axis-user
To:
axis-user@ws.apache.org
cc:
Subject:
Re: How to do basic http authentication
with axis 1.3 client?
Thanks for the reply James. No dice though. Any
Thanks for the reply James. No
dice though. Any other ideas?
-joshua
James Gough <[EMAIL PROTECTED]>
05/11/2006 02:39 PM
Please respond to axis-user
To:
axis-user@ws.apache.org
cc:
Subject:
Re: How to do basic http authenti
I am new to this, so by all means this may not be the way to do it, but
perhaps you can try:
URL serviceUrl = new
URL("http://username:[EMAIL PROTECTED]:7001/webservice/MyService?WSDL");
Jim
[EMAIL PROTECTED] wrote:
I tried the following and I still get a 401 error:
MyServ
I tried the following and I still get
a 401 error:
MyService
myService = new MyServiceLocator();
URL serviceUrl
= new URL("http://localhost:7001/webservice/MyService?WSDL");
MyServicePortType
mspt = myService.getMyServicePortTypeSoapPort(serviceUrl);
Stub