Ask a Question related to ASP.NET Web Services, Design and Development.
-
Leor #1
SoapExtension.GetInitializer exception
I am trying to add a soap extension to a web service. I am getting
the following error, and cannot figure out what cast is invalid. I am
using the sample "TraceExtension" class from the msdn web site:
[url]http://tinyurl.com/59qmm[/url]
Any suggestions?
Thanks,
Leor Amikam
An unhandled exception of type
'System.Web.Services.Protocols.SoapException' occurred in
system.web.services.dll
Additional information: System.Web.Services.Protocols.SoapException:
Server was unable to process request. --->
System.InvalidCastException: Specified cast is not valid.
at System.Web.Services.Protocols.SoapReflectedExtensi on.GetInitializer(Type
serviceType)
at System.Web.Services.Protocols.SoapReflectedExtensi on.GetInitializers(Type
serviceType, SoapReflectedExtension[] extensions)
at System.Web.Services.Protocols.SoapServerType..ctor (Type type,
ProtocolsEnum versionsSupported)
at System.Web.Services.Protocols.SoapServerProtocol.I nitialize()
at System.Web.Services.Protocols.ServerProtocol.SetCo ntext(Type
type, HttpContext context, HttpRequest request, HttpResponse response)
at System.Web.Services.Protocols.ServerProtocolFactor y.Create(Type
type, HttpContext context, HttpRequest request, HttpResponse response,
Boolean& abortProcessing)
--- End of inner exception stack trace ---
Leor Guest
-
#32101 [Com]: Exception in unknown on line 0 when throwing exception inside exception handler
ID: 32101 Comment by: dhopkins at DonHopkins dot com Reported By: ceefour at gauldong dot net Status: No... -
SoapExtension logging to SQL
Does anyone have an example of a SoapExtension that writes the incoming SOAP request to a table via SQL? I have tried editing the TraceExtension... -
SoapExtension
Hello, I have a Web Service that is implementing a SoapExtension but when the Webservice is accessed the server returns a 500 Internal Server... -
SoapExtension and SSL
Is there an easy way to determine in a SoapExtension if the transport is HTTPS vs. HTTP other than testing the URL and manually looking for HTTP or... -
SoapExtension for Global Exception handling; but prevent exception from propagating!!
Hi, I wrote a SoapExtension for Global Exception handling in Webservice and it works!!!! Now i want to catch the exception that happen in the...



Reply With Quote

