cxf-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Sergey Beryozkin <sberyoz...@gmail.com>
Subject Re: problems using cxf webclient within a REST service
Date Fri, 09 Jan 2015 14:47:46 GMT
Hi

Transformation feature will deal with updating namespaces.
In CXF 3.0.x client and server JAXBContexts are not intersecting...
may be we should update the Transformation feature to add attributes too

Sergey

On 09/01/15 04:35, Aaron Titus wrote:
> Hello Everyone,
>
> I have a REST service, created with CXF 2.7.11.  Within this service, it is
> necessary to call out to another REST service, belonging to one of our
> company vendors. I would like to use WebClient for this, but I am running
> into some problems. The vendor REST service has a completely different
> namespace, and also a different schemaLocation which is mandatory.  As far
> as I know, the schemaLocation needs to be added as a directive to the
> marshaller.  This is problematic because the webclient is picking up the
> jaxb context from the REST service in which it is embedded. I have searched
> all over but there is very little documentation I could find on WebClient,
> and nothing at all related to how you configure the marshaller inside of
> it. Any help or suggestions would be greatly appreciated.
>
> Thanks, Aaron
>


-- 
Sergey Beryozkin

Talend Community Coders
http://coders.talend.com/

Blog: http://sberyozkin.blogspot.com

Mime
View raw message