Hey Sridhar,
 
One way of doing it is to publish the web serivce over https if u want it to be secured. Its very simple
 
1. While deploying the service u need to deploy as https://xyz.com/axis/services/TestService. Ofcourse, your web server needs to be up with the SSL certificate installed
2. While accessing the service u have to make sure that JSSE libraries are there in the classpath and you add the following lines of code in ur client that invokes the web service
 
   System.setProperty("java.protocol.handler.pkgs","com.sun.net.ssl.internal.www.protocol");
   Security.addProvider(new com.sun.net.ssl.internal.ssl.Provider());
    Also note that
        if you are using JDK1.3 or earlier version JSSE should be seperately downloaded and added in the classpth   
        if you are using JDK1.4 or higher the JSSE libraries come with it, make sure that they are added in the classpath
 
 
Cheers,
Hari
 
-----Original Message-----
From: rsridhar [mailto:[EMAIL PROTECTED]
Sent: Thursday, July 22, 2004 4:20 PM
To: [EMAIL PROTECTED]
Subject: developing secure webservices with SSL

hi all,
 
Can any one help me of how to develope secure webservices with digital signatures with axis. url to tutorial and/or code sample will be helpful. please help me.
Sridhar Reddy .R
Software Engineer
Phone: +91-40-2360-0861 Ext: 82
Cell phone: +91-9849103458
Email: [EMAIL PROTECTED]
Home page: http://www.valuelabs.com/
Recipient “Best Indian SME 2003”
 
ValueLabs
Where Value & Innovation Co-exist
 

This e-Mail may contain proprietary and confidential information and is sent for the intended recipient(s) only.  If by an addressing or transmission error this mail has been misdirected to you, you are requested to delete this mail immediately. You are also hereby notified that any use, any form of reproduction, dissemination, copying, disclosure, modification, distribution and/or publication of this e-mail message, contents or its attachment other than by its intended recipient(s) is strictly prohibited.

DISCLAIMER:
This message (including attachment if any) is confidential and may be privileged. Before opening attachments please check them for viruses and defects. MindTree Consulting Private Limited (MindTree) will not be responsible for any viruses or defects or any forwarded attachments emanating either from within MindTree or outside. If you have received this message by mistake please notify the sender by return e-mail and delete this message from your system. Any unauthorized use or dissemination of this message in whole or in part is strictly prohibited. Please note that e-mails are susceptible to change and MindTree shall not be liable for any improper, untimely or incomplete transmission.

Reply via email to