Hello,

My name is Adrián Toporcer and I am a student from the Computer Engineering Faculty of Barcelona (Spain). I am doing my final course project and it involves Axis2. I would be grateful whether you could answer my doubt or whether, at least, you could tell me where
is it answered. However I have not found the answer anywhere.

I need a web service that can be invoked from a PHP script (actually, it is a script integrated in the Moodle platform) without waiting for the result. The task of the web service consists in writing in a database so there is no result at all. This means that the web service call should be done in an asynchronous way, but from the PHP's web
service API(NuSOAP) it is not possible to make this kind of invocations.

I have found the next statement relative to Axis2: "Web services implementation invocation within the engine can be done either synchronously or asynchronously.", so I thought there should be a way to do it without worrying about the technology from which
the call is made, but configuring Axis2 or the web service directly.

Actually I developed a web service that creates a thread which does the "hard work", so the web service ends almost immediately. However, it seems that when two users call the web service simultaneously the first call does not end properly. Maybe it is something related with Tomcat's thread pool and how it cleans the resources used by the threads
that have already ended.

Can you tell me how should I proceed to make this asynchronous call to the web service?

I hope that you understood my problem despite my poor english. Thank you for your time.

Adrián.

Reply via email to