Ah, I see... The web service and test client are actually running on the same server. I didn't notice before that each request was generating two errors. Here's the details on the web service error:
Event code: 3005
Event message: An unhandled exception has occurred.
Event time: 7/6/2009 9:03:53 AM
Event time (UTC): 7/6/2009 1:03:53 PM
Event ID: 90d1822f05ac44b888c3566d939865de
Event sequence: 15
Event occurrence: 2
Event detail code: 0
Application information:
Application domain: /LM/W3SVC/4/Root/ECTools-98-128913583052484232
Trust level: Full
Application Virtual Path: /ECTools
Application Path: C:\Development_Web_Sites\ZZCOMPCLT\ECTools\ECTools\
Machine name: TEST
Process information:
Process ID: 2872
Process name: aspnet_wp.exe
Account name: TEST\ASPNET
Exception information:
Exception type: InvalidOperationException
Exception message: Request format is unrecognized for URL unexpectedly ending in '/HelloWorld'.
Request information:
Request URL: http://localhost:54303/ECTools/WebService1.asmx/HelloWorld
Request path: /ECTools/WebService1.asmx/HelloWorld
User host address: 172.16.10.228
User:
Is authenticated: False
Authentication Type:
Thread account name: TEST\ASPNET
Thread information:
Thread ID: 14
Thread account name: TEST\ASPNET
Is impersonating: False
Stack trace: at System.Web.Services.Protocols.WebServiceHandlerFactory.CoreGetHandler(Type type, HttpContext context, HttpRequest request, HttpResponse response)
at System.Web.Services.Protocols.WebServiceHandlerFactory.GetHandler(HttpContext context, String verb, String url, String filePath)
at System.Web.HttpApplication.MapHttpHandler(HttpContext context, String requestType, VirtualPath path, String pathTranslated, Boolean useAppConfig)
at System.Web.HttpApplication.MapHandlerExecutionStep.System.Web.HttpApplication.IExecutionStep.Execute()
at System.Web.HttpApplication.ExecuteStep(IExecutionStep step, Boolean& completedSynchronously)
Custom event details:
Is the web server trying to process the request as a GET even though the Method is set to HEAD? Does my request have to be something other than an HttpWebRequest? Or maybe I should be calling something other than GetResponse. I'm going to try some things along these lines, but if you have any ideas, please let me know.