Questions tagged [cxf-xjc-plugin]

cxf-xjc-plugin is a maven plugin to automate the XJC tool for compiling XSD (XML Schema) to Java source code as part of a maven build, usually as part of the "generate-sources" phase.

36 questions
0
votes
0 answers

cxf-xjc-plugin not generating java classes due to collision in ObjectFactory class

I got no class generated with cxf-xjc maven plugin for Java due to the following error: [ERROR] Two declarations cause a collision in the ObjectFactory class. line 21 of …
OPMendeavor
  • 430
  • 6
  • 14
0
votes
1 answer

Maven build-helper plugin not including sources in multi module project

I am generating webservice artifacts with cxf-xjc and attempting to add them to source with the build-helper plugin. This was working properly when it was used in a single Maven project, but now that I've moved into a multi-module project, the…
Half_Duplex
  • 5,102
  • 5
  • 42
  • 58
0
votes
1 answer

How can I disable .xsd validation in cxf-xjc-plugin?

I'm trying to generate Java sources from XSD files form a provider (I cannot change those files) files with the maven cxf-xjc-plugin. Evertyhing was working fine, but I need to add a new .xsd file. This file includes other .xsd files inside and…
4lberto
  • 505
  • 6
  • 14
0
votes
1 answer

CXF to generate strings instead of enums

I have for example a WSDL definition construct like this:
seba.wagner
  • 3,800
  • 4
  • 28
  • 52
0
votes
0 answers

s4s-elt-character: Non-whitespace characters are not allowed in schema elements other than 'xs:appinfo' and 'xs:documentation'

I am getting the below exception when validating unsignedInt in xsd. I am not able to validate the string 'abce' with unsignedInt type. Please help me regarding this.
Ramkumar
  • 154
  • 5
  • 11
0
votes
0 answers

XJC compilation - root element is same in two schemas

I have two xsd files with same root element name.Ideally,it is preferred to have two unique names in these 2 xsd files. PROBLEM FACED: If I want the JAXB to create classes with unique identifictaion ,how can we acheive through external binding? Can…
sskumar86
  • 161
  • 1
  • 2
  • 13
1 2
3