Questions tagged [xjc]

XJC is a JAXB tool for compiling XSD (XML Schema) to Java source code.

XJC is a JAXB tool for compiling XSD (XML Schema) to Java source code.

687 questions
0
votes
1 answer

Getting access to the model, the xjc compiler uses to generate java code from schema, without writing my own plugin

Just a little background: I have a wsdl and schema files with a lot of hierarchy, meaning there are a lot of import/include tags in the schema. I have a netbeans project and used wsimport to generate the client code. I’m successfully calling the…
0
votes
1 answer

Error while creating JAXB classes from WSDL

First of all,I have just started working on web services and I am stuck in the first step i.e creating the java classes from the provided wsdl/xsd . I am running the following ant task to create java classes and wrapp them up in the jar file in the…
bloomwood
  • 21
  • 6
0
votes
1 answer

Using XJC with XMLCatalog using relative paths

I use XJC and now I want to use XMLCataloges which refers to other cataloges. The problem is that it should be able to use relative paths instead of absolute paths when referencing to other cataloges. This catalog is placed in project1 and should…
0
votes
1 answer

Jaxb and unordered set with separate lists for every element

I have a xml schema with a sequence. In this case all x's must occur before all y's. That is not what i want. So i tried…
user558213
  • 69
  • 1
  • 4
0
votes
1 answer

XJC Multi files already defined error when there's no duplicated type

I'm using xjc command to compile some XSD files and generate the classes for me. But I'm having an weird issue. When I compile passing only one file to it, it compiles fine. But when I pass the dir to compile everything it says that a type is…
Augusto
  • 1,039
  • 1
  • 14
  • 29
0
votes
1 answer

Spring-WS - How to enable MTOM with JAXB using Maven plugin

Two questions about generating JAXB objects. What is the difference when the Jaxb is configured as shown in the two examples. Using Maven org.jvnet.jaxb2.maven2
ziggy
  • 14,901
  • 61
  • 181
  • 273
0
votes
1 answer

xjc and tons of episode files

I've been trying to use JAXB-RI and it's xjc to generate classes for my XSDs (when I say my XSDs, I mean horribly done XSDs. More on that later). The first problem I have is, I only have two total namespaces in the entire set up. Despite that, the…
Josh Winkler
  • 157
  • 11
0
votes
1 answer

Why does my build fail when using the jaxws-maven-plugin?

From what I have read, I believe that XJC arguments are used to customize the o/p Java file . We have used these inside the jaxws-maven-plugin . I had an issue with the 'MaskingClassLoader' not being found which resolved on adding the jaxb-xjc jar .…
Aravind A
  • 8,747
  • 4
  • 34
  • 44
0
votes
1 answer

xjc inverse package name order

I run the following command java -jar "C:\Program Files\eclipse\plugins\org.jvnet.jaxbw.eclipse_1.1.0\lib\jaxb-xjc.jar" -d src -catalog xsd\catalog.cat xsd\componentsData.xsd xsd\componentsData.xsd contain the following…
davidbobo
  • 397
  • 5
  • 15
0
votes
1 answer

Can I configure XJC compiler to consume custom XML bindings for inline customization?

For JAXB we could use Inline Customization to adjust schema compiler in some way. This could be done via Schema Binding Declarations (). Any way to make other XML tags (e.g. ActualType, EnumerationValue in example below) work…
Artem Oboturov
  • 4,246
  • 2
  • 25
  • 46
-1
votes
1 answer

How to convert xml data in Java object using JAXB?

I am new in JAXB conversion. My tag is starting with but I need to access data from in tag. Any exact suggestion or Help me if any thing wrong. Also I have tried lot conversion but not getting exact solution.
Rajesh Gupta
  • 68
  • 1
  • 7
-1
votes
2 answers

cXML to java bindings issues

Issue: Unable to create java classes from cXML.dtd using java xjc version I am using is 1.2.032 command used : xjc -dtd cXML.dtd Error : parsing a schema... [ERROR] Property "Name" is already defined. Use to resolve th is…
1 2 3
45
46