I need to make a call to an external URLs and post the data.
Anybody has a solution for this.
Any inputs will be greatly helpful. Thanks in advance.
Thanks,
Arun Kumar Dubagunta
> -----Original Message-----
> From: Roland Weber [SMTP:[EMAIL PROTECTED]
> Sent: Wednesday, December 06, 2006 1:48 AM
> To: HttpClient User Discussion
> Subject: Re: how to treat the unknown certificate as trusted one
>
> Hello,
>
> > Protocol myhttps = new Protocol("https",new
> > EasySSLProtocolSocketFactory(), 443);
> > httpClient.getHostConfiguration().setHost("xxx.xxx.com", 443,
> myhttps);
> > int responseCode = httpClient.executeMethod(postMethod);
>
> This will only work if you are using _relative_ URLs like
> "/" or "/index.html". Register your protocol as the default
> handler for https, as described in the SSL guide.
>
> hope that helps,
> Roland
>
> << File: SMIME.txt >>
-----------------------------------------
This e-mail, including attachments, may include confidential and/or
proprietary information, and may be used only by the person or
entity to which it is addressed. If the reader of this e-mail is
not the intended recipient or his or her authorized agent, the
reader is hereby notified that any dissemination, distribution or
copying of this e-mail is prohibited. If you have received this
e-mail in error, please notify the sender by replying to this
message and delete this e-mail immediately.