jaxb2
JAXB 2.0 Validation not working
i am working on JAXB 2.0 and currently struck on the validation part as its not working as expected. below is the validation code[详细]
2023-01-29 11:43 分类:问答Question about Jaxb 2.x SchemaGen
i am trying to generate schema using jaxb from my exisitng POJO classes and till now its working fine now i have a require开发者_如何转开发ment where i need to declare a attribute type is my XSD but t[详细]
2023-01-29 01:28 分类:问答how to avoid inheritance when using JAXB schemagen?
I\'m using JAXB annotations and schemagen maven plugin to create an xsd. I need to process that xsd with wsdl2py to create a Python\'s client. But as I have inheritance in my classes, schemagen create[详细]
2023-01-28 21:17 分类:问答How to marshal a JAXB class instance as its superclass
Is it possible to marshal a JAXB annotated class instance as its superclass (which is also a JAXB annotated class)?[详细]
2023-01-26 10:07 分类:问答How to transform exceptions into return codes using Spring-WS?
I\'m currently facing a problem with error codes and messages using Spring WS. We are using Spring WS 2.0 with a JAXB2 binding and the @Endpoint and @PayloadRoot annotations for convenience.[详细]
2023-01-25 08:19 分类:问答Is schema necessary for JAXB usage?
I have an xml file which I want to unmarshal. It is a very simple file with very well defined structure. Do I still need a xml schema to use JAXB? If so开发者_如何学Go what is the other option? What a[详细]
2023-01-22 17:27 分类:问答JAXB Naming Collision Salesforce Integration
I\'m attempting to integrate with Sal开发者_开发问答esforce using MyEclipse. The wizard fails because of a naming collision on a complex type \"DescribeLayout\". I need to write a JAXB binding file to[详细]
2023-01-21 02:32 分类:问答JAXB: how to marshall map into <key>value</key>
The question is about JAXB Map marshalling - there is plenty of examples on how to marhsall a Map into a structure like follows:[详细]
2023-01-20 06:31 分类:问答JAXB :: Validation of XML during Unmarshalling
JAXB Generated classes only capture the structural information from the XML schema that is used to generate the classes, but they ignore any additional constraints on the data e.g allowed set of valu[详细]
2023-01-18 16:43 分类:问答ClassCastException in casting DTMManagerDefault into DTMManager during maven jaxb codegen
I\'m having a strange problem when trying to run a maven build that uses the jaxb2 plugin to do JAXB codegen (see stacktrace below). The best that I can figure is that there\'s some implementation of[详细]
2023-01-18 01:32 分类:问答