Compliance Check Execution

Procedure

  1. Test the map with valid data by issuing this command:
    curl -X PUT -d "" http://localhost:8080/itx-rs/v1/maps/direct/.x12.compliance.mapsandschemas.ccx12?input=1;File;/data/maps/x12/compliance/data/x12_valid.txt
    If you get a message Map completed successfully, go to /tmp/itx-rs/data/x12Compliance/x12 and locate a file that ends with .in extension. If not, check the map folders to make sure they are created in the correct location.
  2. Test the map with invalid data by issuing this command:
    curl -X PUT -d "" http://localhost:8080/itx-rs/v1/maps/direct/.x12.compliance.mapsandschemas.ccx12?input=1;File;/data/maps/x12/compliance/data/x12_invalid.txt
    If you get a message Map completed successfully, go to /tmp/itx-rs/data/x12Compliance/x12/reject folder and locate a file that ends with .log.
  3. If you see the following message, that means there is something wrong with the configuration.

    Return code/text: -99999/Adapter not found structure failed. DLL path: ./ Check the edicc.ini file to make sure that it correctly specifies the edisvu shared library

    1. Make sure the edicc.ini is transferred in ASCII mode. The removal of extra carriage-return when transferring the file is required.
    2. Finally, if still experiencing problems, try to restart the container by issuing the command:
      docker restart itx-rs