Questions tagged [jaxb-xew-plugin]

Is a JAXB plugin that applies @XmlElementWrapper annotation while removing unnecessary collection wrappers.

JAXB plugin that apples @XmlElementWrapper annotation while removing unnecessary collection wrappers.

8 questions
12
votes
2 answers

Cxf Wsdl2java null entry in list disappear

I've created a webservice client with cxf with the xew plugin for list unwrapping The problem is that the null in the list disappear. E.g.: I have an Request with a List with Strings and a null-entry When the request now arrives at the…
jmattheis
  • 10,494
  • 11
  • 46
  • 58
11
votes
1 answer

How to use JAXB extensions on xjc command line

I'm working on a related issue here, but I have a separate question. Perhaps it's all part of the same problem, but it seems different. Because of the problems I'm having running XJC through the Ant task and through the facade, I'm now trying to…
David M. Karr
  • 14,317
  • 20
  • 94
  • 199
8
votes
4 answers

com.sun.tools.xjc.Plugin: Provider not a subtype

I have a CXF JAX-RS app being built with Maven. I'm working on converting it to Gradle, but using the Ant XJC task. The current build uses a couple of extensions, one of which is a copy of the "element wrapper" plugin, and the other is the…
David M. Karr
  • 14,317
  • 20
  • 94
  • 199
6
votes
2 answers

how to get maven-jaxws-plugin to generate @XmlElementWrapper on classes generated from xsd?

I am using maven-jaxws-plugin to generate java classes from my wsdl, schema. It is not generating the @XmlElementWrapper annotation in the generated classes. From this post I understand I nedd to use the jaxb-xew-plugin but am unable to get it…
4
votes
1 answer

wsimport/xjc command line plugins

I have just successfully used a wsimport/xjc plugin named xew with maven, using this post. Using Maven for this at my company is currently not an option, so I'm trying to use the wsimport utility from the Java 7 SDK. How do I tell wsimport to…
Dormouse
  • 1,617
  • 1
  • 23
  • 33
1
vote
0 answers

Custom JAXB Binding Causes Namespace Error

History I am generating Java classes from a schema not under my control. I am exporting it to a jar that is a dependency for a web service project. This works correctly. I attempted to add a custom binding to marshal and unmarshal xs:date and…
JHarnach
  • 3,944
  • 7
  • 43
  • 48
1
vote
5 answers

Jaxb Xew Plugin in Maven JAX WS

mvn generate-sources [INFO] Scanning for projects... [INFO] [INFO] Using the builder org.apache.maven.lifecycle.internal.builder.singlethreaded.SingleThreadedBu ilder with a thread count of 1 [INFO] [INFO]…
jzqa
  • 843
  • 10
  • 18
0
votes
2 answers

Java XSD - using a custom collection type

My Issue I am using the jaxb2 maven plugin to convert my XSD defined objects into Java classes. My goal is to set a list type element in my XSD (such as xs:choice unbound), to LinkedList instead of using the default ArrayList type. I am using the…
E.S.
  • 2,733
  • 6
  • 36
  • 71