I have an XSD schema which defines a complex type hierarchy: <xsd:complexType abstract="true" name="Node"> <xsd:complexContent> ...
I have an XSD schema which defines a complex type hierarchy: <xsd:complexType abstract="true" name="Node"> <xsd:complexContent> ...
I am using JAXB to create xml . It seems that an xml element is created with the current variable name, but the upper list object does not want to be ...
Calling SOAP service application throwing the below error only in our pre-prod environment. The code is working in dev and staging. We're completely s ...
Consider the following example XML: When parsing this xml file with standard JAXP APIs (which will often use a Xerces implementation), the "xsd/boo ...
I have a java model class that I need to unmarshall to xml. I am using jaxb. The problem I am facing is that I need empty elements to appear in the ou ...
My Project Manager told me to move all the queries in a xml file (he even made for me), so when the user (via jsp) select the description: "Flusso VLT ...
Hello I have a simple JAXB example class. But while I try to generate an xsd schema to it I am getting a folowing exception The steps I came to thi ...
In src/main/java, I have POJO classes and in src/test/resource I have XML file. I'm writing a Junit test case where I have to parse the XML file into ...
I am trying to generate JAXB classes for the AIXM XSDs, which unfortunately are quite complicated and reference the even more complicated OGC GML 3.2. ...
Problem: I am compiling ONVIF WSDL which uses all capital letter operations names: Here is extract of WSDL: But the generated Java code always ha ...
The code below works perfectly and i am able to get the success value when i remove the namesace xmlns(xmlns="http://w/p-print") from the xml. But whe ...
In my project(which is a spring boot application, and Java 17 is used) I need to call SOAP APIs which I need to use JAX-B. All was good and was workin ...
I want to convert a text file to XML file with a specific structure. I want to separate the text into paragraphs and these paragraphs will get into a ...
I'm working on a project built with Spring Boot (v.2.7.5) with Java 17 that has to handle XML's. It's generating sources from a whole bunch of XSD-fil ...
I have a CXF SOAP service with JAXB marshaller and this is the autogenerated stub class from the wsdl2java utility: When elementList is null, I exp ...
Currently, I am working on a project that uses an XSD file to generate the DTOs. Then, I provide an rest endpoint using the DTOs. Doing so I get an er ...
I am using a dynamic data structure for my project. So instead of a predefined class I am using java.util.LinkedHashMap to store my dynamic data and p ...
Basically I need to build an xml file and then submit the xml request to a restTemplate post action as follows: The xml generated is as follows: ...
In Jaxb 1.0 the xml validation is turned on by calling 'setValidating' on unmarshaller object: In Jaxb 2.0 the validation is enhanced and setting u ...
I have to create an XML file from java object with specific format of my XML file. My xml should look like this. Or like this one. Depends on o ...