Pinned topic Web Service with WS-Security Signature and Encryption
Answered question This question has been answered.
Unanswered question This question has not been answered yet.
I am trying to consume a web service created outside of Websphere. It is secured using WS-Security Username and as far as I can tell requires a signature and encryption. I have a keystore file with the required keys as well as the passwords for accessing the keystore. I saw the example on the wiki (I think) for consuming a web service using the Username token in the header, but it looks like that's for web services that don't use encryption and/or signatures. Is this possible? If so, how? Thanks in advance.
Updated on 2012-11-26T22:39:52Z at 2012-11-26T22:39:52Z by mburati
mburati 060000VQ20352 Posts
Re: Web Service with WS-Security Signature and Encryption2010-02-10T16:36:15ZThis is the accepted answer. This is the accepted answer.The current WPF Web Service builders only automate the UsernameToken and LTPA Binary Token WS-Security SOAP headers.
You may be able to create the WS client/consumer code with RAD's WS wizard(s) and/or WAS's Web Service Tooling and then leverage that WS consumer/client code via WPF LJO.
Another option that "may" be possible, but which I don't know much about myself, so I'm just guessing here is that WPF 6.1.5 added the ability to use JAX-WS as the underlying WS implementation, if you're running on WAS7, or if you're running on WAS6.1 with the JAX-WS WS Feature Pak applied. According to the WAS7 JAX-WS documentation, it should be possible to configure WAS's WS support to use WS-Security (such as signatures and encryption) across the board, on all JAX-WS ws consumers run on that platform. Again, I am not an expert on that area and wasn't involved directly in the JAX-WS work, so that's just a theory, not something I have done myself. See http://publib.boulder.ibm.com/infocenter/wasinfo/v7r0/index.jsp?topic=/com.ibm.websphere.express.doc/info/exp/ae/cwbs_generalbinding.html for more info.
saikiran 060000AFWX1 Post
Re: Web Service with WS-Security Signature and Encryption2012-11-20T16:19:32ZThis is the accepted answer. This is the accepted answer.Hi All
I got the similar requirement of consuming web services uses UserToken + Symmetric Encryption web services. I got the user token (username and password) and key store.
I tried to see if we can do WAS Level configuration, but not successful.
Help me if you have already resolved similar kind of problems.
mburati 060000VQ20352 Posts
Re: Web Service with WS-Security Signature and Encryption2012-11-26T22:39:52ZThis is the accepted answer. This is the accepted answer.
- saikiran 060000AFWX
I hope that info helps,
The postings on this site are my own and do not necessarily represent the positions, strategies, or opinions of IBM.