Hi all,
I have just developed "my first webservice" containing two methods.
The first method does a search in a Lucene index and works OK.
The second method builds the Lucene index and does not work OK.

Some context: I use Axis 1.4 and Tomcat 5.5.25 both on Sun Java 1.5.0_13.
(Yes, I am a conservative :-)

I have found the following:
"Does not work OK" has as a symptom that there is no return SOAP-message
(TCPIP-monitor in Eclipse), the index gets built.
A difference between the two methods is that the indexing takes longer to
complete, in the order of fifteen seconds. Before I started the same
process from a JSP and encountered no problems.
I replaced the indexing with a sleep() call of the same duration and the
problem persisted, so the indexing is not at fault.
Another difference is in the parameters, doSearch uses XML documents for
request and response, createIndex Strings. I think this is not relevant.
I kicked the logging up to the debug level and upto the second
AxisServlet.doPost timing log (after the construction of the SOAPPart)
everything seems to be identical for both methods.

I tried letting my method sleep() with incrementing duration from 1 second
with steps of 1 second. 10 seconds returned, 11 did not.

Now my question: What timeout can I set where to allow for the method to
complete? (the client waits long enough anyway:-)

Thanx,
René Mondeel


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to