[jboss-user] [JBoss Web Services] - How to use @JsonEncoding.

Sergey Krasovsky do-not-reply at jboss.com
Wed May 22 23:36:15 EDT 2013

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


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:

@WebService(serviceName = "Service", name = "Service")
@WebContext(contextRoot = "/root")
@RemoteBinding(jndiBinding = "/ejb3/Service")
@SOAPBinding(style = SOAPBinding.Style.RPC)
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.


Reply to this message by going to Community

Start a new discussion in JBoss Web Services at Community

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.jboss.org/pipermail/jboss-user/attachments/20130522/5d35445b/attachment.html 

More information about the jboss-user mailing list