You need to write a custom ServiceObjectSupplier which creates your
service object using your Guice injector (http://ws.apache.org/
axis2/1_1/api/org/apache/axis2/ServiceObjectSupplier.html)

I don't have the code in front of me at the moment but we have
implemented this successfully in our Guice/Axis2 project.

You would also want to write a ServletContextListener so that when
Axis2 is started in your web container, the Guice injector is created
and bound in the servlet context.

You would then retrieve the injector from your servlet context in the
ServiceObjectSupplier when providing the service object to Axis2.

Let me know if you need some further help and I might be able to post
some sample code.

On Aug 20, 5:26 pm, nani <[email protected]> wrote:
> can anybody give me any procedure for integrating my project built on
> juice with axis2
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"google-guice" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to 
[email protected]
For more options, visit this group at 
http://groups.google.com/group/google-guice?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to