axis-java-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "robert lazarski (JIRA)" <>
Subject [jira] [Commented] (AXIS2-3258) Extend Spring support to accept proxies
Date Fri, 29 Jun 2012 19:50:44 GMT


robert lazarski commented on AXIS2-3258:

I suspect a Spring config issue, attach a sample project  using SpringServletContextObjectSupplier
and maybe we can help. Its been a while but I remember using proxies with axis2 successfully,
defined in the form: 

  <bean id="basicService" class="org.springframework.transaction.interceptor.TransactionProxyFactoryBean"
        <property name="transactionManager"><ref bean="myTransactionManager"/></property>

        <property name="target"><ref bean="basicServ"/></property>     
        <property name="transactionAttributes">                                    
                <prop key="find*">PROPAGATION_REQUIRED,readOnly,timeout_180</prop>


    <!-- Implementation of Basic Service -->                                       
    <bean id="basicServ" class="com.sample.BasicServiceImpl" lazy-init="true">     
        <property name="basicDAO"><ref bean="basicDAO"/></property>    

Where basicService as a spring bean in the code, is an interface implemented by BasicServiceImpl.
If done that way, and by matching correctly the class and bean names carefully as mention
by others in this issue, it should just work. 

> Extend Spring support to accept proxies
> ---------------------------------------
>                 Key: AXIS2-3258
>                 URL:
>             Project: Axis2
>          Issue Type: New Feature
>          Components: deployment, wsdl
>    Affects Versions: 1.3
>            Reporter: Oleg Efimov
>            Priority: Trivial
>             Fix For: 1.3
> 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.
If you think it was sent incorrectly, please contact your JIRA administrators:!default.jspa
For more information on JIRA, see:


To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message