F
fm
We have some static information load from web.config during the
application_start of our web service.
However, if there is an error during this startup, the consumer gets back an
ugly error message starting like: Client found response content type of
'text/html; charset=utf-8', but expected 'text/xml'. The request failed with
the error message: --
Errors in the Global class seem to step outside of the Soap Fault standards.
What is worse is that even though there is an error on Startup, the Web
Service actually starts up. But of course the code in Application_Start did
not complete so now the Web Service is running in error.
Am I correct or am I doing something wrong?
fm
application_start of our web service.
However, if there is an error during this startup, the consumer gets back an
ugly error message starting like: Client found response content type of
'text/html; charset=utf-8', but expected 'text/xml'. The request failed with
the error message: --
Errors in the Global class seem to step outside of the Soap Fault standards.
What is worse is that even though there is an error on Startup, the Web
Service actually starts up. But of course the code in Application_Start did
not complete so now the Web Service is running in error.
Am I correct or am I doing something wrong?
fm