axis-java-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "robert lazarski" <robertlazar...@gmail.com>
Subject Re: [jira] Created: (AXIS2-3258) Extend Spring support to accept proxies
Date Mon, 12 Nov 2007 13:02:55 GMT
Hmm, the Service needs to be a concrete class, ie, have an
implementation and not be just an interface. Any bean dependencies,
such as for beans that have methods you invoke, have been known to
work in some cases as interfaces by avoiding them be spring proxies.
This particular problem is that there is no proxy class that  This
issue has come up several times before and have had solutions, please
search the forums.

HTH,
Robert

On Nov 12, 2007 5:47 AM, BJuma <belal.juma@injazatdatasystems.com> wrote:
>
> Hi,
> I am facing this problem now. My understanding to fix it is by having an
> interface for the current webservice and defining it in the services.xml as
> a ServiceClass, like this:
>
>  <service name="SpringAwareService">
>     <description>
>         simple spring example
>     </description>
>         <parameter
> name="ServiceClass">spring.SpringAwareServiceInterface</parameter>
>     <parameter
> name="ServiceObjectSupplier">org.apache.axis2.extensions.spring.receivers.SpringServletContextObjectSupplier</parameter>
>     <parameter name="SpringBeanName">springAwareService</parameter>
>     <operation name="getValue">
>         <messageReceiver
> class="org.apache.axis2.receivers.RawXMLINOutMessageReceiver"/>
>     </operation>
>
> </service>
>
> Is this sufficient? I tried it but not worked. Did I miss any thing or
> should I try certain fix build.
>
> Thanks,
>
>
>
> JIRA jira@apache.org wrote:
> >
> > Extend Spring support to accept proxies
> > ---------------------------------------
> >
> >                  Key: AXIS2-3258
> >                  URL: https://issues.apache.org/jira/browse/AXIS2-3258
> >              Project: Axis 2.0 (Axis2)
> >           Issue Type: New Feature
> >           Components: deployment, wsdl
> >     Affects Versions: 1.3
> >             Reporter: Oleg Efimov
> >             Priority: Blocker
> >
> >
> > ServiceBuilder presently requires service class's byte code to obtain
> > method parameter names. This won't work with proxies, thus making Spring
> > support really feeble.
> >
> > I propose introducing additional service.xml parameter, namely
> > ServiceInterface, to enumerate service methods and parameter names.
> >
> > --
> > This message is automatically generated by JIRA.
> > -
> > You can reply to this email to add a comment to the issue online.
> >
> >
> > ---------------------------------------------------------------------
> > To unsubscribe, e-mail: axis-dev-unsubscribe@ws.apache.org
> > For additional commands, e-mail: axis-dev-help@ws.apache.org
> >
> >
> >
>
> --
> View this message in context: http://www.nabble.com/-jira--Created%3A-%28AXIS2-3258%29-Extend-Spring-support-to-accept-proxies-tf4592976.html#a13703440
> Sent from the Axis - Dev mailing list archive at Nabble.com.
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: axis-dev-unsubscribe@ws.apache.org
> For additional commands, e-mail: axis-dev-help@ws.apache.org
>
>

---------------------------------------------------------------------
To unsubscribe, e-mail: axis-dev-unsubscribe@ws.apache.org
For additional commands, e-mail: axis-dev-help@ws.apache.org


Mime
View raw message