Announcements
Good morning,
I'm having trouble getting a response using webservice. It seems that the request is fine because on the server side they receive messages.
ServiceReference1.ServiceClient servClient = new ServiceReference1.ServiceClient(); ServiceReference1.TLampInfo tLampInfo = new ServiceReference1.TLampInfo(); ServiceReference1.TRespons directResponse = new ServiceReference1.TRespons(); tLampInfo.Txt = "Test1234"; directResponse = servClient.SendLamp(tLampInfo); <---- error
I get a message then I try to download the response: "Error in deserializing body of reply message for operation 'SendLamp'". What else should I do? How should I use deserialization in this case?
Charlotte X Sorry, I made a mistake in translating the error from Polish. The error sounds: "Error in deserializing body of reply message for operation 'SendLamp'. In my opinion, everything is fine here because the request is being sent correctly. The problem is when the response is reading.
Hi lasterlesiu123,
Sorry I don't know much about development, but I found some relevant information that I hope they are helpful to you.
c# - Error in deserializing body of request message for operation - Stack Overflow
vb.net - Error in deserializing body of request message for operation 'abc' - Stack Overflow
André Arnaud de Cal...
294,206
Super User 2025 Season 1
Martin Dráb
232,968
Most Valuable Professional
nmaenpaa
101,158
Moderator