web
You’re offline. This is a read only version of the page.
close
Skip to main content

Notifications

Announcements

No record found.

Community site session details

Community site session details

Session Id :
Finance | Project Operations, Human Resources, ...
Suggested Answer

XML response deserialization problem - WebService

(0) ShareShare
ReportReport
Posted on by 5

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?

I have the same question (0)
  • Suggested answer
    Charlotte X Profile Picture
    on at

    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

  • lasterlesiu123 Profile Picture
    5 on at

    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.

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

Responsible AI policies

As AI tools become more common, we’re introducing a Responsible AI Use…

Neeraj Kumar – Community Spotlight

We are honored to recognize Neeraj Kumar as our Community Spotlight honoree for…

Leaderboard > Finance | Project Operations, Human Resources, AX, GP, SL

#1
Martin Dráb Profile Picture

Martin Dráb 659 Most Valuable Professional

#2
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 533 Super User 2025 Season 2

#3
Sohaib Cheema Profile Picture

Sohaib Cheema 289 User Group Leader

Last 30 days Overall leaderboard

Product updates

Dynamics 365 release plans