...
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. findUserProductionReports(userid, password, schemaVersionNumber, federalProcessorCode, adfgVesselNumber, portOfLanding, gearCode, processorCode, managementProgram, reportType, fromDate, toDate);
For example, if we wanted to search for all production reports with a date of landing between 01/10/2010 and 01/20/2010, we would run:
...
Code Block |
---|
<?xml version="1.0" encoding="UTF-8" standalone="yes"?> <production_report_info> <messages> <message severity_desc="ERROR" severity_code="E" msgid="1476">No Production Reports found that match search criteria</message> </messages> </production_report_info> |
For the list of potential elandings messages see the elandings codes page and click on Message Codes
The eLandings web page would display this to the user as:
...