Click here to Skip to main content
15,744,010 members
Please Sign up or sign in to vote.
1.00/5 (1 vote)
See more:
I want to pass security token in header of a soap request from c# code as per the sample below

<wsse:Security xmlns:wsse="" soapenv:mustUnderstand="1">
<wsse:UsernameToken xmlns:wsu="" wsu:Id="UsernameToken-8">
<wsse:Password Type="">test</wsse:Password>
<wsse:Nonce EncodingType="">f8nUe3YupTU5ISdCy3X9Gg==</wsse:Nonce>

What I have tried:

I tried various methods but nothing worked for me

My service url is[^]
Updated 25-Jul-19 5:20am

1 solution

Have you tried using the WSE (Web Services Enhancements) for Microsoft .NET package from Microsoft?
Download Web Services Enhancements (WSE) 2.0 SP3 for Microsoft .NET[^]
Share this answer

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)

CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900