I have an asmx web service with the following method.
[WebMethod] public string LoadRegions(Guid id) { throw new NotImplementedException(); }
When I try to call this method, I get this exception:
System.InvalidOperationException: LoadRegions Web Service method name is not valid. at System.Web.Services.Protocols.HttpServerProtocol.Initialize()
If I change the parameter type from Guid to, say, a string, the problem disappears. Suggestions? For testing purposes, I call a service with this URL from Firefox:
http://localhost:81/services/ContactService.asmx/LoadRegions ?id=6C388126-5787-4B63-AAFE-5BCC4EA4DF83
Any suggestions?
source share