XML Deserialization

What data type should I use with the XML data type?

Comments

  • To create a data structure from an XML payload or schema and deserialize the response into that type, follow these steps:

    1. In a designer folder, select 'Create Datatypes/Integration'.

    2. Choose 'Create Types from XML' under 'XML/JSON/CSV'.

    3. A dialog box will appear where you can name the structure and paste the XML structure that will be received in the response.

    The instructions are similar to those in our "Creating Types from XSD" document. Instead of selecting "Create Types from XSD", choose "Create Types from XML". You can find the detailed guide here: Creating Types from XSD https://documentation.decisions.com/docs/creating-types-xsd

    Note that the data structure created this way is not stored in a database. If database storage is required, we recommend creating a corresponding database structure. Then, map the fields from the XML structure to the database structure and save it. For more information, refer to the following guides:

    - Creating a Database Structure: https://documentation.decisions.com/docs/creating-a-database-structure

    - Mapping Step and List Mapping Step: https://documentation.decisions.com/docs/using-mapping-step

Sign In or Register to comment.