You are viewing a plain text version of this content. The canonical link for it is here.
Posted to java-dev@axis.apache.org by umesh barik <um...@yahoo.com> on 2009/01/22 19:22:44 UTC

which version of axis support http digest ??

Hi All,
Can anybody let me know which version of Axis supports HTTP digest authentication. My project wants me to support HTTP Digest but unfortunately Axis 1.2 does not support that. Please suggest me.
�
Thanks in advance
Umesh



      

RE: which version of axis support http digest ??

Posted by Tom Jordahl <tj...@adobe.com>.
I am assuming you are using Axis 1.2, and not any version of Axis2.  You can configure Axis 1.2 to use the Apache Commons HTTPClient library for HTTP communications.

See http://wiki.apache.org/ws/FrontPage/Axis/AxisCommonsHTTP for some help.  You need to use a client-config.wsdd that points to CommonsHTTPSender:

<?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">

  <!-- use CommonsHTTPSender instead of the default HTTPSender -->
  <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>

Once you are using commons-http, you should be able to set username and password on client stubs and have the right thing happen.

Tom Jordahl

From: umesh barik [mailto:umesh_barik73@yahoo.com]
Sent: Thursday, January 22, 2009 1:23 PM
To: axis-dev@ws.apache.org
Subject: which version of axis support http digest ??

Hi All,
Can anybody let me know which version of Axis supports HTTP digest authentication. My project wants me to support HTTP Digest but unfortunately Axis 1.2 does not support that. Please suggest me.

Thanks in advance
Umesh