Exercise: SOAP + DLL

SOAP can be used to wrap legacy systems, so that the legacy system becomes available through a network.

You have a "legacy" system that need some network enabling: The Calculator DLL that you made in a previous exercise.

In this exercise you will SOAP-enable your Calculator DLL.

Getting ready

I hope you made your calculator as an ordinary "Class Library".

If not, do it again - as an ordinary "Class Library".

Getting into it

Make a new project (aka. solution) type "WCF -> WCF Service Application".

In the WCF part of the project add a reference to your DLL file.

Make the SOAP/WCF service with methods like

Trying it

Run you service on localhost.

Try it with WcfTestClient and/or a simple Console Application.