cxf-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From prud3nt <prud...@hotmail.com>
Subject [jira] CXF service returning interface implemented by multiple objects
Date Tue, 18 Mar 2008 02:14:28 GMT

Hi,

I have been trying to get this working for a couple of days to no avail. I
have a service that returns an interface Widget, this interface has multiple
implementations WidgetType1 and WidgetType2. I have seen some of the
examples which deal with interfaces that use the XmlJavaTypeAdapter, but am
not sure if I am using it properly since i do not just have one
implementation of the interface (UserImpl w/ User). I get null back right
now. Any examples would be greatly appreciated. Thanks.

Attached below is all the code I am using:

http://www.nabble.com/file/p16112384/WidgetService.java WidgetService.java 
http://www.nabble.com/file/p16112384/Widget.java Widget.java 
http://www.nabble.com/file/p16112384/WidgetType1.java WidgetType1.java 
http://www.nabble.com/file/p16112384/WidgetType2.java WidgetType2.java 
http://www.nabble.com/file/p16112384/AnyTypeAdapter.java AnyTypeAdapter.java 
http://www.nabble.com/file/p16112384/Server.java Server.java 
http://www.nabble.com/file/p16112384/WidgetServiceImpl.java
WidgetServiceImpl.java 
http://www.nabble.com/file/p16112384/Client.java Client.java 
-- 
View this message in context: http://www.nabble.com/CXF-service-returning-interface-implemented-by-multiple-objects-tp16112384p16112384.html
Sent from the cxf-issues mailing list archive at Nabble.com.


Mime
View raw message