Hi ,
You can write your functions with Spring/Hibernate as usual and then
possible to expose your Spring services ( a bean) as a web service
using Axis2 -Spring integration.

Basically you have to do following two steps.

1.) Like in any other web framework define the Spring
ContextLoaderListener in the web.xml file in order to load the Spring
ApplicationContext.

2.) Define SpringServletContextObjectSupplier as the
ServiceObjectSupplier for your web service , you can define this in
the axis2 service.xml file.

please refer[1] for details and code samples.

[1] - http://ws.apache.org/axis2/1_5/spring.html

Thanks ,

On Tue, Jul 28, 2009 at 11:16 PM, sam wong<samwon...@gmail.com> wrote:
> hi, everybody,
>
> I hava a web project writing with Spring2.5+Hibernate
> some function need publish as WebService.
> I want to use Axis2 to impletment this.
>
>
> anybody can  give me some Tutorial about this?
>
>
>
> thanks a lot..
>
>
>
> Sam Wong.
>



-- 
Sagara Gunathunga

Blog - http://ssagara.blogspot.com
Web - http://sagaras.awardspace.com/

Reply via email to