How to get a client connected through ssl?

/*********
String serviceUrl = "https://localhost:8443/CVSA-xfire-1.0/EchoService";;
        Echo client = null;
        try {
                        client = (Echo) factory.create(serviceModel,
serviceUrl);
                        Client cli = ((XFireProxy)
Proxy.getInvocationHandler(client)).getClient();
        
cli.setProperty(CommonsHttpMessageSender.HTTP_PROXY_PORT, "8080");
                        cli.setProperty(Channel.USERNAME, "xxx");
                        cli.setProperty(Channel.PASSWORD, "mypass");

 

Thx in advance. Xris.

Reply via email to