Skip to Main Content

Java Programming

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

connect to a SOAP webservice using SSL

807588Jun 26 2009 — edited Jul 7 2009
Hi all,
I'm using a local apache 2 web server to run sugarcrm community edition on a linux machine. i use a java client with sugarcrm SOAP API to authenticate users. this works for http connections. Now i want to be able to authenticate users through secure https connections.
I know for this i'll need to tell my web server to enable SSL connections..a probable solution is to Modify .htaccess file in the sugar system.
in case there is a user who hasn't configured his web server/sugar system to accept https connections , can we enable him to connect by using SSL code logic in client soap code? I mean there are users in my java application who are complaining that my application couldn't authenticate them through SSL . so i'm looking for a way to support SSL connection through sugarcrm soap API (in java).
What i need is even if user didn't configured his webserver/sugarcrm system for SSL connection , my java client code will enable him to talk to sugarcrm soap service through a secure connection. is this possible? i mean can i write java code on client side to enforce SSL communication with sugarcrm soap service even if user didn't enabled SSL on web server?

any help is much appreciated.
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Aug 4 2009
Added on Jun 26 2009
10 comments
1,912 views