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 » How to use username token in SOAPRequest node

Post new topic  Reply to topic Goto page Previous  1, 2
 How to use username token in SOAPRequest node « View previous topic :: View next topic » 
Author Message
smdavies99
PostPosted: Wed Jul 11, 2012 12:57 am    Post subject: Reply with quote

Jedi Council

Joined: 10 Feb 2003
Posts: 6076
Location: Somewhere over the Rainbow this side of Never-never land.

shilpa.sabade wrote:
Hi ,


I tried [ c o d e]


two options:-

Above the edit window there are a number of buttons. One of these is 'Code'.
Press it one to add an open code tag. Inser your code after it then press it once more
Code:

This is inside code tags

This is outside.

The other way is to ad dthem manually. You were nearly there. You had a space right before the word CODE. When we ask people to put code inside tags we have to 'fool' the parser into not thingking we really mean to open a code section. Hence the space. Go back and edit your post to see the difference it makes.
_________________
WMQ User since 1999
MQSI/WBI/WMB/'Thingy' User since 2002
Linux user since 1995

Every time you reinvent the wheel the more square it gets (anon). If in doubt think and investigate before you ask silly questions.
Back to top
View user's profile Send private message
rekarm01
PostPosted: Thu Jul 12, 2012 2:48 pm    Post subject: Reply with quote

Grand Master

Joined: 25 Jun 2008
Posts: 1415

smdavies99 wrote:
When we ask people to put code inside tags we have to 'fool' the parser into not thingking we really mean to open a code section. Hence the space.

Another way to 'fool' the parser when asking people to use [code] tags is to embed a link to the FAQ, describing what they are, and how to use them.
Back to top
View user's profile Send private message
oli
PostPosted: Fri Jul 13, 2012 12:31 am    Post subject: Reply with quote

Acolyte

Joined: 14 Jul 2006
Posts: 68
Location: Germany

Sorry for the late answer

Back to the question. I just checked my code an found this:
Code:

DECLARE soapenv NAMESPACE 'http://www.w3.org/2003/05/soap-envelope';
DECLARE xml NAMESPACE 'http://www.w3.org/XML/1998/namespace';
DECLARE wsse NAMESPACE 'http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-secext-1.0.xsd';
DECLARE wst13 NAMESPACE 'http://docs.oasis-open.org/ws-sx/ws-trust/200512';
DECLARE saml NAMESPACE 'urn:oasis:names:tc:SAML:2.0:assertion';

...

CREATE LASTCHILD OF OutputRoot.SOAP DOMAIN('SOAP') TYPE Name NAME 'Header';
Set OutputRoot.SOAP.Header.wsse:Security.wsse:UsernameToken.wsse:Username = 'MyUser';
Set OutputRoot.SOAP.Header.wsse:Security.wsse:UsernameToken.wsse:Password = 'MyPassword';


That worked for me
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic  Reply to topic Goto page Previous  1, 2 Page 2 of 2

MQSeries.net Forum Index » WebSphere Message Broker (ACE) Support » How to use username token in SOAPRequest node
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.