Change the method’s message name using WebMethodAttribute or change the type’s root element using the XmlRootAttribute."
We have just received the error when we tried to return a type which contains Response behind it.
We have webmethod, UpdateStatus and we have following signature
Public Function UpdateStatus(….) as UpdateStatusResponse
But it gives us above exception when I try it using URL to access the service. Then after some debugging and googling, I found that, .NET uses internal class that uses UpdateStatusResponse. If I change the name to UpdateStatusResult and error gone