axis-java-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Slaybaugh Laura J IHMD <>
Subject [axis-user] another SSL question
Date Fri, 21 Feb 2003 20:00:56 GMT

I am trying to implement a Axis over SSL, using Tomcat.  I've spent quite
some time browsing the archives, and I've been able to get the webservice to
work find using the WSDL2Java classes that were generated. (Hello,
HelloService, HelloServiceLocator, HelloServiceBindingStub) But I'm curious
if I can call an SSL service without using those classes.  When I run the
following code, I get the error listed below.  Am I required to use the
WSDL2Java classes to get this to work, or is there another workaround?


	String url = "https://localhost:8443/axis/services/HelloService";
	Service service = new Service();
	Call call = (Call) service.createCall();
<error> unknown protocol: https
		at<init>(Unknown Source)
		at<init>(Unknown Source)
		at<init>(Unknown Source)
		at TestRCUDriver.main(
	Exception in thread "main" 

If I change the code to call.setTargetEndpointAddress(url), I get the
following error 
		at TestRCUDriver.main(
	Exception in thread "main" 

View raw message