web
You’re offline. This is a read only version of the page.
close
Skip to main content

Notifications

Announcements

Community site session details

Community site session details

Session Id :
Power Platform Community / Forums / Power Automate / Need Help in passing U...
Power Automate
Unanswered

Need Help in passing UsernameToken in custom Connector for SOAP based web service

(0) ShareShare
ReportReport
Posted on by 6

Hi All,

 

I have created a custom connector using postman collection for calling SOAP based web services hosted on-premise, the webservice requires the Usernametoken so I am passing this under body of the payload under <soapenv:Header> under below webservice security tag 

          <wsse:UsernameToken wsu:Id="UsernameToken-16" xmlns:wsu="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-utility-1.0.xsd">
             <wsse:Username>***</wsse:Username>
             <wsse:Password Type="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-username-token-profile-1.0#PasswordText">***</wsse:Password>
     </wsse:UsernameToken>
      </wsse:Security>
</soapenv:Header>
 
The problem here is I need to pass the username and password openly in the body of the payload which is visible, I tried to use basic authentication instead of WSS then it shows the Username token is missing.
 
Could you please tell me how can I make it secure/encrypt so that password and username should not be visible. I am trying to write custom code in the connector but not able to get it correctly, any help will be appreciated
Categories:
I have the same question (0)

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

Forum hierarchy changes are complete!

In our never-ending quest to improve we are simplifying the forum hierarchy…

Ajay Kumar Gannamaneni – Community Spotlight

We are honored to recognize Ajay Kumar Gannamaneni as our Community Spotlight for December…

Leaderboard > Power Automate

#1
Michael E. Gernaey Profile Picture

Michael E. Gernaey 522 Super User 2025 Season 2

#2
Tomac Profile Picture

Tomac 364 Moderator

#3
abm abm Profile Picture

abm abm 243 Most Valuable Professional

Last 30 days Overall leaderboard