Page 1 of 1

Error in deserializing body of reply message for operation

Posted: Wed Mar 09, 2016 7:35 am
by Patricia
Hi there,
Sometimes when we are calculating an advanced route between two points with the 'CalculateExtendedRoute' function, we get the following error:
'Error in deserializing body of reply message for operation' calculateExtendedRoute ''.
The programming language we use is Visual Basic. NET
I attached the app.config, for if I had to change something in it.

How can we solve this problem?

Thanks in advance

Re: Error in deserializing body of reply message for operati

Posted: Wed Mar 09, 2016 10:44 am
by Bernd Welter
Hello Patricia,

not sure but: could this issue
  • appears only sometimes but not with every route
  • appears deterministic? (same route: same error?)
be related to the length of the XML messages? I've seen such behaviour in the past where the maximum message size was exceeded by an international routing polygon and its thousands of plain points.
The solution for this could be to increase the MaxReceivedMessageSize in the client configuration.

Sounds more like an issue in the client handling though it is triggered by the functional content of the messages.
So maybe asking aunt Google about .NET and how to deal with this error message is a goal leading approach.
I've seen several hits at a first glance.

If this doesn't help we should raise a ticket and analyse it 1:1 between you and PTV.

Best regards
Bernd

Re: Error in deserializing body of reply message for operati

Posted: Wed Mar 09, 2016 11:51 am
by Bernd Welter
PS: maybe it is not the message size but the maximum size of a single string based property...

Re: Error in deserializing body of reply message for operati

Posted: Thu Mar 10, 2016 11:15 am
by Bernd Welter
oh - we had something similar before...

http://xserver.ptvgroup.com/forum/viewt ... ?f=9&t=134