Hi!
I'm a newbie to web services and I'm trying to build an application using
CXF.
Here is my problem:
The entities I use are represented by interfaces in my client application.
Let's call them "client interfaces".
There are 3 big components in my application:
The client (in Eclipse RCP), the web services part, and a server.
In the server, some work is done by another team.
I design the client interfaces, the client and the web services part.
I give the client interfaces to the other team. This team returns me objects
implementing my interfaces.
The problem is that when I create a SEI with methods returning instances of
classes implementing my interfaces (or lists of those classes), CXF builds
new classes which have the same methods as my interfaces but which do not
implement them, and the resulting web service uses those classes.
So I made some utility classes to convert "services" objects to "interface"
objets and "interface" objects to "services" objects. There are lots of
methods in my interfaces, so I used the reflection API when it was possible.
But I'm really wondering: is there any "cleaner" way to do all that stuff?
Is there a way to avoid the objects conversion?
Thanks a lot in advance!
Chris
-- 
View this message in context: 
http://www.nabble.com/Newbie-to-web-services-%3D%3E-objects-conversion----tf4941627.html#a14146152
Sent from the cxf-user mailing list archive at Nabble.com.

Reply via email to