Go4Expert

Go4Expert (http://www.go4expert.com/)
-   C# (http://www.go4expert.com/forums/c-sharp/)
-   -   Webservice throws exception "Expected text/xml" but got text/html (http://www.go4expert.com/forums/webservice-throws-exception-expected-t2091/)

Leo 1Dec2006 14:19

Webservice throws exception "Expected text/xml" but got text/html
 
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.

pradeep 1Dec2006 14:41

Re: Webservice throws exception "Expected text/xml" but got text/html
 
It's very hard to say where exactly the problem lies without knowing in-depth about the webservice.

Leo 1Dec2006 16:32

Re: Webservice throws exception "Expected text/xml" but got text/html
 
Atleast i wanna know how to get the original error that is thrown.How can that be got than this common exception.


All times are GMT +5.5. The time now is 17:09.