Velocity Reviews - Computer Hardware Reviews

Velocity Reviews > Newsgroups > Programming > ASP .Net > ASP .Net Web Services > access xml web service

Reply
Thread Tools

access xml web service

 
 
Jack
Guest
Posts: n/a
 
      11-21-2003
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!
 
Reply With Quote
 
 
 
 
Dino Chiesa [Microsoft]
Guest
Posts: n/a
 
      11-24-2003
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" <(E-Mail Removed)> wrote in message
news:045501c3b06b$03e27d70$(E-Mail Removed)...
> 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!



 
Reply With Quote
 
 
 
Reply

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Does timer in Web Service Global.asax block my Web Service from processing web-site requests? Leo Violette ASP .Net Web Services 0 04-17-2009 12:39 AM
Different results parsing a XML file with XML::Simple (XML::Sax vs. XML::Parser) Erik Wasser Perl Misc 5 03-05-2006 10:09 PM
InvocationTargetException when calling "new Service()" in Axis web service to call another web service Michael Averstegge Java 0 01-10-2006 11:05 PM
Web Service + Anon Access, but getting 401 Access Denied Error Alex Washtell via .NET 247 ASP .Net Web Services 1 04-05-2005 04:57 PM
Print XML parsing to JspWriter (out) Class org.xml.sax.helpers.NewInstance can not access a member of class javax.xml.parsers.SAXParser with modifiers "protected" Per Magnus L?vold Java 0 11-15-2004 02:27 PM



Advertisments