Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Comment: Migration of unmigrated content due to installation of a new plugin

This method returns a full production report record as a string in XML format as defined by the XSD definition for Production_Report object in productionreport.xsd.

The getProductionReport() takes four arguments: 1.

  1. String Userid – i.e

...

  1. "amarx"

...

  1. String password – i.e.

...

  1. "A_

...

  1. marx"

...

  1. String schemaVersionNumber – i.e.

...

  1. "2.

...

  1. 1"

...

  1. String productionReportID - i.e.

...

  1. "3408"

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.getProductionReport(userid, password, schemaVersionNumber, productionReportID);
For example: In eLandings, if you were to click on the link for Production report 3408:

<IMAGE>Image Added

eLandings would call the web service using:
String xml = ws.getLandingReport(¿amarx¿, ¿A_marx¿, ¿2.1¿, ¿3408¿"amarx", "A_marx", "2.1", "3408");
If the web service call was successful you might see a string containing a production_report xml object:

<CODE_SAMPLE>getLandingReport_results_on_success.txt

This string can then be parsed using the productionreport.xsd definition for a production_report object into a data object that Java, C#, Visual Basic, etc. can work with in memory.
The eLandings web pages display this data as:

<IMAGE>Image Added

Alternatively, if an error was encountered in the web service while processing your request, you should get a string containing XML for a production_report containing one or more messages elements. These messages will define what error or errors were encountered in the web services.
For example, if your request was for productionReportId=1000 and if that id did not exist in the database, you might receive the following response string from the web service call:

...

eLandings would display this error as:<IMAGE>

Image Added

For the list of potential elandings messages see the elandings codes page and click on Message Codes