access xml web service

Discussion in 'ASP .Net Web Services' started by Jack, Nov 21, 2003.

  1. Jack

    Jack Guest

    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!
     
    Jack, Nov 21, 2003
    #1
    1. Advertising

  2. 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


    "Jack" <> wrote in message
    news:045501c3b06b$03e27d70$...
    > 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!
     
    Dino Chiesa [Microsoft], Nov 24, 2003
    #2
    1. Advertising

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

It takes just 2 minutes to sign up (and it's free!). Just click the sign up button to choose a username and then you can ask your own questions on the forum.
Similar Threads
  1. hocho888
    Replies:
    1
    Views:
    677
  2. Michael Averstegge
    Replies:
    0
    Views:
    4,321
    Michael Averstegge
    Jan 10, 2006
  3. Not Me
    Replies:
    1
    Views:
    3,227
    Not Me
    Jun 5, 2007
  4. Alex Washtell via .NET 247

    Web Service + Anon Access, but getting 401 Access Denied Error

    Alex Washtell via .NET 247, Apr 5, 2005, in forum: ASP .Net Web Services
    Replies:
    1
    Views:
    226
    Mauro Ottaviani [MSFT]
    Apr 5, 2005
  5. Leo Violette
    Replies:
    0
    Views:
    1,098
    Leo Violette
    Apr 17, 2009
Loading...

Share This Page