
使用axis2 开发webservice客户端(服务端为https)报的错误,我已将服务端下载的证书导入到cacerts证书库,而且还在加入了以下代码
HttpTransportProperties.Authenticator basicAuthentication = new HttpTransportProperties.Authenticator();
basicAuthentication.setUsername("admin");
basicAuthentication.setPassword("admin");
stub._getServiceClient().getOptions().setProperty(org.apache.axis2.transport.http.HTTPConstants.AUTHENTICATE, basicAuthentication);
还有什么需要设置的吗?求助。。。。