map « jaxb « Java Enterprise Q&A





1. multiple JAXB serializations for one class?    stackoverflow.com

i have a Class A that is used as a result for a JAX-RS method. I want to marshal A into xml in two different ways. Is there a way to give ...

2. NetBeans 6.8 - JAXB: why are string mapped as complex types    forums.netbeans.org

I'm writing a simple webservice using netbeans 6.8. I've noted that the simple method ; @WebMethod(operationName = "doTest") public String doTest(@WebParam(name = "parameter") String parameter) { generates two complex types definition. ...

3. Need help while using mapping JAXB generated class to custom classes    coderanch.com

Hi, I have some old classes (which I cannot change) . While JAXB generates it own classes , I need to populate my old classes with the values of JAXB generated classes . Where do I do that ? I have the mapping code ready : public void mapValues(MyCreditCard myCC) { JAXBCreditCard cc = new JAXBCreditCard(); cc.setCardName(myCC.getName()); ..... } I want ...

4. JAXB mapping of HashMap    coderanch.com

5. Problem while generating JAXB mapping classes for remotely place XSDs    coderanch.com

I am working on a one way Notification web service, using WSAD 5.1 with JDK 1.3 version. I have to generate the JAXB mapping classes for the XSDs of the service which are remotely located (with http urls) I am using ant script XJC target to generate the classes, but the jaxb:binding tag does not recognize the schema location with the ...