aspose file tools
The moose likes Web Services and the fly likes WS-Security Big Moose Saloon
  Search | Java FAQ | Recent Topics
Register / Login


Win a copy of The Mikado Method this week in the Agile and other Processes forum!
JavaRanch » Java Forums » Java » Web Services
Reply 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: 35241
    
    7
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.


Android appsImageJ pluginsJava web charts
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: 35241
    
    7
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
 
Similar Threads
JAX-WS and javax.net.ssl.SSLKeyException
Confusion over JBossWS
Exception thrown While Running a Client
WSDL access error
How to change WSDL url dynamically