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 expose soap service with username and password

Post new topic  Reply to topic
 How to expose soap service with username and password « View previous topic :: View next topic » 
Author Message
junaid
PostPosted: Tue May 14, 2019 4:26 am    Post subject: How to expose soap service with username and password Reply with quote

Acolyte

Joined: 29 Nov 2018
Posts: 58

Dear ,

I have WSDL and trying to place username and password inside header for expose.

I have done :
security policy sets,
Policy Set Binding for provider,
and create security profile.

can you please help what else is required ?
Back to top
View user's profile Send private message
Vitor
PostPosted: Tue May 14, 2019 7:36 am    Post subject: Re: How to expose soap service with username and password Reply with quote

Grand High Poobah

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

junaid wrote:
can you please help what else is required ?


Why do you think anything else is needed?

What does the InfoCenter say?
_________________
Honesty is the best policy.
Insanity is the best defence.
Back to top
View user's profile Send private message
junaid
PostPosted: Tue May 14, 2019 9:14 pm    Post subject: How to expose soap service with username and password Reply with quote

Acolyte

Joined: 29 Nov 2018
Posts: 58

Thanx for reply,

Quote:
Why do you think anything else is needed?


https://www.ibm.com/developerworks/websphere/library/techarticles/1505_kumar/1505_kumar.html

I follow above link and when i select provider as policy set binding and test from soapUI then:

1)soapUI only wants security header, it does not compare username and password values.
ie:


Code:

<soapenv:Header>
<wsse:Security soapenv:mustUnderstand="1" xmlns:wsse="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-secext-1.0.xsd"
xmlns:wsu="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-utility-1.0.xsd">

<wsse:UsernameToken wsu:Id="UsernameToken-8">
<wsse:Username>testuser</wsse:Username>
<wsse:Password Type="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-username-token-profile-1.0#PasswordText">testpass</wsse:Password>
</wsse:UsernameToken>
</wsse:Security>
</soapenv:Header>
   


Problem is it does not compare username and password and i use below command for defualt securityprofile having 'transportPropagationConfig' is 'defaultsecurityIDName ' :


Code:

mqsisetdbparms TestNode-n defaultsecurityIDName -u testuser -p testpass
Back to top
View user's profile Send private message
Vitor
PostPosted: Wed May 15, 2019 5:00 am    Post subject: Reply with quote

Grand High Poobah

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

I remain unclear on your problem.

If that's the security header you want, what security header are you getting?

junaid wrote:
Problem is it does not compare username and password


Compare with what? Show your LDAP configuration.
_________________
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 » How to expose soap service with username and password
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.