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 Phil Surette <ps...@espial.com> on 2002/08/16 15:16:54 UTC

RE: Auth Notification in WSDL? / basic auth in apache

IIRC, SOAP implementations are not required to support basic auth,
but Axis does (.NET doesn't). 

The org.apache.axis.client.Call object has setUsername() and 
setPassword() methods which are all you need for basic auth 
(on the client side). 

-----Original Message-----
From: Jason D. Lee [mailto:jason.lee@hobbylobby.com]
Sent: Friday, August 16, 2002 9:21 AM
To: 'axis-user@xml.apache.org'
Subject: RE: Auth Notification in WSDL?


That sounds like what I'm going to have to do.  The only problem is that I'm
not sure where to start with that.  Honestly, I haven't had a chance to do
much research on it yet.  Any pointers on where to start looking (web, Axis
dox, etc.)?  Thanks. :)

-- 
Jason Lee - Programmer
405.745.1789
Hobby Lobby Stores, Inc.



-----Original Message-----
From: Adam.Leggett [mailto:Adam.Leggett@upco.co.uk]
Sent: Friday, August 16, 2002 4:22 AM
To: 'axis-user@xml.apache.org'
Subject: RE: Auth Notification in WSDL?


Why not use the SOAP Header to carry authentication, and define the message
in your WSDL?
If you define a compound 'AuthHeader' type and message that uses it, Visual
Studio .NET should auto gen the stubs.

Adam

-----Original Message-----
From: Chris Haddad [mailto:haddadc@cobia.net]
Sent: 12 August 2002 20:11
To: axis-user@xml.apache.org
Subject: RE: Auth Notification in WSDL?


Jason - A single standard for defining and implementing authentication
does not exist, so it is hard to understand the dialogue between you and
the external company.

It seems like they are requesting a 'login method' to call. The
implementation will vary depending upon how you've baked security into
your infrastructure.   Maybe you just need to provide them with a spec?

/Chris

-----Original Message-----
From: Jason D. Lee [mailto:jason.lee@hobbylobby.com] 
Sent: Monday, August 12, 2002 2:51 PM
To: Axis (E-mail)
Subject: Auth Notification in WSDL?

Is it possible (or even necessary) for a web service to note in the
generated WSDL (http://...?wsdl) that the service requires
authentication?
I'm writing my service in Java, but the client, written by an external
company, will be written in C#, and he's telling me that the stub
generation
based on my current WSDL is not creating the method calls for setting up
authentication.  Am I forgetting to do something in my .wsdd or is he
expecting something that won't be there?  Thanks...

-- 
Jason Lee - Programmer
405.745.1789
Hobby Lobby Stores, Inc.






The contents of this email are intended only for the named addressees and
may contain confidential and/or privileged material. If received in error
please contact UPCO on +44 (0) 113 201 0600 and then delete the entire
e-mail from your system. Unauthorised review, distribution, disclosure or
other use of this information could constitute a breach of confidence. Your
co-operation in this matter is greatly appreciated.