use jaxrs api instead of cxf