Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Client found response content type of 'text/plain' ?
Message
From
04/09/2006 09:47:01
 
 
To
03/09/2006 19:33:46
General information
Forum:
ASP.NET
Category:
Web Services
Environment versions
Environment:
C# 2.0
OS:
Windows XP SP2
Miscellaneous
Thread ID:
01150638
Message ID:
01150689
Views:
22
Well, my first thought was that the Web Service is not returning correct XML. But, I did a Google on the error message and came up with a lot of hits. Here's one that might help.

http://aspalliance.com/groups/microsoft_public_dotnet_framework_webservices/ng-476522_Error_from_web_service_charset_utf_8.aspx

Basically, the Microsoft guy says this:

it is usually caused by the server-side ASP.NET webservice has encountered
some error and throw out exceptions(not in webservice code, maybe at
initialize time). For such scenario, I suggest you perform the following
tests:

1. Use IE browser to visit the asmx service endpoint directly to see
whether you can view the default webservice description page and the test
page correct. If there is any error at compilation or initializtion time,
it will report error in browser.

2. When use webservice proxy to call the webservice, we can use some trace
tool to capture the SOAP message (request and response) transfered between
the client and server, you may get some useful information in it. The
"Trace Utility" in SOAP toolkit 3.0 is a useful trace tool you can use:

#SOAP Toolkit 3.0
http://www.microsoft.com/downloads/details.aspx?FamilyId=C943C0DD-CEEC-4088-
9753-86F052EC8450&displaylang=en

Hope that helps.

~~Bonnie



>Hi friends
>am call a 3rd party web service and when i call one of their methods i get above error
>any ideas how to resolve this please ?
>Thanks for ur help
>
>full error text
>
>Client found response content type of 'text/plain', but expected 'text/xml'.
>The request failed with the error message:
Bonnie Berent DeWitt
NET/C# MVP since 2003

http://geek-goddess-bonnie.blogspot.com
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform