axis-c-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Subra A Narayanan" <>
Subject Urgent: Specifying scope in Axis2c
Date Thu, 11 Oct 2007 22:59:00 GMT
Hello everyone,

I have run in to an issue which I can't seem to figure out. In my init
method in the service skeleton I call the initialization routine of one of
the libraries that my web service uses. I notice in my logs that the library
initialization function is being called 8 times. This corresponds to the
number of apache processes that are running.

This is causing a lot of issues because I was under the impression that my
web service init function is called only once when the first request comes
in. My library sets up some resources which I want to share among all
processes. Can this be done?

In Axis2/Java there is a way to specify scope for the webservice (request,
session, application) in the services.xml file? can something similar be
done in Axis2/c? I took a look at the axis2c code and saw that there is an
enum called axis2_scope defined. Is it used for the same purpose as in

Thanks for any help.


View raw message