Hi,
I have created sample web service. I just want to implement security into web services using SSL. Does any one know about that ?
-Malathi
-
how to provide security using SSL for web services (4 messages)
- Posted by: malathi narayanan
- Posted on: January 09 2002 05:21 EST
Threaded Messages (4)
- how to provide security using SSL for web services by Neil O'Toole on January 09 2002 05:56 EST
- how to provide security using SSL for web services by malathi narayanan on January 09 2002 06:46 EST
- how to provide security using SSL for web services by malathi narayanan on January 09 2002 06:46 EST
- how to provide security using SSL for web services by Toby Hede on January 13 2002 22:50 EST
-
how to provide security using SSL for web services[ Go to top ]
- Posted by: Neil O'Toole
- Posted on: January 09 2002 05:56 EST
- in response to malathi narayanan
What platform are you using to host the web service?
N., -
how to provide security using SSL for web services[ Go to top ]
- Posted by: malathi narayanan
- Posted on: January 09 2002 06:46 EST
- in response to Neil O'Toole
hi,
I am new to WebService. I have created web service using java & WebServiceToolKit. now my web service is running in TOMCAT. I have to provide security for this web service using SSL. please tell me how to do. You can send information to my mail id also. My mail id is malathi at siptech dot co dot in. Following are my web service & client programs.
My sample web service :
public class sample
{
public String display()
{
String msg = "Hi You have successfully created a Web Service";
return msg;
}
}
My client program :
public class sample_client{
public static void main(String args[])throws Exception
{
java.net.URL url = new java.net.URL("http://localhost:8080/soap/servlet/rpcrouter");
sample_ServiceBinding obj = new sample_ServiceBinding(url);
System.out.println("Message from Web Service :\n"+obj.display());
}
}
thanks,
malathi
-
how to provide security using SSL for web services[ Go to top ]
- Posted by: malathi narayanan
- Posted on: January 09 2002 06:46 EST
- in response to Neil O'Toole
hi,
I am new to WebService. I have created web service using java & WebServiceToolKit. now my web service is running in TOMCAT. I have to provide security for this web service using SSL. please tell me how to do. You can send information to my mail id also. My mail id is malathi at siptech dot co dot in. Following are my web service & client programs.
My sample web service :
public class sample
{
public String display()
{
String msg = "Hi You have successfully created a Web Service";
return msg;
}
}
My client program :
public class sample_client{
public static void main(String args[])throws Exception
{
java.net.URL url = new java.net.URL("http://localhost:8080/soap/servlet/rpcrouter");
sample_ServiceBinding obj = new sample_ServiceBinding(url);
System.out.println("Message from Web Service :\n"+obj.display());
}
}
thanks,
malathi
-
how to provide security using SSL for web services[ Go to top ]
- Posted by: Toby Hede
- Posted on: January 13 2002 22:50 EST
- in response to malathi narayanan
I have never done this, but:
SSL lies underneath the HTTP protocol, so you should not actually have to do anything other than specify the right URL to your SSL protected service:
https://localhost:8080/soap/servlet/rpcrouter
All the encryption should be handled by the underlying network and communication layers of your system, you just need to configure Tomcat to use this stuff correctyly, and there are tutorials in the Tomcat docs to do this.