Skip to content

ddubson/soap-service-dotnetcore-example

Repository files navigation

SOAP Service client example

This is an example project of how a .NET Core 3.1 SOAP service can be created, launched, and then consumed by a .NET Core 3.1 SOAP client. Fun!

The primary SOAP library used is SoapCore

Operator Manual

Operate via make:

  • run-soap-service - stand up SOAP service on port 9310
  • run-soap-client-tests - run example SOAP client tests (uses test web host SOAP service)
  • ship-it - run the tests

SOAP Service

The project AddressBook.Service.SOAP hosts a basic SOAP service, and the WSDL definition is hosted locally at:

https://localhost:9310/PersonProfileService.asmx

To start the SOAP service, run:

make run-soap-service

Check out sample SOAP calls here

SOAP Client

The SOAP client example is encapsulated in the AddressBook.Service.SOAP.IntegrationTests as example test code to connect to a SOAP service. It utilizes the SOAP service from the previous section to stand up a test Kestrel server.

make run-soap-client-tests

TODO or what's not covered (yet)

  • Set up and launch an example SOAP service (maybe via Docker)

About

Example SOAP Service and client written in C# and .NET Core with SoapCore library

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published