This week's giveaway is in the Android forum.
We're giving away four copies of Android Security Essentials Live Lessons and have Godfrey Nolan on-line!
See this thread for details.
The moose likes Web Services and the fly likes Web Service security Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of Android Security Essentials Live Lessons this week in the Android forum!
JavaRanch » Java Forums » Java » Web Services
Bookmark "Web Service security" Watch "Web Service security" New topic

Web Service security

Vijay Kumar
Ranch Hand

Joined: Jul 24, 2003
Posts: 260
Can some one please share good tutorial with example to secure a webservice.

Ulf Dittmer

Joined: Mar 22, 2005
Posts: 41124
The details depend on which SOAP stack you're using - which one is it?

Ping & DNS - my free Android networking tools app
Vijay Kumar
Ranch Hand

Joined: Jul 24, 2003
Posts: 260
I am using glass fish server v3. I may use AXIS2 also.

Vijay Kumar
Ivan Krizsan
Ranch Hand

Joined: Oct 04, 2006
Posts: 2198
For Metro (GlassFish), take a look at
There are at least one tutorial and one screencast on web service security.
Best wishes!
Vijay Kumar
Ranch Hand

Joined: Jul 24, 2003
Posts: 260
Thanks for quick response.

I am looking a message level security which is given in provided link but not very informative. It is based on NETBEANS can I have a example bases on eclipse and my web service consumer can use any technology .Net.

For example there is a Web site developed in JSP/servlet and hosted on a Tomcat as soon as request land on server and web service call to another server on which my services are hosted. Service consumer can send a web services request which can be generated by AXIS2 stubs/JAX-WS or .net

Please suggest how can I enforce client to send a secure message to service.


Don't get me started about those stupid light bulbs.
subject: Web Service security
Similar Threads
Authentication with LDAP using Java(URGENT)
WA #1.....word association
Q on common architecture...
java network authorization
cafebabe in java