Faced with the challenge to create a web service for a client in a pre .net Microsoft environment, I discovered SOAP and Microsoft's SOAP toolkit. The subject of this article is not SOAP but it is important that everyone understands these basic points.
If you read the definition of a web service above you will agree that SOAP satisfies the "strictly defined message pattern". So how do you remotely invoke objects and supply responses. This is where Microsoft's SOAP toolkit comes in. The SOAP toolkit provides a simple low-level interface for a client to generate and build SOAP messages, send them to the server for processing and return a response back to the client. So to create a web service all we need is to build a client to send the messages and a server to process and respond.
In this tutorial we are going to do exactly that. To accomplish this task we will:
We will accomplish this task easily with Visual Basic 6.0
and the SOAP Toolkit. The topic for our example is going
to be math (everyone's favorite). Our web service will calculate
the factorial or square root of a given number. Let's get
started.
Contents