access xml web service

J

Jack

I have a C# window app trying to access a xml web service
but
i get the following error:
Client found response content type
of 'text/html;charset==utf-8, but expected'text/xml'
Anyone got idea what the problem is?

Thanks in advance!
 
D

Dino Chiesa [Microsoft]

your endpoint is returning HTML, not XML.
Maybe it is an html-formatted error message. This can happen when there is
a syntax in the ASMX code, for example.

If you grab the request/response with something like proxytrace, you'll be
able to figure it out quickly.

-D
 

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

No members online now.

Forum statistics

Threads
473,995
Messages
2,570,226
Members
46,815
Latest member
treekmostly22

Latest Threads

Top