ASG
IBM
Zystems
Cressida
Icon
Netflexity
 
  MQSeries.net
Search  Search       Tech Exchange      Education      Certifications      Library      Info Center      SupportPacs      LinkedIn  Search  Search                                                                   FAQ  FAQ   Usergroups  Usergroups
 
Register  ::  Log in Log in to check your private messages
 
RSS Feed - WebSphere MQ Support RSS Feed - Message Broker Support

MQSeries.net Forum IndexWebSphere DataPowerHow to generate WS-Security Header using XSL in DP

Post new topicReply to topic
How to generate WS-Security Header using XSL in DP View previous topic :: View next topic
Author Message
Suresh Gupta
PostPosted: Sun May 10, 2009 6:54 pm Post subject: How to generate WS-Security Header using XSL in DP Reply with quote

Apprentice

Joined: 29 Jun 2005
Posts: 46
Location: India

Hi, I have small requirement like I need to convert the I/P XML to a soap format and then have to add <wsse:Security> block to the SOAP message to call backend webservice
O/P Soap messages should have following security block

How can do this through XSL like generating TimeStamp, Created, Expires wsu:id in one of the post I got some information on how to get generate nonce, password

****************************************
<soap:Header>
<wsse:Security soap:mustUnderstand="1">
<wsu:Timestamp wsu:Id="Timestamp-07714c87-160e-4376-8766-3c7e43eeb25a">
<wsu:Created>2009-04-15T19:38:16Z</wsu:Created>
<wsu:Expires>2009-04-15T19:43:16Z</wsu:Expires>
</wsu:Timestamp>
<wsse:UsernameToken xmlns:wsu="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-utility-1.0.xsd" wsu:Id="SecurityToken-829bd83e-9ea0-4c69-af58-ceca16f114c1">
<wsse:Username>abcde</wsse:Username>
<wsse:Password Type="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-username-token-profile-1.0#PasswordDigest">3PIKFR0gYQ+iRbV8DGcy9XngBHw=</wsse:Password>
<wsse:Nonce>Eib4MoJ7O4SxBXLYSaXItQ==</wsse:Nonce>
<wsu:Created>2009-04-15T19:38:16Z</wsu:Created>
</wsse:UsernameToken>
</wsse:Security>
</soap:Header>
_________________
regards,
Suresh
Back to top
View user's profile Send private message Yahoo Messenger MSN Messenger
Display posts from previous:
Post new topicReply to topic Page 1 of 1

MQSeries.net Forum IndexWebSphere DataPowerHow to generate WS-Security Header using XSL in DP
Jump to:



You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
Protected by Anti-Spam ACP


Theme by Dustin Baccetti
Powered by phpBB 2001, 2002 phpBB Group

Copyright MQSeries.net. All rights reserved.