Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
HomeAnnouncementsFree MagazinesWhite PapersSubmit Content
Discussion GroupsASP.NETWindows FormsLanguages.NET FrameworkVisual Studio.NET
Articles.NET FrameworkASP.NETToolsWindows Forms
.NET DirectoryOpen Source ProjectsUser GroupsWeb Resources
Related Topics
Visual Basic 6SQL ServerMS AccessOther DB ProductsMS Server ProductsMore Topics ...

.NET Forum / ASP.NET / Web Services / August 2004

Tip: Looking for answers? Try searching our database.

Error: (Client found response content type...)

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
Soheil - 31 Jul 2004 19:08 GMT
I use webservice to connect to a server on Internet and sometimes(not
always), I recieve this error on calling webserice member functions.

Error:
**********************************
Client found response content type of '', but expected 'text/xml'.
The request failed with the error message:
--
<HTML><HEAD><META HTTP-EQUIV="REFRESH" CONTENT="0"
URL="http://iransaham.com/dataservice.asmx"></HEAD><BODY>
</BODY></HTML>
**********************************

Thanks in advance
Jeffrey Hasan - 03 Aug 2004 07:38 GMT
This may be happening because the Web service call is failing after the
proxy has invoked the service. The proxy expects XML back but is, for
example, receiving an HTTP error. If the error were in the Web service
itself, then you would more likely receive a SoapException.

To troubleshoot this issue, set breakpoints in the Web service and in the
proxy, and try to find out where the call is failing.

Jeffrey Hasan, MCSD
President, Bluestone Partners, Inc.
-----------------------------------------------
Author of: Expert SOA in C# Using WSE 2.0 (APress, 2004)
http://www.bluestonepartners.com/soa.aspx

> I use webservice to connect to a server on Internet and sometimes(not
> always), I recieve this error on calling webserice member functions.
[quoted text clipped - 10 lines]
>
> Thanks in advance
Duvaraganath B R - 09 Aug 2004 15:22 GMT
Hi Jeffrey

Adding the Soheil's question, here is the exact scenario where I get the
error.  But I do not know how to solve it.

I use soap extension on my web service for encrypting and decrypting the
message.  I tried to debug the web service also, it is not even reaching
there.

As soon as I make a call to the web service, my calls goes to before
deserialize and here I am getting the error, the Stream which I am
getting is having blank string.  With this I am getting the XmlException
and inturns gives the error.

Also, this error comes only when I leave the application idle for say 20
min or so.  I thought, it may be because of the session timeout, so
changed the timeout from 20 min to 1 hour, but still having the problem.

I am stuck here....

Exepecting your help on this.

Thanks in Advance
Duva

Free Magazines

Get these publications absolutely FREE for up to 12 months. There are no hidden fees and no obligation. Simply choose a title, complete the application form and submit it. Read more ...

Oracle MagazineNetwork ComputingComputer WorldBio-IT WorldeWeekInformation WeekInfosecurity
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.