File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
The moose likes Web Services and the fly likes Web Services Security - anyone got it working? Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of Head First Android this week in the Android forum!
JavaRanch » Java Forums » Java » Web Services
Bookmark "Web Services Security - anyone got it working?" Watch "Web Services Security - anyone got it working?" New topic

Web Services Security - anyone got it working?

Greg T Robertson
Ranch Hand

Joined: Nov 18, 2003
Posts: 91
I have a document based web service on the Axis stack running on WAS 5.x. Trying to implement security by using digital signatures - I have looked at both Apache XML Security and WSS4J from Apache and can not get either one to work - grabbing from CVS neither will build properly - and the binary distribution of XML Security tends to have issues as well (tests won't run because it has to build to run the tests which fails). So has anyone gotten these to work? If so, can you share your knowledge. If not, what route did you take to use digital sigs for Axis?
I have also attempted to use the WAS stack by trying to generate in WSAD the web service - it fails with a NPE. It works for a Session bean, so I suspect it does not like the fact that mine is a normal bean and not a session bean.
Edited to add additional info about what stack I'm on now, and the fact that I looked at the WAS stack
[ May 06, 2004: Message edited by: Greg T Robertson ]
With a little knowledge, a cast iron skillet is non-stick and lasts a lifetime.
subject: Web Services Security - anyone got it working?
It's not a secret anymore!