-----------------------------------------------------------

New Message on MumbaiUserGroup

-----------------------------------------------------------
From: Ajit Sadasivan
Message 1 in Discussion

Hi,        Platform : .NET 3.0. Visual Studio 2005      We are testing a WCF 
Service using BasicHttpBinding deployed in IIS in Win2003 machine.The service 
method invocation happens in an asynchronous manner from the client side. The 
method runs fine when the processing time is  less ( say few minutes ).  When 
it takes close to 10 minutes, we get a message as shown below.          
System.ServiceModel.ProtocolException : The content type text/html; char=utf-8 
of the response message doesn’t match the content type of the of the 
binding...If using custom encoder, be sure that the IsContentTypeSupported  
method property is implemented properly. The first 1024 bytes of the response 
were ......        ...<span><HI> Server Error n ‘/MyWebServiceApplication’  
application.......   <i>Runtime Error</i>...System.Net.WebException : The 
remote server returned an error (500) Internal Server Error at  
System.Net.HttpWebRequest.EndGetResponse(IAsyncResult asyncResult) at 
system.ServiceModel.Channels.HttpChannelFactory.HttpRequestChannel..   Looks 
like this is a timeout issue. So increased the timeout values in the client 
side, as shown below. Still the error is coming.<binding 
name="BasicHttpBinding_IPerfFeeCalculationService"  closeTimeout="01:00:00"     
 openTimeout="01:00:00" receiveTimeout="01:00:00" sendTimeout="01:00:00"      
allowCookies="false" bypassProxyOnLocal="false"  
hostNameComparisonMode="StrongWildcard"      maxBufferSize="65536" 
maxBufferPoolSize="524288"  maxReceivedMessageSize="65536"      
messageEncoding="Text" textEncoding="utf-8" transferMode="Buffered"      
useDefaultWebProxy="true">      <readerQuotas maxDepth="32" 
maxStringContentLength="8192"  maxArrayLength="16384"       
maxBytesPerRead="4096" maxNameTableCharCount="16384" />      <security 
mode="None">       <transport clientCredentialType="None" 
proxyCredentialType="None"        realm="" />       <message 
clientCredentialType="UserName" algorithmSuite="Default" />      </security>    
 </binding>     Is there any settings to be done in the server side ?  With 
RegardsAjit  

-----------------------------------------------------------

To stop getting this e-mail, or change how often it arrives, go to your E-mail 
Settings.
http://groups.msn.com/mumbaiusergroup/_emailsettings.msnw

Need help? If you've forgotten your password, please go to Passport Member 
Services.
http://groups.msn.com/_passportredir.msnw?ppmprop=help

For other questions or feedback, go to our Contact Us page.
http://groups.msn.com/contact

If you do not want to receive future e-mail from this MSN group, or if you 
received this message by mistake, please click the "Remove" link below. On the 
pre-addressed e-mail message that opens, simply click "Send". Your e-mail 
address will be deleted from this group's mailing list.
mailto:[EMAIL PROTECTED]

Reply via email to