473,545 Members | 1,479 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Client found response content type of 'text/html; charset=utf-8', but expected 'text/xml'.

I get this error after trying to call a method in a webeservice. This
webservice returns an html page (as string), but I recieve this error.
Someone knows a solution for this?

Thanks!

Jesús Bosch Aiguadé
www.jbmixed.blogspot.com

Jul 3 '06 #1
1 3996
Jesús,
What it means is that the client was expecting a SOAP Message, but instead
it got an ASP.NET error page (HTML)
Peter

--
Co-founder, Eggheadcafe.com developer portal:
http://www.eggheadcafe.com
UnBlog:
http://petesbloggerama.blogspot.com


"Jesús Bosch" wrote:
I get this error after trying to call a method in a webeservice. This
webservice returns an html page (as string), but I recieve this error.
Someone knows a solution for this?

Thanks!

Jesús Bosch Aiguadé
www.jbmixed.blogspot.com

Jul 3 '06 #2

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

3
4061
by: Lakshmi Narayanan | last post by:
Hi experts, My problem is, for password <input name="password" type="password"> element the size given is 20. For another one <input name="username"> is also 20. But in browser the size differs for Charset="UTF-8" only. How to make equal in display? the sample is here: <%@LANGUAGE="VBSCRIPT" CODEPAGE="1252"%>
38
2819
by: lawrence | last post by:
I'm just now trying to give my site a character encoding of UTF-8. The site has been built in a hodge-podge way over the last 6 years. The validator tells me I've lots of characters that don't belong to the UTF-8 encoding. Other than changing them by hand, can anyone think of a clever way to find and convert these characters? ...
23
10928
by: lawrence | last post by:
I'd love to ask why this page is not rendering correctly in Safari on a Macintosh but I suspect someone will tell me to validate the page first. Nevertheless, if anyone sees an obvious reason that I'm missing, I'd like to know. It looks like a missing div tag but I can't see one. http://www.krubner.com/ Let's move on to a question...
1
2885
by: Simon_E | last post by:
We are experiencing problems with calling a Web Service that runs on Oracle HTTP Server powered by Apache. The Web Service returns 400 Bad Request. The explanation I got from the developer of the Web Service is that Apache doesn't accept messages that contains the information "charset=utf-8" in the Content-Type field in the HTTP Header. ...
6
18899
by: Calvin Lai | last post by:
Does anyone know the difference and usage of them? Great thanks!
6
6767
by: Peter Laan | last post by:
I need to redirect the user to an external page and include some information in the querystring (is this possible to do as a post instead of get?) I'm using Response.Redirect. The problem occurs if the information contains local characters (like åäö.) The external page can only handle ISO-8859. If I check the browser's address bar, local...
3
68788
by: John S | last post by:
Using VB.NET 2005, I created a Web Service that returns a dataset from a SQL Server database. In the same solution I created a test GUI with a Windows form to display the results. It worked fine on my development PC but when I moved the Web Service to a server on our network I get the following error: "Client found response content...
2
1458
by: Yehia A.Salam | last post by:
hello, I'm trying to decode a string with this format "الانفال" to a unicode format, I tried the following code but it doesn't work: rname = rname.Replace("&#", @"\u"); rname = rname.Replace(";", ""); I heard also of HttpUtilties class but it seems it's not available when you
1
9497
by: burnsy2000 | last post by:
We are running ASP classic on IIS 5 on W2k SP4. We recently added <% Response.charset="utf-8"%to the top of all our pages (as suggested by validator.w3.org). A problem arose on a page which applies Server.HTMLEncode to a field that was inputted from the user. The problem is that when the user enters a phrase such as: My Fiancé The...
2
5886
by: optimistx | last post by:
I try to develope a bookmarklet in javascript. The charset of the bookmarklet is UTF-8, but it is supposed to work within pages, whose character set is not UTF-8, but e.g. ISO-8859-1 or WINDOWS-1252. The bookmarklet loads other javascript files with the attribute charset="UTF-8". Mostly everything works nicely, but at least alert-boxes seem...
0
7391
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language...
0
7651
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed. This is as boiled down as I can make it. ...
0
7802
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that...
1
7410
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For...
0
7746
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the...
0
5962
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then...
1
5320
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes...
1
1869
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
1
1010
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.