[Mono-devel-list] Problems with Webservice client

Jörg Rosenkranz joergr at voelcker.com
Tue Feb 10 10:58:23 EST 2004


Hello,

We're having problems accessing a webservice written in PHP. When we're
doing many requests to this web service we're getting a number of 
different exceptions:

1)
WebException:	The request timed out
Status:		Timeout    	
Stack Trace: 
    in <0x001b6> System.Net.HttpWebRequest:EndGetResponse (System.IAsyncResult)
    in <0x00092> System.Net.HttpWebRequest:GetResponse ()
    in <0x00078> System.Web.Services.Protocols.WebClientProtocol:GetWebResponse (System.Net.WebRequest)
    in <0x000ab> System.Web.Services.Protocols.WebClientProtocol:GetWebResponse (System.Net.WebRequest)
    in <0x0001d> System.Web.Services.Protocols.HttpWebClientProtocol:GetWebResponse (System.Net.WebRequest)
    in <0x00195> System.Web.Services.Protocols.SoapHttpClientProtocol:Invoke (string,object[])
    in <0x0021c> System.Web.Services.Protocols.SoapHttpClientProtocol:Invoke (string,object[])
    ...    
		
2)
WebException:	The request timed out
Status:		Timeout
Stack Trace: 
    in <0x000bb> System.Net.HttpWebRequest:GetRequestStream ()
    in <0x00168> System.Web.Services.Protocols.SoapHttpClientProtocol:Invoke (string,object[])
    in <0x0021c> System.Web.Services.Protocols.SoapHttpClientProtocol:Invoke (string,object[])
    ...
    
3)    	
WebException:	Request error. Return code was: 0
Status:		RequestCanceled
Stack Trace: 
    in <0x0013a> System.Web.Services.Protocols.SoapHttpClientProtocol:ReceiveResponse (System.Net.WebResponse,System.Web.Services.Protocols.SoapClientMessage,System.Web.Services.Protocols.SoapExtension[])
    in <0x0007d> (wrapper remoting-invoke-with-check) System.Web.Services.Protocols.SoapHttpClientProtocol:ReceiveResponse (System.Net.WebResponse,System.Web.Services.Protocols.SoapClientMessage,System.Web.Services.Protocols.SoapExtension[])
    in <0x00249> System.Web.Services.Protocols.SoapHttpClientProtocol:Invoke (string,object[])
    ...
    
4)	
WebException:	Error getting response stream
Status:		ReceiveFailure
Stack Trace: 
    in <0x00076> System.Net.HttpWebRequest:CheckFinalStatus (System.Net.WebAsyncResult)
    in <0x00065> (wrapper remoting-invoke-with-check) System.Net.HttpWebRequest:CheckFinalStatus (System.Net.WebAsyncResult)
    in <0x001c3> System.Net.HttpWebRequest:EndGetResponse (System.IAsyncResult)
    in <0x00092> System.Net.HttpWebRequest:GetResponse ()
    in <0x00078> System.Web.Services.Protocols.WebClientProtocol:GetWebResponse (System.Net.WebRequest)
    in <0x000ab> System.Web.Services.Protocols.WebClientProtocol:GetWebResponse (System.Net.WebRequest)
    in <0x0001d> System.Web.Services.Protocols.HttpWebClientProtocol:GetWebResponse (System.Net.WebRequest)
    in <0x00195> System.Web.Services.Protocols.SoapHttpClientProtocol:Invoke (string,object[])
    in <0x0021c> System.Web.Services.Protocols.SoapHttpClientProtocol:Invoke (string,object[])
    ...    


Our problem is: It's not possible to reproduce this behaviour in a 
simple test case.

Are there any ideas how to track this down? It would already be very 
helpfull to exclude one of the involved components (PHP web service,
Apache, Mono web service client). Are there any tracing facilities?

Any help is highly appreciated because this is a major problem for us.

Thanks,
Joerg.



More information about the Mono-devel-list mailing list