Internal Server Error from Simple Web Service

Tech-Archive recommends: Fix windows errors by optimizing your registry

From: Joe H (jharri_at_hotmail.com)
Date: 03/06/04


Date: Sat, 6 Mar 2004 16:54:41 -0600

I have a simple web service which accepts two integers as input, then adds
them up and returns the sum as output.

This is written in VB.Net.

I go to the test form that the project generates, and I click the Invoke
button without entering any value for either of the two parameters. IIS
returns an "Internal Server Error".

If the code in my webmethod never gets to execute, how can I ever handle the
error properly and issue the SoapException that would be applicable in this
case?

Thanks,
Joe


Quantcast