|
Dwr can´t find exposed method in wrapped service: msg#00104java.dwr.user
Hi, I have a wrapper to a class and expose this wrapper class to dwr. The problem is that dwr can´t find the exposed method. The config is like this: g2kstore-conf.xml -------------------- <bean id="consultaDocLogic" class="es.g2k.g2kstore.domain.servicio.impl.ServicioConsultaDocImpl"> <property name="consultaDocDao" ref="consultaDocDao"/> <property name="mailSender" ref="mailSender"/> <property name="mailData" ref="mailData"/> <property name="paginado" value="20"/> </bean> <!-- Transactional proxy para los servicios de aplicaciones --> <bean id="consultaDocLogicProxy" class="org.springframework.transaction.interceptor.TransactionProxyFactoryBean"> <property name="transactionManager" ref="transactionManager"/> <property name="target" ref="consultaDocLogic"/> <property name="transactionAttributes"> <props> <prop key="get*">PROPAGATION_REQUIRED, readOnly</prop> <prop key="*">PROPAGATION_REQUIRED</prop> </props> </property> </bean>. <bean id="dwrConsultaDocLogic" class="es.g2k.g2kstore.domain.servicio.impl.DwrServicioConsultaDocImpl"> <property name="consultaDocSrv" ref="consultaDocLogic"/> </bean> <bean id="dwrConsultaDocLogicProxy" class="org.springframework.transaction.interceptor.TransactionProxyFactoryBean"> <property name="transactionManager" ref="transactionManager"/> <property name="target" ref="dwrConsultaDocLogic"/> <property name="transactionAttributes"> <props> <prop key="get*">PROPAGATION_REQUIRED, readOnly</prop> <prop key="*">PROPAGATION_REQUIRED</prop> </props> </property> </bean> applicationContext.xml (Here we have a bean, dwrConsultaDocSrvSecure, wrapping a trasactional services and with interceptors to verify acegi authetication, why dwr can´t find exposed method in it?, if i expose consultaDocSrv to dwr all work ok) ----------------------- <bean id="consultaDocSrv" class="es.g2k.g2kstore.domain.servicio.factory.FabricaServicio" factory-method="obtieneServicio"> <constructor-arg value="consultaDocLogicProxy" /> </bean> <bean id="dwrConsultaDocSrv" class="es.g2k.g2kstore.domain.servicio.factory.FabricaServicio" factory-method="obtieneServicio"> <constructor-arg value="dwrConsultaDocLogicProxy" /> </bean> <bean id="dwrConsultaDocSrvSecure" class="org.springframework.aop.framework.ProxyFactoryBean"> <property name="target" ref="dwrConsultaDocSrv"/> <property name="interceptorNames"> <idref local="dwrSecurityInterceptor"/> </property> </bean> Any hints?. Thanks Danny
|
|
| <Prev in Thread] | Current Thread | [Next in Thread> |
|---|---|---|
| Previous by Date: | I can't pass parameters to DWR POST request, Francisco González Guillén |
|---|---|
| Next by Date: | Reverse Ajax reconnecting, matan-FP6co0geiwbQT0dZR+AlfA |
| Previous by Thread: | I can't pass parameters to DWR POST request, Francisco González Guillén |
| Next by Thread: | Re: Dwr can´t find exposed method in wrapped service, Joe Walker |
| Indexes: | [Date] [Thread] [Top] [All Lists] |
| News | FAQ | advertise |