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 > <service name="PropertyValidation" > provider="Handler" > style="document" > use="wrapped" > wsdlFile="/PropertyValidation.wsdl" > xmlns:bcccs="myclassname.au"> > <parameter name="wsdlTargetNamespace" > value="http://conveyancesearch.brisbane.qld.gov.au"/> > <parameter name="wsdlServiceElement" > value="PropertyValidation"/> > <parameter name="handlerClass" > value="bcc.sde.webservice.handler.SpringBeanDocumentProvider"/> > <parameter name="springBeanClass" > value="bcc.sde.webservice.conveyance.IPropertyValidation"/> > > ..... > </service> > > > 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]