Ok... Can you try to use JAXB ? in 1.1-SNAPSHOT, you can provide a property :

'org.apache.cxf.ws.databinding' with the value 'jaxb'. Add '@XmlRootElement'
to MathHelperImpl, and you'll probably also need to import the
javax.xml.bind.annotation.* to client/server bundles.
If it will work then it will confirm it's an Aegis issue, if not then it
will point to some other DOSGi issue.
cheers, Sergey


Saul Goode wrote:
> 
> Sergey Beryozkin wrote:
>> MathHelperImpl should probably have a field 'String name' as well as a
>> setName(String name) setter and it might make Aegis happy...Saul, can you
>> try it ?
> 
> I tried it (see appended code), but the same exception was thrown on the
> server. The call to getName() already works. But the call to
> isGreaterZero(int) causes the exception.
> 
> Greetings,
> Saul
> 
> 
> New source of MathHelperImpl:
> 
> package passobject.impl;
> import passobject.interfaces.MathHelper;
> 
> public class MathHelperImpl implements MathHelper {
>     String name = "MyMathHelperWithSetter";
>     public void setName(String name) { this.name = name; }
>     public String getName()          { return name; }
> 
>     public boolean isGreaterZero(int number) { return number > 0; }
> }
> 
> 
> 
> 

-- 
View this message in context: 
http://www.nabble.com/-DOSGi--Server-side-proxy-doesn%27t-work-correctly-tp25365318p25379808.html
Sent from the cxf-user mailing list archive at Nabble.com.

Reply via email to