In order to take advantage of new Message design provided in JAXWS 2.1 we revamped XWSS in WSIT milestone 3. XWSS 3.0 now has two implementations of WS Security one is based on DOM/SAAJ api's and other is based on JAXB and StAX api's . We have by default enabled JAXB and StAX based implementation. The performance benefits we get from the default implementation is really exciting. The burden of DOM and SAAJ is no longer needed to support most commonly used security scenarios. I will soon publish the performance improvement we have got over XWSS 2.0. Though the default implementation is efficient it has some limitations in this release of WSIT. We do not support XPATH , i,e we do not support SignedElements and EncryptedElements. We do support this under DOM based implementation.

Ability to switch between these two implementation automatically based on the SecurityPolicy will be supported in future releases of WSIT. In this release we can switch to DOM based WS Security implementation by adding DisableStreamingSecurity policy assertion in wsit-client.xml on client side and wsit.xml/ wsdl on the server side.


Client side assertion :

<sunsp:DisableStreamingSecurity xmlns:sunsp="http://schemas.sun.com/2006/03/wss/client"></sunsp:DisableStreamingSecurity>


Server side assertion :

<sunsp:DisableStreamingSecurity xmlns:sunsp="http://schemas.sun.com/2006/03/wss/server"></sunsp:DisableStreamingSecurity>



powered by performancing firefox

Comments:

Hi,
I'm looking for a good example to learn how to use the XWSS,
I need something basis to get started.

Posted by Uche on May 12, 2008 at 04:33 PM IST #

Basic samples are bundled with XWSS jars you download from https://xwss.dev.java.net. But here are some tutorials which may be of help to you.

https://wsit-docs.dev.java.net/releases/m4/About.html
https://metro.dev.java.net/discover/screencasts.html
http://java.sun.com/webservices/docs/1.6/tutorial/doc/XWS-SecurityIntro.html#wp540763

Posted by 192.18.43.225 on May 12, 2008 at 05:01 PM IST #

This flag also solves 'namespaces declaration lost issue' (that appears when your soap body message contains namespace reference inside attribute values).

See issue
https wsit.dev.java.net/issues/show_bug.cgi?id=868

Posted by pierre jourdan on September 02, 2008 at 01:34 PM IST #

Post a Comment:
  • HTML Syntax: NOT allowed

This blog copyright 2009 by venu