Webservice throws exception "Expected text/xml" but got text/html

Leo's Avatar, Join Date: Nov 2006
Leo
Go4Expert Member
I access a Webservice written by our client developers in C#.I call a method written by me and return a dataset to the client.This exception happens only when more than 3 users access the application fropm their client machines.

I put tracing statements in my method and even put try-catch block in order to write to a log file if exception happens.But no errors are written to the log file from my method.

But the control does not go back to the client code.It would take some tinme and throws this error ""Expected text/xml" but got text/html".

Does anyone know how can i find out the real problem behind this, what is the actual problem that has occured?



Pls help.
0
pradeep's Avatar, Join Date: Apr 2005
Team Leader
It's very hard to say where exactly the problem lies without knowing in-depth about the webservice.
0
Leo's Avatar, Join Date: Nov 2006
Leo
Go4Expert Member
Atleast i wanna know how to get the original error that is thrown.How can that be got than this common exception.