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 Uisng Message Level Security for JAX WS Web services deployed unde Weblogic 10 Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » Web Services
Bookmark "Uisng Message Level Security for JAX WS Web services deployed unde Weblogic 10" Watch "Uisng Message Level Security for JAX WS Web services deployed unde Weblogic 10" New topic
Author

Uisng Message Level Security for JAX WS Web services deployed unde Weblogic 10

Ravi Kiran Va
Ranch Hand

Joined: Apr 18, 2009
Posts: 2234



Hi ,

I want to provide security to JAX Ws Webservice , so i am planning to use Message Level Security .
We are using Weblogic 10 as our server .

So as per the Weblogic docs , it says that for Message Level security :

WebLogic Server includes pre-packaged WS-Policy files that you can use for configuring message-level security and reliable messaging, including the following. These files are static and you cannot change them:

DefaultReliability1.1.xml

Reliability1.1_SequenceTransportSecurity

Reliability1.0_1.1.xml


Does it mean that we can use any one of the following xml files for providing security ??

If so , Please let me know what is best for configuring my Web service for security ??

Thanks in advance .


Save India From Corruption - Anna Hazare.
Ivan Krizsan
Ranch Hand

Joined: Oct 04, 2006
Posts: 2198
    
    1
Hi!
First of all, are you familiar with WS-Policy?
My guess is that the files you mention contain one or more policies and, from the names, I conclude that they are focused on message reliability, that is, ensuring that each message is delivered to its destination, resending messages if necessary.
WS-Policy policies can be included in WSDLs, either directly in the WSDL or imported. The following is an example of an inline WS-Policy declaration declaring a policy that consists of:
- WS-Reliable messaging (required).
- Ordering of messages (required).
- The use of WS-Addressing (optional).

If you want to use WS-Policy, you need to write at least one policy similar to the above and include it in your WSDL of the web service.
Best wishes!

My free books and tutorials: http://www.slideshare.net/krizsan
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Uisng Message Level Security for JAX WS Web services deployed unde Weblogic 10
 
Similar Threads
FREE CERTIFICATION BETA: SCDJWS 5
web services overview
Help needed with JAXWS
Username and password security for webservices using JAX WS
Security for web services