Hello everybody,
I am facing some Authentication problem using the Axis1.4, I have this
code for Axis2
// Authentication
Options opt = stub._getServiceClient().getOptions();
Authenticator authenticator = new Authenticator();
List<String> auth = new ArrayList<String>();
auth.add(Authenticator.DIGEST);
authenticator.setAuthSchemes(auth);
authenticator.setUsername("username");
authenticator.setPassword("password");
authenticator.setDomain("DOMAIN");
authenticator.setHost("localhost");
opt.setProperty(HTTPConstants.AUTHENTICATE,
authenticator);
opt.setSoapVersionURI(org.apache.axiom.soap.SOAP11Constants.SOAP_ENVELOPE_NAMESPACE_URI);
// SOAP 1.1 required
Using some imports:
import org.apache.axiom.soap.SOAPFaultDetail;
import org.apache.axis2.addressing.EndpointReference;
import org.apache.axis2.client.Options;
import org.apache.axis2.transport.http.HTTPConstants;
import org.apache.axis2.transport.http.HttpTransportProperties.Authenticator;
That is not available in the Axis1.4.
Do you know how can I handle this type of authentication in Axis1.4,
considering that I do not have the
transport.http.HttpTransportProperties.Authenticator, available in
Axis1.4?
Thanks in Advance,
Francisco
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]