asp.net - Instance validation error calling web service -


i'm getting instance validation error in proxy class use call web service. proxy class auto-generated xsd2code. me error doesn't match code it's pointing to.

exception details:

system.invalidoperationexception: instance validation error: 'lessthanorequalto' not valid value comparisonoperatortype.

source error:

line 12866:    cswgetcapabilitiesresponse csw.cswgetcapabilities(cswgetcapabilitiesrequest request) line 12867:    { line 12868:        return base.channel.cswgetcapabilities(request); line 12869:    } line 12870:  

source file:

d:\webapp\app_code\ogc.csw.proxy.cs line: 12868

stack trace:

[invalidoperationexception: instance validation error: 'lessthanorequalto' not valid value comparisonoperatortype.]    microsoft.xml.serialization.generatedassembly.xmlserializationreadercsw.read156_comparisonoperatortype(string s) +582    microsoft.xml.serialization.generatedassembly.xmlserializationreadercsw.read157_comparisonoperatorstype(boolean isnullable, boolean checktype) +742    microsoft.xml.serialization.generatedassembly.xmlserializationreadercsw.read162_scalar_capabilitiestype(boolean isnullable, boolean checktype) +746    microsoft.xml.serialization.generatedassembly.xmlserializationreadercsw.read165_filter_capabilities(boolean isnullable, boolean checktype) +746    microsoft.xml.serialization.generatedassembly.xmlserializationreadercsw.read166_capabilitiestype(boolean isnullable, boolean checktype) +1430    microsoft.xml.serialization.generatedassembly.xmlserializationreadercsw.read280_item() +281    microsoft.xml.serialization.generatedassembly.arrayofobjectserializer11.deserialize(xmlserializationreader reader) +43    system.xml.serialization.xmlserializer.deserialize(xmlreader xmlreader, string encodingstyle, xmldeserializationevents events) +579  [invalidoperationexception: there error in xml document (284, 13).]    system.xml.serialization.xmlserializer.deserialize(xmlreader xmlreader, string encodingstyle, xmldeserializationevents events) +1375    system.xml.serialization.xmlserializer.deserialize(xmlreader xmlreader, string encodingstyle) +163    system.servicemodel.dispatcher.xmlserializeroperationformatter.deserializebody(xmldictionaryreader reader, messageversion version, xmlserializer serializer, messagepartdescription returnpart, messagepartdescriptioncollection bodyparts, object[] parameters, boolean isrequest) +606  [communicationexception: error in deserializing body of reply message operation 'cswgetcapabilities'.]    system.runtime.remoting.proxies.realproxy.handlereturnmessage(imessage reqmsg, imessage retmsg) +4767763    system.runtime.remoting.proxies.realproxy.privateinvoke(messagedata& msgdata, int32 type) +1725    csw.cswgetcapabilities(cswgetcapabilitiesrequest request) +0    cswclient.csw.cswgetcapabilities(cswgetcapabilitiesrequest request) in d:\webapp\app_code\ogc.csw.proxy.cs:12868    cswclient.cswgetcapabilities(getcapabilitiestype1 getcapabilities) in d:\webapp\app_code\ogc.csw.proxy.cs:12875    tests_csw.unnamed1_click(object sender, eventargs e) in d:\webapp\tests\csw.aspx.cs:22    system.web.ui.webcontrols.button.raisepostbackevent(string eventargument) +154    system.web.ui.page.processrequestmain(boolean includestagesbeforeasyncpoint, boolean includestagesafterasyncpoint) +3691 

is "lessthanorequalto" meant valid value? think message saying tried deserialize "lessthanorequalto" value comparisonoperatortype element (or attribute), string "lessthanorequalto" not valid type of element.


Comments

Popular posts from this blog

c# - IMAP GMAIL getting folder list problem -

CUDA shared memory -