Re: [AXIS2] Anyone using spring with axis2 ?
Aha! >From this info below, I see that I need different handler classes for different service styles - that's more than I knew before! And it seems as though such classes are available out there somewhere, perhaps? We are currently using com.workingmouse.webservice.axis.SpringBeanRPCProvider for rpc/encoded services - I need to find similar classes for all the otherservice styles. If anyone has some nice reliable pre-written classes, or information on where to find them, any advice would be greatly appreciated! Cheers Tracey Matthew Hannay wrote: > > > As a starting point you need to write a Spring handler > class ... Depending on the Type of service you are > providing RPC/literal, document/literal, > document/wrapped this class will be different let me > know what type and I'll send you some example code. > > Also in your WSDD service you need to specify: > * provider="handler" and > * set a paramater for the handler class and > * set a parameter for the springBeanClass > > do somthing like >provider="Handler" > style="document" > use="wrapped" > wsdlFile="/PropertyValidation.wsdl" > xmlns:bcccs="myclassname.au"> > value="http://conveyancesearch.brisbane.qld.gov.au"/> > value="PropertyValidation"/> > value="bcc.sde.webservice.handler.SpringBeanDocumentProvider"/> > value="bcc.sde.webservice.conveyance.IPropertyValidation"/> > > . > > > > Your custom handler will extend one of the classes in > org.apache.axis.providers.java package proberably > RPCProvider or MsgProvider > and specify > > private String serviceClassName; > private String springBeanName; > > the same as the parameters in the WSDD > > Hope this helps as a start > matt > -- View this message in context: http://www.nabble.com/-AXIS2--Anyone-using-spring-with-axis2---tf453259.html#a13946029 Sent from the Axis - User mailing list archive at Nabble.com. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: [AXIS2] Anyone using spring with axis2 ?
:) Paul wanna integrate Spring into Axis2. So he came up with this code. You can get a good idea outof it and change it according to your requirement. Remember users can implement MessageReceivers anyway they wanted. Saminda trebor iksrazal wrote: Thanks for the reply Saminda - this is what I need and I'm going to try and use it. However, this code does not seem to be in the current subversion trunk. Anyone know why? iksrazal --- Saminda Abeyruwan <[EMAIL PROTECTED]> wrote: Hi Iksrazal, Paul Fremantle has done a greate work in integrating Spring framework to Axis2. You can find more info in http://marc.theaimsgroup.com/?l=axis-dev&m=112866697704950&w=2 Saminda trebor iksrazal wrote: Hi all, We have an app that uses the Spring framework. We now need to have web services with axis2 v .92 - particularly based off of the EchoNonBlockingDualClient example in the axis2 user guide. Question: Can anyone point me to examples or documentation using Axis2 with Spring? Googling didn't turn up much. iksrazal "None are more hopelessly enslaved than those who falsely believe they are free. -- Goethe" __ Yahoo! Mail - PC Magazine Editors' Choice 2005 http://mail.yahoo.com "None are more hopelessly enslaved than those who falsely believe they are free. -- Goethe" __ Yahoo! FareChase: Search multiple travel sites in one click. http://farechase.yahoo.com
Re: [AXIS2] Anyone using spring with axis2 ?
Thanks for the reply Saminda - this is what I need and I'm going to try and use it. However, this code does not seem to be in the current subversion trunk. Anyone know why? iksrazal --- Saminda Abeyruwan <[EMAIL PROTECTED]> wrote: > Hi Iksrazal, > > Paul Fremantle has done a greate work in integrating > Spring framework to > Axis2. You can find more info in > http://marc.theaimsgroup.com/?l=axis-dev&m=112866697704950&w=2 > > Saminda > > trebor iksrazal wrote: > > >Hi all, > > > >We have an app that uses the Spring framework. We > now > >need to have web services with axis2 v .92 - > >particularly based off of the > >EchoNonBlockingDualClient example in the axis2 user > >guide. > > > >Question: Can anyone point me to examples or > >documentation using Axis2 with Spring? Googling > didn't > >turn up much. > > > >iksrazal > > > >"None are more hopelessly enslaved than those who > falsely believe they are free. -- Goethe" > > > > > > > > > >__ > >Yahoo! Mail - PC Magazine Editors' Choice 2005 > >http://mail.yahoo.com > > > > > > > > "None are more hopelessly enslaved than those who falsely believe they are free. -- Goethe" __ Yahoo! FareChase: Search multiple travel sites in one click. http://farechase.yahoo.com
Re: [AXIS2] Anyone using spring with axis2 ?
Hi Iksrazal, Paul Fremantle has done a greate work in integrating Spring framework to Axis2. You can find more info in http://marc.theaimsgroup.com/?l=axis-dev&m=112866697704950&w=2 Saminda trebor iksrazal wrote: Hi all, We have an app that uses the Spring framework. We now need to have web services with axis2 v .92 - particularly based off of the EchoNonBlockingDualClient example in the axis2 user guide. Question: Can anyone point me to examples or documentation using Axis2 with Spring? Googling didn't turn up much. iksrazal "None are more hopelessly enslaved than those who falsely believe they are free. -- Goethe" __ Yahoo! Mail - PC Magazine Editors' Choice 2005 http://mail.yahoo.com
Re: [AXIS2] Anyone using spring with axis2 ?
As a starting point you need to write a Spring handler class ... Depending on the Type of service you are providing RPC/literal, document/literal, document/wrapped this class will be different let me know what type and I'll send you some example code. Also in your WSDD service you need to specify: * provider="handler" and * set a paramater for the handler class and * set a parameter for the springBeanClass do somthing like http://conveyancesearch.brisbane.qld.gov.au"/> . Your custom handler will extend one of the classes in org.apache.axis.providers.java package proberably RPCProvider or MsgProvider and specify private String serviceClassName; private String springBeanName; the same as the parameters in the WSDD Hope this helps as a start matt --- trebor iksrazal <[EMAIL PROTECTED]> wrote: > Hi all, > > We have an app that uses the Spring framework. We > now > need to have web services with axis2 v .92 - > particularly based off of the > EchoNonBlockingDualClient example in the axis2 user > guide. > > Question: Can anyone point me to examples or > documentation using Axis2 with Spring? Googling > didn't > turn up much. > > iksrazal > > "None are more hopelessly enslaved than those who > falsely believe they are free. -- Goethe" > > > > > __ > Yahoo! Mail - PC Magazine Editors' Choice 2005 > http://mail.yahoo.com > /* ** Matthew Hannay (B.Inf t, B.eng.se) Ph: 0409046619. SSH ANGUS (IDENT: DQH) "Ben Braggie" 239 Yarrowlea Road, Pinkett, Glen Innes, NSW, 2370. Ssh! Where Breeding the Future is no Secret. http://www.sshangus.com.au/ * * */ Do you Yahoo!? The New Yahoo! Movies: Check out the Latest Trailers, Premiere Photos and full Actor Database. http://au.movies.yahoo.com
[AXIS2] Anyone using spring with axis2 ?
Hi all, We have an app that uses the Spring framework. We now need to have web services with axis2 v .92 - particularly based off of the EchoNonBlockingDualClient example in the axis2 user guide. Question: Can anyone point me to examples or documentation using Axis2 with Spring? Googling didn't turn up much. iksrazal "None are more hopelessly enslaved than those who falsely believe they are free. -- Goethe" __ Yahoo! Mail - PC Magazine Editors' Choice 2005 http://mail.yahoo.com