System.InvalidCastException in SoapMessageAccessClientExtension in SoapHttpClientProtocol.Serialize method
From: Ben Reid (benedict_at_memia.com)
Date: 02/26/04
- Next message: Veke: "HTTP 403 error"
- Previous message: Jan Tielens: "Re: Accessing a webservice methods, withoug adding web reference"
- Next in thread: Sami Vaaraniemi: "Re: System.InvalidCastException in SoapMessageAccessClientExtension in SoapHttpClientProtocol.Serialize method"
- Reply: Sami Vaaraniemi: "Re: System.InvalidCastException in SoapMessageAccessClientExtension in SoapHttpClientProtocol.Serialize method"
- Messages sorted by: [ date ] [ thread ]
Date: 26 Feb 2004 07:23:22 -0800
Hi,
We have a system which calls a number of third party web services (all
on the same remote server). The system passed all tests and went into
production with real-world users and very soon (within an hour or so)
we started intermittently receiving the following exception message
when calling web services:
System.InvalidCastException: Specified cast is not valid.
at {OurNameSpace}.WebServices.SoapMessageAccessClientExtension.StoreRequestMessage(SoapMessage
message)
at {OurNameSpace}.WebServices.SoapMessageAccessClientExtension.ProcessMessage(SoapMessage
message)
at System.Web.Services.Protocols.SoapMessage.RunExtensions(SoapExtension[]
extensions)
at System.Web.Services.Protocols.SoapHttpClientProtocol.Serialize(SoapClientMessage
message)
at System.Web.Services.Protocols.SoapHttpClientProtocol.Invoke(String
methodName, Object[] parameters)
The system then continued to return this error message on every Web
service call until the App context (executing inside a COM+ DLLHOST
process) is reset, after which it continues correctly for another
indefinite period and falls over again.
We have been investigating this for a couple of weeks now, and it
appears that none of the parameters we are passing in cause the
application to throw this exception in any repeatable manner. (ie the
cause is environmental and cumulative.)
Has anyone else seen anything like this?
[To complicate matters further, our application runs on .NET 1.1, but
the web services are hosted on .NET 1.0].
Your comments are appreciated in advance.
Cheers
Ben Reid
- Next message: Veke: "HTTP 403 error"
- Previous message: Jan Tielens: "Re: Accessing a webservice methods, withoug adding web reference"
- Next in thread: Sami Vaaraniemi: "Re: System.InvalidCastException in SoapMessageAccessClientExtension in SoapHttpClientProtocol.Serialize method"
- Reply: Sami Vaaraniemi: "Re: System.InvalidCastException in SoapMessageAccessClientExtension in SoapHttpClientProtocol.Serialize method"
- Messages sorted by: [ date ] [ thread ]
Relevant Pages
|