web service bug

R

Rodrigo Meneses

Whenever I invoke a method on my web service I got the following error
Client found response content type of 'text/html'
Does somebody know something?
Thanks
 
S

Sami Vaaraniemi

Hmm ok. It could be a permission issue then. Try adding credentials to the
web service proxy before the call:

myProxy.Credentials = System.Net.CredentialCache.DefaultCredentials;

If this does not solve the problem, you could use TcpTrace
(http://www.pocketsoap.com/tcpTrace/)
to look at the response on the wire. This should give you a clue what the
problem is.

Sami
www.capehill.net
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

Forum statistics

Threads
473,774
Messages
2,569,599
Members
45,170
Latest member
Andrew1609
Top