I was working with the DWR binding that ships with Tuscany.

I ran into a method of mine that accepts a parameter of an interface type.

While trying to figure how to call this method through DWR, I came
across this docmentation on the DWR website
http://directwebremoting.org/dwr/server/dwrxml/converters/bean
(section: Mapping Java classes to JavaScript classes)

I followed the steps exactly but it did not work (all the time getting
exceptions in marshalling).

Then I ran into some posts (sorry I lost the links) that talk about a
bug in dwr2.0.1 with regards to accepting interface-type parameters.
When I replace the jar with the latest (2.0.5), it works just fine.

I just wanted to point this out to whoever else is using the current
Tuscany distribution and DWR (since I have already wasted so much time
debugging this) and also request that a later version of DWR be
included in the next release.

Thanks,
Rohan

Reply via email to