Hi, all,
I have developed and deployed axis2-based webservice into my webserver
(Netscape Enterprise Server), my web service client can access and call it's
service over HTTP connection, now we need to use HTTPS (SSL) connection,
after I setup my certificate with both my web server and my browser, I can
use https connection to access the axis2 happyaxis.jsp and my webservice
wsdl file, and my other web applications, I did not change anything to the
axis2 configuration including axis2.xml, but when my web service client
called my web service, it threw org.apache.axis2.AxisFault: Transport error:
403 Error: Forbidden.
Questions:
1. do I need to change the axis2.xml file to configure the transportsender
and transportreceiver, or anything else?
2. After I debug into the code, it called open source HttpClient, and
HttpMethodDirector which has a method: private void authenticateHost(final
HttpMethod method), inside this call, there is a code block:
AuthScheme authscheme = authstate.getAuthScheme();
LOG.debug("authenticateHost authscheme==["+authscheme+"]");
if (authscheme == null) {
return;
}
Now I can see when this code block is called, the authscheme is null, so it
will never do authentication to the host, so how can I setup axis2 to have
the scheme?
Thanks in advance.
Dave