Has anyone tried https in the rpcrouter and messagerouter URL?
If I put https instead of http, the sample program gives me exceptions.
(I have apache/mod_ssl, tomcat SSL enabled and
https://localhost:4422/soap/admin/ works fine ).


=================================================
#!/bin/sh

RTURL="https://localhost:4422/soap/servlet/rpcrouter";
MSGURL="https://localhost:4422/soap/servlet/messagerouter";

echo This test assumes server:
echo $RTURL and
echo $MSGURL

echo Deploying the messaging service...
java org.apache.soap.server.ServiceManagerClient $RTURL  deploy
DeploySoapServer.xml


Output:
==============================================
This test assumes server:
https://localhost:4422/soap/servlet/rpcrouter and
https://localhost:4422/soap/servlet/messagerouter
Deploying the messaging service...
Exception in thread "main" java.net.MalformedURLException: unknown protocol:
https
        at java.net.URL.<init>(URL.java:480)
        at java.net.URL.<init>(URL.java:376)
        at java.net.URL.<init>(URL.java:330)
        at
org.apache.soap.server.ServiceManagerClient.main(ServiceManagerClient.java:2
16)
========================================================


Regards
Jonathan


Reply via email to