Click here to Skip to main content
15,667,885 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
I am consuming web service in my console application, I have added service reference as we do normally while right click on reference in the project. Getting error "deserializing body of reply message for operation".
I have checked request and response in fiddler there it is displayed correctly in xml format.
In the service document it is mentioned that "You can call the web services using the SOAP protocol or directly as XML calls on a dedicated URL."

Some times getting service error message if any parameter is missing for requested method that means my request is not having any problem.

The Inner Exception message is :"There is an error in XML document (2, 1301)"



Please can any one help me to resolve this problem.

Thanks In Advance
Posted
Updated 31-Mar-14 22:35pm
v3
Comments
j.gabrielsousa 4-Jun-15 14:55pm    
hello Girish Deshmukh I have the same problem right now consuming a webservice, do you already have the answer to this issue ? What did you do to solve your problem?

I'll leave my e-mail here , maybe you could send me the answer. see you soon.
Best regards! jgabrielsousa@gmail.com
[no name] 5-Jun-15 2:53am    
Hi gabrielsousa, Confirm your xml request. This means your request xml is not in a correct format. This will solve your problem.

1 solution

Need to send request with proper xml format according to service method.
 
Share this answer
 
v2

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900