Compliance Check Execution
Procedure
-
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. -
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. -
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
- Make sure the edicc.ini is transferred in ASCII mode. The removal of extra carriage-return when transferring the file is required.
-
Finally, if still experiencing problems, try to restart the container
by issuing the command:
docker restart itx-rs