0 Replies Latest reply on Dec 7, 2011 4:49 PM by j1.jonathan.m.clarke.dsl.pipex.com

    RESTEasy is making me cry into my soup

    j1.jonathan.m.clarke.dsl.pipex.com

      Hi Guys,


      I'm really hoping you can help me. I have posted a couple of times recently, but no-one has responded. I have a problem, whereby I can't unmarshal a Java object, having sent it as XML in post method from one .ear, and then received using a @Consumes(application/xml) annotated method on the destination .ear. Whatever I do, I cannot get the changed fields in the object instance to make it across to the destination .ear reconstructed object. I can see that the default constructor is being called, and hence any field initialisation is being invoked, but that means that the fields only have their starting values, not the ones sent from the origin .ear. I have spent eons checking every example I can find, and my code matches what I'm finding, although most example on the net are trivial, and tend to specify string passing. All my string passing using RESTEasy works fine, it's just the XML unmarshalling that doesn't. I have Seam 2.2.0.GA and JBoss 4.2.3.GA. Is it by any chance that I need to go to Seam 2.2.2.Final? I can't find any obvious declarations in the the bug reports. I could really do with someone's help, before I go and upgrade.


      Hope someone is out there who can help.


      Jonathan.