Json support in JAX-WS JBoss eap 6
Hi,
I have a web service developed using metro and supporting Json Binding
@BindingType(JSONBindingID.JSON_BINDING)
@WebService
public class myJSONInterface extends AbstractmyInterface{
public myJSONInterface() throws Exception {
super();
}
}
I have seen that JAW-RS supports Json in JBoss, but how to resolve this Binding using JBoss Jax-ws.
Thanks.
Responses
If you are doing JAX-WS why do you want to use JSON? JSON Support on CXF is provided as part of the RESTful services (JAX-RS) See [1] and [2]. If you want to use JAX-RS in EAP then you need to use the RESTEasy implementation in JBoss.
[1] http://cxf.apache.org/docs/json-support.html
[2] http://cxf.apache.org/docs/jax-rs-data-bindings.html#JAX-RSDataBindings-JSONsupport
Welcome! Check out the Getting Started with Red Hat page for quick tours and guides for common tasks.
