Deserialization exception?
Hi ,
I m using wshttpbinding. I am getting the this problem
Message "Error while trying to deserialize parameterhttp://Corona.Services.CoronaService:ehr. Error in line 1 position 904. 'EndElement' 'ehr' from namespace 'http://Corona.Services.CoronaService' is not expected. Expecting element '_dtDateOfCreation'" string.
Call doesnt reach the WCF service and i get this exception on client? . Is there any problem in the Proxy generated or in wsdl? In the above case i m passing the type EHR alone to function. Other functions i have tested also uses EHR but that didnt given the exception? Waiting for quick respose
Regards
Debugger
[818 byte] By [
Debugger] at [2007-12-20]
I think that this would be a good candidate for a trace/log.
<configuration>
<system.serviceModel>
<diagnostics performanceCountersEnabled="true">
<messageLogging maxMessagesToLog="30000"
logEntireMessage="true"
logMessagesAtServiceLevel="true"
logMalformedMessages="true"
logMessagesAtTransportLevel="true">
</messageLogging>
</diagnostics>
</system.serviceModel>
<system.diagnostics>
<sources>
<source name="System.ServiceModel" switchValue="Verbose, ActivityTracing" propagateActivity="true" >
<listeners>
<add name="xml" />
</listeners>
</source>
<source name="System.ServiceModel.MessageLogging" switchValue="Verbose">
<listeners>
<add name="xml" />
</listeners>
</source>
</sources>
<sharedListeners>
<add name="xml" type="System.Diagnostics.XmlWriterTraceListener" initializeData="e2eTraceTest.e2e" />
</sharedListeners>
<trace autoflush="true" />
</system.diagnostics>
</configuration>
Thanks,
Scott