Internal Server Error from Simple Web Service

J

Joe H

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
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

Forum statistics

Threads
473,995
Messages
2,570,226
Members
46,815
Latest member
treekmostly22

Latest Threads

Top