This method returns a full landing report record as a string in XML format as defined by the XSD definition for Landing_Report object in landingreport.xsd.
The getLandingReport() takes four arguments: 1.
- String Userid – i.e "amarx"
...
- String password – i.e. "A_marx"
...
- String schemaVersionNumber – i.e. "2.1"
...
- String landingReportID - i.e. "1046"
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.getLandingReport(userid, password, schemaVersionNumber, landingReportID);
So for example, if we clicked on the Report ID 1046 in the eLandings web page:
...
Elandings would call the web service using:
String xml = ws.getLandingReport("amarx", "A_marx", "2.1", "1046");
If the web service call was successful you might see a string containing something like:
...
eLandings would display this error message as:
For the list of potential elandings messages see the elandings codes page and click on Message Codes