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 Index » WebSphere Message Broker (ACE) Support » user Name token in ws-security header

Post new topic  Reply to topic
 user Name token in ws-security header « View previous topic :: View next topic » 
Author Message
amitk22784
PostPosted: Tue Feb 28, 2012 7:24 am    Post subject: user Name token in ws-security header Reply with quote

Newbie

Joined: 23 Nov 2009
Posts: 9

Hi All

I am trying to creating a flow to call a web services with below node

MQInputNode -> Compute Node1 -> SoapRequestNode -> Compute Node2 -> MQ OutputNode.

Now I want to use below security token to hit the webservice

<wsse:Security soap:mustUnderstand="1">

<wsse:UsernameToken xmlns:wsu="http://schemas.xmlsoap.org/ws/2002/07/utility"

wsu:Id="SecurityToken-0c708387-2e7d-45b5-9029-b1108cf5527e">

<wsse:Username>Administrator</wsse:Username>

<wsse:Password Type="wsse:PasswordText">secured</wsse:Password>

</wsse:UsernameToken>

</wsse:Security>

Please let me know the step (esql code) to add above security credential in Header part of soap message.

Thanks
Back to top
View user's profile Send private message
mqjeff
PostPosted: Tue Feb 28, 2012 7:31 am    Post subject: Reply with quote

Grand Master

Joined: 25 Jun 2008
Posts: 17447

First stop is the samples that illustrate how to use WS-Security from Broker.
Back to top
View user's profile Send private message
Vitor
PostPosted: Tue Feb 28, 2012 7:39 am    Post subject: Reply with quote

Grand High Poobah

Joined: 11 Nov 2005
Posts: 26093
Location: Texas, USA

mqjeff wrote:
First stop is the samples that illustrate how to use WS-Security from Broker.




Followed by a quick review of the InfoCenter on the subject, which will help illuminate the samples & allow you to make them relevant to your situation.
_________________
Honesty is the best policy.
Insanity is the best defence.
Back to top
View user's profile Send private message
lancelotlinc
PostPosted: Tue Feb 28, 2012 8:28 am    Post subject: Re: user Name token in ws-security header Reply with quote

Jedi Knight

Joined: 22 Mar 2010
Posts: 4941
Location: Bloomington, IL USA

amitk22784 wrote:
Hi All

I am trying to creating a flow to call a web services with below node

MQInputNode -> Compute Node1 -> SoapRequestNode -> Compute Node2 -> MQ OutputNode.

Now I want to use below security token to hit the webservice

<wsse:Security soap:mustUnderstand="1">

<wsse:UsernameToken xmlns:wsu="http://schemas.xmlsoap.org/ws/2002/07/utility"

wsu:Id="SecurityToken-0c708387-2e7d-45b5-9029-b1108cf5527e">

<wsse:Username>Administrator</wsse:Username>

<wsse:Password Type="wsse:PasswordText">secured</wsse:Password>

</wsse:UsernameToken>

</wsse:Security>

Please let me know the step (esql code) to add above security credential in Header part of soap message.

Thanks


Where are your Trace nodes?

After you add the Trace nodes, you may like to read this article:

http://www.ibm.com/developerworks/websphere/library/techarticles/0902_henley/0902_henley.html
_________________
http://leanpub.com/IIB_Tips_and_Tricks
Save $20: Coupon Code: MQSERIES_READER
Back to top
View user's profile Send private message Send e-mail
Display posts from previous:   
Post new topic  Reply to topic Page 1 of 1

MQSeries.net Forum Index » WebSphere Message Broker (ACE) Support » user Name token in ws-security header
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.