I am trying to convert the WSDL file to a java class and build java XML requests as java objects and trying print in the console using the Xstream lib ...
I am trying to convert the WSDL file to a java class and build java XML requests as java objects and trying print in the console using the Xstream lib ...
I have a problem with parsing json. It has a date for exapmle - "2014-01-07". And when it parses and became to createUserRequest.getBirthday() it cont ...
My program needs to convert an xml file to another xml file compatible with sending invoices through our company program. The compilation of the code ...
I have a XML element with the following content: This is mapped to Java's XMLGregorianCalendar. I need to convert this value in an appropriate jav ...
i have a XML Jaxb class to set with XMLGregorianCalendar type. But we are supposed to set only year in this attribute. If i set it like above its g ...
I have some field, where the xsd has it as an xs:dateTime For some reason, when it was marshalled, it was stored as below. I'm getting this error ...
I have a date as input = 2021-03-12T10:42:01.000Z.... and I want to transform into this format: Basically, it's adding 2hs more. Maybe it's related ...
I had to get the current date, add 20 years, and transferred it in an XML object. No date format is specified, it's all by default : The problem ...
I have an instance of XMLGregorianCalendar with date format as I need an instance of an XMLGregorianCalendar with date format. Is it possible? ...
For eg: we have a List<XMLGregorianCalendar> dates we need to find the latest date in this list. Really appreciate your help! ...
I'm using Apache Camel to build a REST POST endpoint that takes and object and returns another object as JSON: the MyProcessor.java class makes all ...
Using, java.time.Instant and javax.xml.datatype.XMLGregorianCalendar, I'm trying to convert from one to the other without losing precision. Why is th ...
There is an XMLGregorianCalendar object that contains the value "2021-01-18T18:43:26.884Z" (This is its output in toString()). When I try to serialize ...
I have DateTime in this format '2020-11-08T13:05:46.000-07:00' and trying to set the same to XMLGregorianCalendar. it gets automatically converted to ...
My xmlGregorianCalendar value coming as 2020-10-02T13:07:38-06:00 .. I want to pass thisxmlGregorianCalendar value and get the output like 2020-10-02T ...
My pojo class having some field whose datatype is XMLGregorianCalendar. While I am converting the object to json string using GSON the output is ge ...
Using Apache Camel, I'm trying to convert, during a Spring/XML DSL operation, from an inbound XMLGregorianCalender to a ZonedDateTime. I created an @C ...
I want to the output in "2020-05-06T16:58:38.517+00:00" format but got this "2020-05-06T16:58:38.517Z" as my server in in UTC. When I run the appl ...
I have an instance of LocalDateTime. I need to map it XMLGregorianCalendar (using JAXB here) and in the end XML, i would like the time to look like f ...
I have to create the XMLGregorianCalendar object with this date format "YYYY-MM-DDTHH:MI:SS±TZ" e.g. "2015-07-01T17:42:49+04" I have no idea how to d ...