Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

eLandings allows users to save a landing report in one of four states. These report status types are:
¿ 1 = NOT SUBMITTED
¿ 4 = INITIAL REPORT SUBMITTED
¿ 8 = FINAL REPORT SUBMITTED
¿ 16 = REPORT DELETED
If a landing report is saved with a ReportStatus = 1 (NOT SUBMITTED), the data is stored in a clob in the database. This allows users to save unsubmitted reports in an incomplete or incorrect state. All other report status will trigger the report to be saved in the traditional report tables and columns.
When the submitInitialLandingReport() is called, the landing report is validated against final submission business rules. If the report was previously saved in the NOT SUBMITTED as a clob, that data is now deleted. The landing report status is changed to ReportStatus = 4 (INITIAL REPORT SUBMITTED). Finally the data is stored in the database tables.
The submitFinalLandingReport() takes four arguments:
1. String Userid ¿ i.e ¿amarx¿
2. String password ¿ i.e. ¿A_marx¿
3. String schemaVersionNumber ¿ i.e. ¿2.1¿
4. String landingReportInXmlDataFormat ¿ see below for example of long string

In the web service client we might auto generate a data structure by providing the web service url. In eLandings we use Java ¿ JAX-WS and generated a structure called ReportManager.
ReportManagement ws;
¿
¿
String xml = ws. submitInitialLandingReport (userid, password, schemaVersionNumber, landingReportInXmlDataFormat);
Or

<SAMPLEsubmitInitialLandingReport_method_CODEcall_CALL>example.txt

If the web service call was successful you might see a string containing the landing report that you submitted. The Report Status should be changed to 8. So you would see something like this:

<SAMPLEsubmitInitialLandingReport_results_CODEon_SUCCESS>success.txt

If the web service call was unsuccessful you should receive a string containing XML for an empty landing_report structure containing one or more messages documenting errors that were encountered when processing your request. For example you might receive something like:

<SAMPLEsubmitInitialLandingReport_results_CODEon_FAILURE>failure.txt