|
|
|
date: Wed, 4 Jan 2006 13:51:02 -0800,
group: microsoft.public.data.xmlanalysis
back
System.InvalidOperationException on discover method
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.XmlReflectionImporter.ReconcileAccessor(Accessor
accessor, NameTable accessors) at
System.Xml.Serialization.XmlReflectionImporter.ImportMembersMapping(String
elementName, String ns, XmlReflectionMember[] members, Boolean
hasWrapperElement, Boolean rpc, Boolean openModel, XmlMappingAccess access)
at
System.Web.Services.Protocols.SoapReflector.ImportMembersMapping(XmlReflectionImporter
xmlImporter, SoapReflectionImporter soapImporter, 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, XmlReflectionImporter xmlImporter,
SoapReflectionImporter soapImporter, String defaultNs)
--
steph
date: Wed, 4 Jan 2006 13:51:02 -0800
author: steph
Re: System.InvalidOperationException on discover method
This looks more like a .NET question. Probably the .NET newsgroups may be
better able to help answer this one...
Thanks,
Akshai
--
This posting is provided "AS IS" with no warranties, and confers no rights
Please do not send email directly to this alias. This alias is for newsgroup
purposes only.
"steph" wrote in message
news:7442E1FE-CA70-4B88-BBCB-813AB1A8D945@microsoft.com...
> 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.XmlReflectionImporter.ReconcileAccessor(Accessor
> accessor, NameTable accessors) at
> System.Xml.Serialization.XmlReflectionImporter.ImportMembersMapping(String
> elementName, String ns, XmlReflectionMember[] members, Boolean
> hasWrapperElement, Boolean rpc, Boolean openModel, XmlMappingAccess
> access)
> at
> System.Web.Services.Protocols.SoapReflector.ImportMembersMapping(XmlReflectionImporter
> xmlImporter, SoapReflectionImporter soapImporter, 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, XmlReflectionImporter xmlImporter,
> SoapReflectionImporter soapImporter, String defaultNs)
> --
> steph
date: Wed, 4 Jan 2006 20:10:25 -0800
author: Akshai Mirchandani [MS]
|
|