jaxb2
maven jaxb2 plugin - can I avoid jwsdp dependencies
I have a maven build which auto-generates a set JAXB java source files. The basic config is <plugin>[详细]
2023-03-15 02:50 分类:问答Why is JAXB trying to bind Spring's ApplicationContext?
I\'m working on a Spring application that exposes a JAX-WS web service. The web service implementation has a dependency on some spring-managed object in my service-layer and looks like this[详细]
2023-03-14 15:29 分类:问答Spring 3, ReST, @ResponseBody and @ExceptionHandler
I have been trying to get exception handling working in my simple Spring 3 based ReST web services. Based on everything I have seen, there is a bug that prevents this from working automatically with t[详细]
2023-03-11 10:47 分类:问答Jaxb - Namespace problems with SchemaGen and java.util.Map
When a class contains a java.util.Map, SchemaGen generates an xsd with a namespace on the Map elements.However when the marshaller generates xml from the same class no namespace is present.[详细]
2023-03-10 20:24 分类:问答JAXB and Entity Class validation
For a REST-Webservice i had to validate incomingData. Is is possible to 开发者_Go百科validate incoming data with an Entity Class and JAXB , instead of xsdBelow is a link of how you could validate Data[详细]
2023-03-10 11:03 分类:问答Can I use the JAXB2 Basics plugin with the MOXy JAXB implementation from EclipseLink? If not, is there an alternate?
Ultimately I want JAXB to generate hashCode and equals implementations. The JAXB2 Basics plugin does that and it works fine for the Metro JAXB implementation in the JDK but fails with MOXy.[详细]
2023-03-08 13:11 分类:问答JAXB2 map xsd:restrictions as subclasses and (un)marshall xsi:types
I have been doing a lot of research trying to figure this out, but am still unsuccessful. I have a number of XSD that follow this schema:[详细]
2023-03-07 10:56 分类:问答How can I marshal Objects from a Socket without closing it? (JAXB Marshaling from Inputstream via Socket)
I have tried in many different ways to send my xml document over a socket connection between a server and a client without closing the socket after sending (keep the outputstream open, for sending ano[详细]
2023-03-02 15:07 分类:问答create nested structure using JAXB notations
<?xml version=\'1.0\'?> <info> <contract> <symbol>IBM</symbol> <sectype>STK</sectype>[详细]
2023-02-21 21:45 分类:问答JAXB marshaller & unmarsharller
I use JAXB marshaller to marshal an object to System.out as following: JAXBContext ctxt = JAXBContext.newInstance(CONTEXT);[详细]
2023-02-21 12:12 分类:问答