How to do a POST on HttpsTunneling(referring javawldtip111)
I have used jsse for https (thur SSL) communication.
It suits with our requiremets and we have done with the work and tested successfully.
Requiremens ARE,
1.Writing some Message to the webserver(IIS),
and ASP page which resides on IIS will receive the Message and does the work based onthe message.
2.Reading Message from Webserver.
I have used HttpsUrlConnection to write(post) and read(get) the Messages and it did worked.
But same code is not working with the proxy Without a proxy everything is fine.
It throws an exception,
Unable to tunnel through 192.9.100.10:80.
Proxy returns "HTTP/1.1 407 Proxy authentication required"
What is the solution for this?Is Jsse providing some other way or methods to overcome this problem?
After going through the forums i have got sample program from javaworld tip111 and it did tunnels through the proxy.But that program is only to get the page from any secured site.
But my requirement is i need to post a message to the server apart from Headers.
I think we can write msg inside the doTunnelhandshake() method on the outputstream.
But how to pass a Message to that function?I can't change any of the function's prototype inthat program.At run time i need to pass the message to doTunnelhandshake() function.
So how to pass(post) a message with javaworld tip111 porgram?
OR
Can we tunnel through Without using SSLSocketFactory by using only HttpsUrlConnection?
Can anybody help me out on this particular problem?
Thanks in advance,
Prabhakar.

