Method "XYZ" can not be reflected.

Method "XYZ" can not be reflected.

Post by janschuste » Tue, 04 Apr 2006 04:34:38


Hello,

when i try to create a webservice proxy (Web reference) from my client, an
exception occured:

Method "XYZ" can not be reflected.

StackTrace " at
System.Web.Services.Protocols.SoapReflector.ReflectMethod(LogicalMethodInfo
methodInfo, Boolean client, XmlReflectionImporter xmlImporter,
SoapReflectionImporter soapImporter, String defaultNs)\r\n at
System.Web.Services.Protocols.SoapClientType.GenerateXmlMappings(Type type,
ArrayList soapMethodList, String serviceNamespace, Boolean
serviceDefaultIsEncoded, ArrayList mappings)\r\n at
System.Web.Services.Protocols.SoapClientType..ctor(Type type)\r\n at
System.Web.Services.Protocols.SoapHttpClientProtocol..ctor()\r\n at
Dnm.Worldcup2006.ServiceAccessLayer.DnmWorldcup2006ServicePort..ctor() in
H:\\wm06\\src\\ServiceAccessLayer\\DnmWorldcup2006ServiceProxy.cs:line
173\r\n at
Dnm.Worldcup2006.ServiceAccessLayer.Webservice.WebserviceProvider..ctor() in
H:\\wm06\\src\\ServiceAccessLayer\\Webservice\\WebserviceProvider.cs:line
30" string

The web service is running. I can test it with my web browser.

Can anyone help me?

Greetings Jan