File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes Web Services and the fly likes WS-Security Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » Web Services
Bookmark "WS-Security" Watch "WS-Security" New topic
Author

WS-Security

Kalai Selvan
Ranch Hand

Joined: Jul 07, 2004
Posts: 79
Hi All,

Is there any protable solution for web service security avaibale?

I am using weblogic for deploying my webservices. my webservice file look something like this:



This service includes various weblogic specific import statements. Is there any way to avoid these imports and implement the WS-Security in a more portable way?

Thanks in advance.

Kalai.
Ulf Dittmer
Marshal

Joined: Mar 22, 2005
Posts: 41525
    
  53
Unfortunately there is no standard way to specify what WS-Security features should be applied to a web service. Each WS engine uses its own system, which means that there is a certain amount of non-portability. Axis is a bit better than what you're showing here, in that it uses external deployment descriptors that leave no trace in the source code.


Ping & DNS - my free Android networking tools app
Kalai Selvan
Ranch Hand

Joined: Jul 07, 2004
Posts: 79
Thanks Ulf Dittmer.

Is it possible to use WSS4J with weblogic. Does this will give portability across different soap engines? - This is the one which I am currently looking into.

Thanks.
Kalai.
Ulf Dittmer
Marshal

Joined: Mar 22, 2005
Posts: 41525
    
  53
WSS4J is the library that implements WS-Security; I believe (not quite sure) that all SOAP stacks use it. But the way it's integrated differs between servers, so I don't think that there's currently a way to achieve cross-platform compatibility.
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: WS-Security