Versions Compared

Key

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

...

The findUserProductionReports() takes several arguments. Arguments left empty are not included in the database query. The arguments are: 1.

  1. String Userid – i.e "amarx"

...

  1. String password – i.e. "A_marx"

...

  1. String schemaVersionNumber – i.e. "2.1"

...

  1. String federalProcessorCode – i.e. "" or ""

...

  1. String adfgVesselNumber – i.e. "41444" or ""

...

  1. String portOfLanding – i.e. "JNU" or ""

...

  1. String gearCode – i.e. "3" or ""

...

  1. String processorCode – i.e. "F1234" or ""

...

  1. String managementProgram – i.e. "" or ""

...

  1. String reportType – i.e. "G" or ""

...

  1. Calendar fromDate – i.e. Calendar Object

...

  1. 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:

...