|
From: Rob R. <rob...@ur...> - 2003-12-19 03:33:10
|
Michael - it sounds like you want to have the classes that handle web service requests loaded by Spring? As you mention, it's most likely not possible to do this in Axis. If you're not forced to use Axis, you could try the standard edition of Glue from TheMindElectric (free for most uses, according to their website). Glue allows you to specify a factory for loading objects, and it's very straightforward to use the Spring BeanFactory for loading objects to handle web service requests. And that particular BeanFactory can be configured specifically for your web services. It's a very nice, clean integration. Invoking web services is also significantly easier to do in Glue. If you can switch to Glue, give it a shot, I can find some sample code too if you need it. Rob ----- Original Message ----- From: "Michael Young" <sp...@on...> To: <Spr...@li...>; <Spr...@li...> Sent: Thursday, December 18, 2003 4:27 PM Subject: [Springframework-developer] Spring and axis > I wonder if anyone has integrated axis into Spring Framework, or > if the gurus can shed some lights on this? > > We are building a web application with some UI components, but most > of the interfaces are Web Services. We are using Spring and Axis. > The problem is Axis needs its own servlet so that it knows which > web services classes to call when a web services request comes in. > > So for the axis servlet (and my web services classes that get called > it), I can only get hold of the application wide application context > from Spring framework. I can't seem to have an axis servlet specific > Spring application context. > > It seems one should be able to use Spring to handle web services > requests as well. Spring can just delegate the requests to some > controllers, and the controllers will invoke Axis? > > Any thoughts? Thanks! /Michael. > > > ------------------------------------------------------- > This SF.net email is sponsored by: IBM Linux Tutorials. > Become an expert in LINUX or just sharpen your skills. Sign up for IBM's > Free Linux Tutorials. Learn everything from the bash shell to sys admin. > Click now! http://ads.osdn.com/?ad_id=1278&alloc_id=3371&op=click > _______________________________________________ > Springframework-developer mailing list > Spr...@li... > https://lists.sourceforge.net/lists/listinfo/springframework-developer > |