Creating a SOAP header with WS-Addressing and WS-Security from scratch

I am sending a SOAP message from a Windows service to an http endpoint (a regular aspx page that will just accept the entire SOAP envelope). The general operation is asynchronous, the real answer is returned later. The nature of the setting (aspx page receipt message) means that I cannot have a service link in my project.

The SOAP header should include WS-Addressing and WS-Security. What I need to do is basically create a SOAP envelope, but more specifically a SOAP header from scratch, and then compose a SOAP envelope before sending it.

Friday, Friday, I'm exhausted, and I'm struggling to deal with it. Using .net3.5 / C #, how do I create a SOAP header with addressing and security from scratch?

+3
source share
1 answer

Have you tried these guides:

http://msdn.microsoft.com/en-us/library/ms824647.aspx

Regards, Chris.

+1
source

Source: https://habr.com/ru/post/1769770/


All Articles