navguru's avatar
9 months ago
New Idea

Tutorial SOAP Security Header with C#

Hi Community,


I'm trying to add a security header to a soap-message via C# like SOAPUI it does.

Is there a tutorial describing this?


Her is the setup I'm using for request by soapui.

I've found a topic where a similar problem is mentioned.

I've copied code from this thread.

I also have different hash values for BinarySecurityToken generated once by soapui and another generated by C#.

BinarySecurityToken is a constant value that I could insert hard coded.

But the signature value depends on the definition of the body and will change every request.


Many thanks for your help.

Kind regard,



No CommentsBe the first to comment