Convert XML file to Java Object

Im trying to load an xml file and convert it to a java object using a flow service and i didn’t find out how to do it.
So what is the solution to this problem ?

Thanks

Still waiting for an answer to my question please !!!

its a shame to looking in the documentation and find nothing about that!

No Docs No Furum help !

AFAIK, there is no OOTB service to convert xml string/file to java object and you need to write a custom java service to do this.

May I know your requirement and need for java object?

Hi,

I would advise you to create a specific document type that matches your Java object/class as closely as possible, so you can create an XML->Document flow service conversion, and then create a Java service to make a Document->JO conversion service.

Depending on the complexity of the original XML file and the target object, some conversions are easier to do explicitly in Flow or Java, and others are easier to do using an XSLT service.

Good luck.

1 Like

Thank you so much, that was helpful!

Thank you