can you please explain why you want to use j2ee declarative security tomcat instead of webservices context security?

you must specify the http header authorization in the http-request?

otherwise add the handler to the wsdd

<handler name="authentication" type="java:org.apache.axis.handlers.SimpleAuthenticationHandler" />
<service>
...
    <chain name="default"/>
         <handler type="authentication"/>
...

and set the usename and password properties in the client side SOAP call

I can't give any more informaiton because you haven't really described in any detail what you are doing, what you have done and what you expect to happen? Why do you expect it to return HTTP 200 OK?

Warren.

Artur Kraft wrote:
Is this a common issue or am I doing something basically wrong?
On the axis-user mailinglist (also checked axis-dev and tomcat-user) I found a few other posts with suggestions, but none really apply to me. Shouldn't this be fixed quite simple or do I have to code something to get it to work?

kind regards
Artur



Artur Kraft wrote:

Hello,

in Tomcat I turned on BASIC Authentication to protect the use of all axis services. Since then I always get a HTTP-Error 401/Unauthorized. How can I provide username and password to deploy again to axis?

I tried the -uUserName -wPassword parameters, but they seem to belong rather to the axis-file "user.lst" than providing the tomcat access user data.

Any suggestions?


My environment:
Axis v1.4
Tomcat v5.5.17
Java v1.5.0_06
WinXP


kind regards,
Artur

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to