Trying to convert DESADV from XML to EDIFACT D96a?

Comments

3 comments

  • Avatar
    David S

    Sorry! I hadn't yet discovered this:

     

    https://support.edifabric.com/hc/en-us/sections/360001507831-Code-Library?page=2#articles

     

     

    0
    Comment actions Permalink
  • Avatar
    Admin

    Hi,

    The XML of DESADV reflects the DESADV itself. The GenerateEdifactInterchange XML is the XML representation of the GenerateEdifactInterchange operation on the API. They are two different objects and you can deserialize one onto the other.

    The GenerateEdifactInterchange contains groups, which themselves contain messages, such as DESADV.

    You'll need to either

    - iterate through each separate DESADV XML and deserialize it to DESADV object

    or

    - Deserialize the whole GenerateEdifactInterchange to object and iterate through the DESADV objects

    1
    Comment actions Permalink
  • Avatar
    David S

    Many thanks for confirming/clarifying that - really appreciate it.

    0
    Comment actions Permalink

Please sign in to leave a comment.