Search code examples
c#.netclientwebapi

How to create a client web service that send data with secure token to another soap web service in C#?


I should send data from each client to a soap web service with secure token. what type of project I can use to create a local web api in client send data to web service with secure token in C# and VisualStadio ?


Solution

  • There is a lot to unpack here.

    • Firstly you want to create an API in your client. An API is an endpoint, meaning it is on the server not your client. A client consumes an API. PLus you are using SOAP so API isn't applicable at all.
    • There is a good post about how to make a SOAP request: Client to send SOAP request and receive response