Click here to Skip to main content
15,905,028 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
Hi,
We are cosuming webservice from the client. We will download a package with lots of pdfs. It the package contains >50MB then we will request each file at a time.
Most of the time , package was downloading successfully but some time it is geting an error like
he content type text/xml of the response message does not match the content type of the binding

Is this proble is from client side or serverside. Please let me know how to resolve this issue
Your help is much appreciated.

Thank you
Posted

1 solution

It is very much possible that your service is throwing an error and you have set to redirect to an HTML error page if error occurs. But as it is expecting xml result, that's causing this error. To find the actual error/exception details try disabling html error page redirection. Debugging with breakpoint should be the first try though .

Hope, it helps :)
 
Share this answer
 
Comments
Member 11655430 4-May-15 10:42am    
Hello Sekhar,
As I told We are not experienceing this problem more often. So cant do that with break points. And also we are cosuming the service with url and password. After we submit resuqet we to download the file, then suddenly it is throwing this exception

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