I'm very new about this topic, so I'm sorry if my problem explanation will be not very clear.
I'm using Visual Studio 2019 c#, and I'm creating a sw that has to connect to a server to read some data.
I add a WFC Web service using the integrated tool in VS and it creates a connected service that inhertis from System.ServiceModel.ClientBase and XXXProxy classes.
To connect to the server I need the credentials and to add a SOAPHeader to the messages.
How can I add this SOAPHeader?
I have the corresponding java code and for each request a SOAPHeader is created with SOAPHeaderElement.
Can anyone give me an help?
Thanks a lot