what is meant by the following error msg?
System.InvalidOperationException: Method xmlaprovider.Discover can not be
reflected. ---> System.InvalidOperationException: The XML element
'Discover'
from namespace 'myws.webservice.xmla' references a method and a type.
Change
the method's message name using WebMethodAttribute or change the type's
root
element using the XmlRootAttribute. at
System.Xml.Serialization.XmlReflectionIm****ter.ReconcileAccessor(Accessor
accessor, NameTable accessors) at
System.Xml.Serialization.XmlReflectionIm****ter.Im****tMembersMapping(String
elementName, String ns, XmlReflectionMember[] members, Boolean
hasWrapperElement, Boolean rpc, Boolean openModel, XmlMappingAccess
access)
at
System.Web.Services.Protocols.SoapReflector.Im****tMembersMapping(XmlReflectionIm****ter
xmlIm****ter, SoapReflectionIm****ter soapIm****ter, Boolean
serviceDefaultIsEncoded, Boolean rpc, SoapBindingUse use,
SoapParameterStyle
paramStyle, String elementName, String elementNamespace, Boolean
nsIsDefault,
XmlReflectionMember[] members, Boolean validate, Boolean openModel, String
key, Boolean writeAccess) at
System.Web.Services.Protocols.SoapReflector.ReflectMethod(LogicalMethodInfo
methodInfo, Boolean client, XmlReflectionIm****ter xmlIm****ter,
SoapReflectionIm****ter soapIm****ter, String defaultNs)
--
steph


|