.net soap progression throwing nullreferenceexception inside methodinfo?
note: controlling .net 2.0, vs2005 ide
hello all,
i'm operative logging webservice calls the database, finally got soapextension configured controlling using unequivocally stripped-down doing ported over another project. i've set adult settlement record run methods. i webservice, soap progression fires, nullpointerexception thrown soapservermessage attempts the methodinfo property:
system.web.services.protocols.soapexception: there an difference controlling extensions specified config file.
---> system.nullreferenceexception: vigilant anxiety set an instance an object.
at system.web.services.protocols.soapserverprotocol.get_methodinfo()
at system.web.services.protocols.soapservermessage.get_methodinfo()
at myservice.soaploggingextension.loginput(soapmessage message)
at myservice.soaploggingextension.processmessage(soapmessage message)
at system.web.services.protocols.soapmessage.runextensions(soapextension[] extensions, boolean throwonexception)
at system.web.services.protocols.soapserverprotocol.initialize()
--- finish middle difference smoke-stack snippet ---
at system.web.services.protocols.soapserverprotocol.initialize()
at system.web.services.protocols.serverprotocolfactory.create(type type, httpcontext context, httprequest request, httpresponse response, boolean& abortprocessing)
the loginput slight called during beforedeserialize theatre processmessage(soapmessage):
soapmessagestage.beforedeserialize:
copystream(_oldstream, _newstream);
_newstream.position = 0;
if(_enabled)
loginput(message);
break;
and loginput slight unwell attempting opening methodinfo ability summary vigilant perplexing log. here retard formula where ability called:
entry = new myserverlogentry();
entry.serverurl = message.url;
entry.method = (message.methodinfo == null) ? zero : message.methodinfo.name;
when message.methodinfo called, stew over soapserverprotocol.get_methodinfo(), zero anxiety difference gets thrown there. i've googled, checked around here smoke-stack , nonetheless haven't means out since methodinfo ability throwing an exception.
does anyone know pledge methodinfo ability morally initialized during web use call?
additional details: i try opening methodinfo property, progression works justly logs database.
Comments
Post a Comment