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 » WS-Security Exception on SOAPRequest Node

Post new topic  Reply to topic
 WS-Security Exception on SOAPRequest Node « View previous topic :: View next topic » 
Author Message
meena05
PostPosted: Fri Feb 26, 2016 7:53 am    Post subject: WS-Security Exception on SOAPRequest Node Reply with quote

Apprentice

Joined: 26 Feb 2016
Posts: 39

Hi,

My request is to call a Provider service which as WS-Security User Name and Password Authentication.
I am using SOAPRequest node and have done below steps
- Created Message Model
- Selected the WSDL on SOAPRequest node
- Selected the appropriate Binding Operation
- Built the Input require using compute node
- Built the BAR file
- Created Security profile using below commands

mqsicreateconfigurableservice BROKER -c SecurityProfiles -o SecurityProfile_1 -n "propagation,idToPropagateToTransport,transportPropagationConfig" -v "TRUE,STATIC ID,WSSecurityID"

mqsisetdbparms BROKER -n SecurityProfile_1 -u serviceid -p password


- Assigned Policy Set, Policy Set Binding and Security Profile Name on the SOAPRequest node

Deployed the flow and got below Exception.

Text:CHARACTER:org.apache.axis2.AxisFault: CWWSS6521E: The Login failed because of an exception: javax.security.auth.login.LoginException: javax.security.auth.login.LoginException: Broker security manager failed to provide a username
Back to top
View user's profile Send private message
Vitor
PostPosted: Fri Feb 26, 2016 7:57 am    Post subject: Reply with quote

Grand High Poobah

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

I don't see where you selected to use Default Propagation.
_________________
Honesty is the best policy.
Insanity is the best defence.
Back to top
View user's profile Send private message
meena05
PostPosted: Fri Feb 26, 2016 9:46 am    Post subject: Reply with quote

Apprentice

Joined: 26 Feb 2016
Posts: 39

Hi, Thank you for the reply.

Can you please throw some insight on Default Propagation. Thank you
Back to top
View user's profile Send private message
Vitor
PostPosted: Fri Feb 26, 2016 9:57 am    Post subject: Reply with quote

Grand High Poobah

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

meena05 wrote:
Can you please throw some insight on Default Propagation.


See here and here.

Quote:
The predefined security profile Default Propagation has this setting enabled

_________________
Honesty is the best policy.
Insanity is the best defence.
Back to top
View user's profile Send private message
meena05
PostPosted: Fri Feb 26, 2016 10:36 am    Post subject: Reply with quote

Apprentice

Joined: 26 Feb 2016
Posts: 39

How do we enable this setting?
Back to top
View user's profile Send private message
Vitor
PostPosted: Fri Feb 26, 2016 10:47 am    Post subject: Reply with quote

Grand High Poobah

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

meena05 wrote:
How do we enable this setting?


As described in the links I posted
_________________
Honesty is the best policy.
Insanity is the best defence.
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic  Reply to topic Page 1 of 1

MQSeries.net Forum Index » WebSphere Message Broker (ACE) Support » WS-Security Exception on 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.