A web app created with C#
This is an ASP.Net Core MVC Web Application project. It posts HTTP request to the service. The service returns a message.
Project is created with:
- C# version: 7.0
These commands are run respectively to create project and add service reference to it:
dotnet new mvc
dotnet tool install --global dotnet-svcutil --version 2.0.3-preview1.20574.1
dotnet-svcutil http://www.learnwebservices.com/services/hello?WSDL
dotnet build
dotnet run
HelloEndpointClient client = new HelloEndpointClient();
var request = new helloRequest()
{
Name = model.Name
};
var response = client.SayHelloAsync(request);
ViewData["Message"] = response.Result.Body.HelloResponse.Message;
List of features ready
- Post data to SOAP web service
Project is finished.
This app is used a free, public SOAP web service, Hello Web Service, which was created by @vicziani.
Created by @ozansulukpinar - feel free to contact me!