does your WS require Digest.  If not try setting that up and see if it helps.
I work with digest and once I switch to CommonsHttpSender  it works fine.
BTW try changing your wsdd to a bogus sender and see if you get an
error this will validate youe using CommonsHttpSender

On 12/20/05, Michael Rudolf <[EMAIL PROTECTED]> wrote:
> I tried switching to Axis 1.3, but no difference. I think the username
> and pass are actually used by the CommonsHttpSender but they do not
> appear in the HTTP message in the following way:
>
> Authorization: Basic Z3Vlc3Q6Z3Vlc3Q=
> Credentials: xyz:sakhs89z...
>
> This part is missing as soons as i switch to CommonsHttpSender. How is
> this supposed to work?
> Thanks for any help!
> Michael
>
> > Hi!
> > I have a WS that uses HTTP authentication. I want to use digest auth.
> > Right now i started with the Basic HTTP auth and wanted to switch to
> > the CommonsHTTPSender so i can use digest. I configured it with the
> > wsdd below. However, as soon as i switch to it, the no username and
> > password are in the HTTP message (checked with ethereal).
> >
> >
> > <?xml version="1.0" encoding="UTF-8"?>
> > <deployment name="commonsHTTPConfig"
> > xmlns="http://xml.apache.org/axis/wsdd/";
> > xmlns:java="http://xml.apache.org/axis/wsdd/providers/java";>
> >
> > <transport name="http"
> > pivot="java:org.apache.axis.transport.http.CommonsHTTPSender" />
> > <transport name="local"
> > pivot="java:org.apache.axis.transport.local.LocalSender" />
> > <transport name="java"
> > pivot="java:org.apache.axis.transport.java.JavaSender" />
> >
> > </deployment>
> >
> > my client code looks like:
> >
> > RMWS service = new RMWSLocator(new
> > org.apache.axis.configuration.FileProvider("test.wsdd"));
> >        //RMWS service = new RMWSLocator();
> >        try {
> >                      RMWSPortType c = service.getRMWS();
> >            RMWSStub axisPort = (RMWSStub)c;
> >            axisPort.setUsername("abc");
> >            axisPort.setPassword("xyz");
> >    ....
> >
> > Any idea why the user and pass is not set. Also it automatically
> > chooses Basic auth. Can i switch to Digest explicitly?
> > Thanks!
> > Michael
> >
> >
> >
> >
>
>


--
      Joey
Father of Ophir 7 and Maya 3 Dx 9/02 pumping Novolog , Animas IR1000
Happily married to Zahava
Jerusalem, Israel

Reply via email to