Hi
I think it's non a DOSGi issue, more likely Aegis binding (used by
default by SOAP proxies) issue. DOSGi itself does not handle the
databindings
Try enable jaxb and add the annotations (as well as import them) as
suggested by Dan
Cheers, Sergey
On 28/09/11 23:05, András Liter wrote:
Hello Sergey,
you were right! I just needed to add the jaxb property on the consumer (and
provider) side and then JAXB handles polimorphism very well! I even didnt
need to put the Xml annotations on my classes.
Thanks for the solution!
András Liter
On Thu, Sep 29, 2011 at 1:21 PM, Sergey
Thanks for the tip, it brought some hope, but it just didnt worked.
The sad thing is that polimorphism doesnt work this way via CXF-DOSGI (as it
does in simple CXF).
2011/9/27 Daniel Kulp dk...@apache.org
On Tuesday, September 27, 2011 2:45:08 PM András Liter wrote:
Hey,
I bumped into the
Can you provide more info please, where do abstract classes come into
the picture ?
Sergey
On 28/09/11 19:12, András Liter wrote:
Thanks for the tip, it brought some hope, but it just didnt worked.
The sad thing is that polimorphism doesnt work this way via CXF-DOSGI (as it
does in simple
Hello Sergey,
Here is the situation simplified:
Let's say I have the following Java types as entities/business objects:
- abstract Shape
- Triangle extends Shape
- Rectangle extends Shape
And let's say I have the following interface implementation to expose via
DOSGI-CXF
public
Hey,
I bumped into the following error during a DOSGI consumer-provider call:
org.apache.cxf.interceptor.Fault: Couldn't instantiate class. null. Nested
exception is java.lang.InstantiationException: null
As it turned out, I got this exception, because I use abstract Java classes
and inheritance
A patch may be needed
Cheers, Sergey
On 27/09/11 13:45, András Liter wrote:
Hey,
I bumped into the following error during a DOSGI consumer-provider call:
org.apache.cxf.interceptor.Fault: Couldn't instantiate class. null. Nested
exception is java.lang.InstantiationException: null
As it
On Tuesday, September 27, 2011 2:45:08 PM András Liter wrote:
Hey,
I bumped into the following error during a DOSGI consumer-provider call:
org.apache.cxf.interceptor.Fault: Couldn't instantiate class. null. Nested
exception is java.lang.InstantiationException: null
As it turned out, I