You are viewing a plain text version of this content. The canonical link for it is here.
Posted to soap-dev@xml.apache.org by Ed Keen <ed...@interactiveportal.com> on 2001/03/20 16:32:23 UTC

ssl

How do I post a soap request using the "https" protocol?  I modified the
sample code like this:

	URL url = new URL("https://localhost/rpcrouter");

But when I run it I get this error:

	Exception in thread "main" java.net.MalformedURLException: unknown
protocol: https
		at java.net.URL.<init>(URL.java:497)
		at java.net.URL.<init>(URL.java:364)
		at java.net.URL.<init>(URL.java:308)
		at tests.soap.SoapClient.main(SoapClient.java:24)

I have brought up my browser and navigated to https://localhost/rpcrouter,
and I get the "Sorry I don't speak HTTP GET" message, so I know that the
servlet is able to receive a request through https.  

Does anyone have some sample code of how to get a soap request working
through https?

Thanks,
Ed