...
The findUserProductionReports() takes several arguments. Arguments left empty are not included in the database query. The arguments are: 1.
- String Userid – i.e "amarx"
...
- String password – i.e. "A_marx"
...
- String schemaVersionNumber – i.e. "2.1"
...
- String federalProcessorCode – i.e. "" or ""
...
- String adfgVesselNumber – i.e. "41444" or ""
...
- String portOfLanding – i.e. "JNU" or ""
...
- String gearCode – i.e. "3" or ""
...
- String processorCode – i.e. "F1234" or ""
...
- String managementProgram – i.e. "" or ""
...
- String reportType – i.e. "G" or ""
...
- Calendar fromDate – i.e. Calendar Object
...
- Calendar toDate – i.e. Calandar Object
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:
...