Sergey Krasovsky [
https://community.jboss.org/people/skrasovsky] created the discussion
"How to use @JsonEncoding."
To view the discussion, visit:
https://community.jboss.org/message/818989#818989
--------------------------------------------------------------
Hi.
My environment:
- JBoss 5.x
- JBoss native ws 3.1.2 GA
I don't understand how to use @JsonEncoding.
I have the web service class with annotations:
@Stateless
@WebService(serviceName = "Service", name = "Service")
@WebContext(contextRoot = "/root")
@RemoteBinding(jndiBinding = "/ejb3/Service")
@SOAPBinding(style = SOAPBinding.Style.RPC)
*@JsonEncoding*
@Remote(Service.class)
public class ServiceEJB
When i go to the url
http://host:port/root/ServiceEJB?wsdl
http://host:port/root/ServiceEJB?wsdl, i get the xml answer.
Anybody know how to get json answer?
It should be another url, may be with "?js" (like in the metro jax ws) or i use
@JsonEncoding not correctly.
Thanks.
--------------------------------------------------------------
Reply to this message by going to Community
[
https://community.jboss.org/message/818989#818989]
Start a new discussion in JBoss Web Services at Community
[
https://community.jboss.org/choose-container!input.jspa?contentType=1&...]