Reliability problem
Elise D <[email protected]> Thu, 31 Oct 2002 04:31:53 -0800
| Newsgroups | gmane.comp.windows.devel.soap.general |
|---|---|
| Message-ID | <SOAP%[email protected]> |
It's not a "how to" question, as i have been developping webservices for
the last 6 past months.
I have a java client calling a .net webservice.
It works fine at 80%. The other 20%, i don't know why, but
suddenly i have an error without explanation.
I now have a trace of the Sub Application_Error(ByVal
sender As Object, ByVal e As EventArgs) :
for those 20% of errors .NET tells : "Request format is
unrecognized.
at
System.Web.Services.Protocols.WebServiceHandlerFactory.Core
GetHandler(Type type, HttpContext context, HttpRequest
request, HttpResponse response)
at
System.Web.Services.Protocols.WebServiceHandlerFactory.GetH
andler(HttpContext context, String verb, String
url, String filePath)
at System.Web.HttpApplication.MapHttpHandler
(HttpContext context, String requestType, String path,
String pathTranslated, Boolean useAppConfig)
at System.Web.MapHandlerExecutionStep.Execute()
at System.Web.HttpApplication.ExecuteStep
(IExecutionStep step, Boolean& completedSynchronously)
"
I would understand if my java code whas not correct, but
if i send again the SAME request (same SOAP
content, i made a SOAP trace to be sure), it will work !!!
So the code to generate the soap message is ok. And the problem
is before to read the soap message, when the request is recieved.
I noticed that i have more "chance" to get this error when
the IIS server has just been started and the java client
makes the first call. This first call will often get an
error, but all the other call won't get any error. And
suddenly, after 15 min of inactivity, a new error will be
caught (just an example, the process is a bit random and
the error not so easy to reproduce whenever you want).
I have put this code on the production environment, and this
represents 10 errors /day, it's too much
Why is the request format not valid only 20% of the time ? it should
be either always ok or always bad !!!
Is there anybody here that has an information that could
be helpfull ? I would really appreciate
regards
Elise
ps : sorry for my coarse english again. i do by best ;-)
You can read messages from the SOAP archive, unsubscribe from SOAP, or subscribe to other
DevelopMentor lists at http://discuss.develop.com.