...
eLandings allows users to save a landing report in one of three states. These report status types are: ¿
- 1 = NOT SUBMITTED
...
- 8 = FINAL REPORT SUBMITTED
...
- 16 = REPORT DELETED
If a production 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. However, unsubmitted reports must be parsable from XML into a production_report object. This is the minimum requirement for an unsubmitted report save. All other report status¿ will trigger the report to be saved in the traditional report tables and columns.
The saveProductionReport() 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 productionReportInXmlDataFormat – 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. saveProductionReport(userid, password, schemaVersionNumber, productionReportInXmlDataFormat);
Or
...