User Profile
Collapse
-
Okay, thanks for the help. I'll check it out. -
Yes, that's for a failed attempt. And interestingly, those log errors are appearing in the log directory for the "Default Web Site" not the log directory for my service. When processing a successful call though IE, it doesn't write to the "Default Web Site" log and writes this to the web service log...
2007-07-20 12:52:49 W3SVC2131071671 192.168.1.211 POST /WebSvc.asmx/CreateTrx - 8080 - 192.168.1.211 Mozilla/4.0+(compatible ;+MSIE+7.0;+Win dows+NT+5.2;+.N ET+CLR+1.1.4322 ;+.NET+CLR+2.0. 50727)...Leave a comment:
-
401.2 - Logon failed due to server configuration.
401.1 - Logon failed.
404.0 - (None) – File or directory not found.
The first two of these seem to be standard handshaking "errors" usually followed by 200 when authentication completes. In my case, I'm getting that 404.0 log entry instead of 200.
Any tips on how to pinpoint the cause of this? As I said earlier, the web service runs fine when...Leave a comment:
-
In debugging the issue, I know that it gets to the iService.Create Trx() statement that calls the web service and all the parameters have valid values...
Code:WebSvc.Integrate iService = new WebSvc.Integrate(); iService.PreAuthenticate = true; iService.Credentials = System.Net.CredentialCache.DefaultCredentials; IWebProxy proxyObject = new WebProxy("http://localserver:80", true); iService.Proxy = proxyObject;
Last edited by Frinavale; Sep 22 '09, 02:36 PM. Reason: Please post code in [code] ... [/code] tags. Added code tags.Leave a comment:
-
Hi Frinny,
If I open IE and enter the URL of the .asmx file, I get the Service Description page. I can then click on the web service, enter parameter values, and click Invoke to test it. The service runs and returns a successful return code.
The web service is called from another server by an application not under my control and that call is also successful. I built a .NET assembly that, among other things, has a...Leave a comment:
-
Everything is all on the same computer so it shouldn't be an issue with seeing the service or proxy. I'm going to try add a bunch of event logging statements to try to see what's going on, just hoping someone had seen something similar before going through that effort. Thanks for the comments. I'll post back if/when I resolve the issue in case someone else runs into the same thing.Leave a comment:
-
Web Service "HTTP Status 401" -> "HTTP Status 404" issue
I've been banging my head against the wall with this one for a couple days so I'm hoping someone has some ideas. I have a web service that I created that is called by a .NET class library (which in turn is called by another application). This all works fine in my development environment.
Test environment: Windows Server 2003, ASP 6.0, .NET 2.0, Anonymous authentication is enabled. All components (web service, DLL, and calling application)...
No activity results to display
Show More
Leave a comment: