OK, I re-read the docs and I guess I was using SpringInit because it was in the examples and it appears I really don't need it. So, looking at the docs, it says to put a listener
and a context parm in web.xml.  What web.xml does the docs refer to?
Is it the web.xml associated with Axis2 or do I need an web.xml in my application? Normally in Axis2 a web service does not have a web.xml. If one is needed where does
it go (/ or /WEB-INF/)?
Thanks.

Barry

On 9/10/2011 4:49 PM, robert lazarski wrote:
On Sat, Sep 10, 2011 at 4:27 PM, Barry Hathaway<bhath...@nycap.rr.com>  wrote:
After taking Robert's suggesting of RTFM rather than just following the
examples,
I realized the my ServiceObjectSupplier in services.xml might be incorrect.
I changed it
and nothing changed. I am still not able to have Spring grab my
sadlServer.kbaseRoot
parameter out of Tomcat's context.xml and inject it into my bean.

My services.xml is:

<serviceGroup>
<service name="SadlServiceSpringInit"
class="com.ge.research.sadl.sadlserver.axis.provider.SpringInit">
Its unusual to init Spring in an Axis2 service, most commonly that
would be done as in the docs, via web.xml.



---------------------------------------------------------------------
To unsubscribe, e-mail: java-user-unsubscr...@axis.apache.org
For additional commands, e-mail: java-user-h...@axis.apache.org

Reply via email to