Products Downloads


French version


Comparaison des versions

Légende

  • Ces lignes ont été ajoutées. Ce mot a été ajouté.
  • Ces lignes ont été supprimées. Ce mot a été supprimé.
  • La mise en forme a été modifiée.

...

iTick.setSources(iSrc, *END)



Info
titleNote:

During serialization, only the elements actually added to the dynamic array are taken into account.
This assertion is always true for the order CONV_DATA.
In the case of the serialization of a class of a REST web service, it is necessary to declare the correct JacksonJaxbJsonProvider (the one from the package com.fasterxml.jackson.jaxrs.json) in the configuration file beans.xml.



Extract from the file beans.xml [JacksonJaxbJsonProvider]:

Bloc de code
languagexml
titleBeans.xml
<?xml version="1.0" encoding="UTF-8"?>
<cxf:bus>
  <cxf:properties>
    <entry key="skip.default.json.provider.registration" value="true"/>
  </cxf:properties>
</cxf:bus>

<!-- remplace le org.apache.cxf.jaxrs.provider.json.JSONProvider ou org.codehaus.jackson.jaxrs.JacksonJaxbJsonProvider -->
<bean class="com.fasterxml.jackson.jaxrs.json.JacksonJaxbJsonProvider"/>



Hardis - Haut de page

↑ Top of page

...