Hi there,
I have a problem that I just can't solve. When my Xfire client
serializes my object it encodes one its properties as an interface,
which it correct. The problem is that on the service side Xfire
creates a Proxy object, which causes problems when the property is
passed to other methods downstream. It's quite a complex set up,
nothing like the simple examples in the docs.
I've read you can specify the concrete class for a given interface by
setting a property com.foo.Bar.implementation = com.foo.BarImpl. The
class BeanType looks for properties like this or else it generates a
Proxy. We're using pure Spring config so I cannot do this in the
<service> in services.xml. I saw this page (http://docs.codehaus.org/
display/XFIRE/Spring,+XBean,+Servlets+and+more) and realized you can
set properties on a ServiceBean. However when BeanType tries to the
find the implementation it cannot, as it's looking at
MessageContext's service which is not the ServiceBean.
What is the best way to inject the new properties from the
ServiceBean into the MessageContext's service? Do I have to use
services.xml?
Many thanks,
Nick.
---------------------------------------------------------------------
To unsubscribe from this list please visit:
http://xircles.codehaus.org/manage_email