Hello.

I need to call a HTTPS WebService  through a HTTP proxy.
I set on Options object the following:

                options.setProperty(HTTPConstants.CUSTOM_PROTOCOL_HANDLER, new 
Protocol("https", (ProtocolSocketFactory)new 
AuthSSLProtocolSocketFactory(endpoint), 443));
                options.setTransportInProtocol(Constants.TRANSPORT_HTTPS);

                options.setProperty(HTTPConstants.AUTHENTICATE, authenticator);

                options.setProperty(HTTPConstants.PROXY, proxyProperty); // 
proxyProperty have set ProxyName, ProxyPort, UserName, PassWord

And another options.
I put the TCPMon, between my program and the proxy to see what is send.

On TCPMon I see the connection made to the proxy and then to the HTTPS 
WebService, all in plaintext and this is wrong because after the connection to 
the proxy, all data transmited should been encrypted.

Any one already have this problem? How can I solve this?

Sorry for my bad English.


Thanks,
Kintas

Reply via email to