cxf-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Sergey Beryozkin <sberyoz...@gmail.com>
Subject Moving jaxrs:client to its own target schema namespace
Date Wed, 06 Feb 2013 17:10:30 GMT
Hi,

I'm doing some preparation for moving the JAX-RS client runtime code 
into its own module (2.8.0-SNAPSHOT only), and I found I had to move 
jaxrs:client to its own target namespace, so now it is

http://cxf.apache.org/jaxrs for jaxrs:endpoint
http://cxf.apache.org/jaxrs-client for jaxrs:client

One thing is that I extracted some common definitions out of the 
existing jaxrs.xsd and moved it into jaxrs-common.xsd. The latter still 
uses "http://cxf.apache.org/jaxrs", with jaxrs.xsd now "including" it to 
minimize the side-effects for users who only write server endpoints, 
while the new jaxrs-client.xsd imports it. The common schema only 
defines model and schemaList types.

I'm not 100% sure it is the right approach, include the common schema in 
the server schema, and import it into a new client one, it seems OK, the 
updates are less that they would have to with the common types imported 
at the server schema too...

The comments are welcome
thanks, Sergey



Mime
View raw message