![]() maybe that is the problem? Leo Hi,Leo I put the on the 2 classes this time, but it still has the same problem, it get exceptions in the server.log, as you can see the object to XML works fine, but to json, it has exceptions. _Leo van den Berg wrote on 20:11:_ Hi, I don't see a on your rest-service. Here is my code: package import import .XmlRootElement import .XmlElement import .XmlAttribute = "book") public class Book implements java.io.Serializable ![]() Any insight would be appreciated! List of Version that I use jboss-seam-2.1.2 jboss-4.2.2.GA resteasy-jaxrs-1.2.1.GA I leave the web.xml and component.xml as default When I try to browse the URL: it turns out HTTP Status 403 - Access to the requested resource has been denied And in the server.log,it seems it can't find the .MappedNamespaceConvention, but I have already included that in my project. I follow the document and example but still I have this problem. ![]() I am playing with jboss seam, resteasy to expose REST interface, I can get data in form of XML and text, but there is a problem when I'm trying to get the data in form of Json.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |