Hi.
I have an application which I want to build a small wrapper around and make a
couple of the methods available as a web service in Axis2. I don't know much
about the inner workings of it, but it uses spring, hibernate etc which makes
it abit difficult. It expects the context.xml file as parameter when
instatiated. I have made the web.xml as in the axis2-spring tutorial:
<listener>
<listener-class>org.springframework.web.context.ContextLoaderListener</listener-class>
</listener>
<context-param>
<param-name>contextConfigLocation</param-name>
<param-value>context.xml</param-value>
</context-param>
And as a test I made a jsp file with the following startcode to see that it
worked:
Application ap = new
Application(WebApplicationContextUtils.getWebApplicationContext(getServletContext()));
....
It works as wanted, but as mentioned I want it available as a web service.
Considering all the problems with Spring and Axis2 together what is the easiest
way to make a web service out off it? I have used quite some time trying the
different stuff from the tutorial, but cannot get it to work.
-Joey
_________________________________________________________________
Mest sett denne måneden på MSN Video.
http://video.msn.com/?mkt=nb-no&from=HMTAG