Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Looking for java Library/API for implementing WS-Security for SOAP messages with Attachment(SwA) [closed]

I am implementing ebXML3.0 in java and looking for a java library/API I can use for Signing and Encryption of SOAP messages with attachment. Earlier I was using "Apache wss4j" but this seems to only support signing/encryption of SOAP Body (No attachment).

Basically looking for Java API which supports following

https://www.oasis-open.org/committees/download.php/16672/wss-v1.1-spec-os-SwAProfile.pdf

like image 972
user1842997 Avatar asked Nov 21 '12 19:11

user1842997


1 Answers

I guess you already found http://docs.oracle.com/cd/E17802_01/webservices/webservices/docs/1.6/tutorial/doc/XWS-SecuritySamples6.html and it hasn't been what you were looking for?

Edit: After your latest comment I guess, it does already work out for you Glassfish Metro is an implementation which is able to use WS-Security in combination with SOAP with Attachments. More information (including an example application can be found on https://blogs.oracle.com/enterprisetechtips/entry/securing_attachments_with_metro_1). I'm sure the example will lead you on.

BTW: It also looks like XWSS 2.x and higher are also supporting WS-Sec with SwA, see: http://xwss.java.net/

like image 102
D.R. Avatar answered Sep 29 '22 14:09

D.R.