Hello,
I raise an issue within the DWR JIRA (
http://directwebremoting.org/jira/browse/DWR-429) about a problem when trying to expose an OSGi service configured with Spring through DWR support.
It seems that this problem is caused by Spring DM proxy in front of OSGi service since problem occurs when trying to get type for corresponding bean with the getType method of Spring Bean Factory.
this.beanClass = beanFactory.getType(beanId);
Using the following code solves the problem:
this.beanClass = beanFactory.getBean(beanId).getClass();
Thierry