Velocity Reviews - Computer Hardware Reviews

Velocity Reviews > Newsgroups > Programming > Java > Call and HttpsUrlConnection

Thread Tools

Call and HttpsUrlConnection

Posts: n/a

I would like to send my SOAP requests via a HttpsURLConnection. I
looked around the Axis API unsuccessfully.

Here where I am. I create a HttpsURLConnection. By this way I set a

SSLContext sslContext = SSLContext.getInstance("SSL");
new TrustManager[] {new MyTrustManager()},
SSLSocketFactory sslSocketFactory = sslContext.getSocketFactory();
URL url = new URL("...");
HttpsURLConnection urlc = (HttpsURLConnection)url.openConnection();

The only way I find consists in creating manually my SOAP request and
write it in the OutputStream of a socket.

But I would like still use the Call object to construct my request.

Even a birth of idea would be appreciated.
Thanks and great week.


Reply With Quote

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
difference b/w call by reference and call by pointer ravi C Programming 10 02-23-2007 10:57 AM
SSL certificate and HttpsURLConnection Java 1 07-12-2006 05:59 AM
system call and library call C Programming 7 08-23-2005 01:24 PM
HttpsURLConnection problem:Server redirected too many times Lukasz Java 0 09-21-2004 10:39 AM ma2thieu Java 7 07-08-2004 03:19 PM