Hmm..

I am using 1.3.x, but if there was a problem with the configuration of it,
why would it work fine with the WSDL2Java created client classes and not
with the call.invoke( Object[]) method?

Laura

> -----Original Message-----
> From: Norris Merritt [mailto:[EMAIL PROTECTED]
> Sent: Friday, February 21, 2003 6:02 PM
> To: '[EMAIL PROTECTED]'
> Subject: RE: [axis-user] another SSL question
> 
> 
> If https is an unknown protocol, perhaps you don't have JSSE 
> installed /
> configured? If you are running jdk 1.3.x you should download 
> the latest JSSE
> from Sun. If you have jdk 1.4, I think it comes with it. 
> 
> -----Original Message-----
> From: Slaybaugh Laura J IHMD [mailto:[EMAIL PROTECTED]
> Sent: Friday, February 21, 2003 12:01 PM
> To: '[EMAIL PROTECTED]'
> Subject: [axis-user] another SSL question
> 
> 
> Hey, 
> 
> 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?
> 
> Thanks,
> Laura
> 
> 
> <code>
>       String url = 
> "https://localhost:8443/axis/services/HelloService";;
>       Service service = new Service();
>       Call call = (Call) service.createCall();
>       call.setTargetEndpointAddress(new java.net.URL(url)); 
> </code>
> <error>
>       java.net.MalformedURLException: unknown protocol: https
>               at java.net.URL.<init>(Unknown Source)
>               at java.net.URL.<init>(Unknown Source)
>               at java.net.URL.<init>(Unknown Source)
>               at TestRCUDriver.main(TestRCUDriver.java:47)
>       Exception in thread "main" 
> </error>
> 
> If I change the code to call.setTargetEndpointAddress(url), I get the
> following error 
> <error>
>       javax.xml.rpc.JAXRPCException
>               at
> org.apache.axis.client.Call.setTargetEndpointAddress(Call.java:612)
>               at TestRCUDriver.main(TestRCUDriver.java:47)
>       Exception in thread "main" 
> </error>
> 
> 

Reply via email to