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.
- String Userid – i.e
...
- "amarx"
...
- String password – i.e.
...
- "A_
...
- marx"
...
- String schemaVersionNumber – i.e.
...
- "2.
...
- 1"
...
- String productionReportID - i.e.
...
- "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:
...
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:
...
eLandings would display this error as:
For the list of potential elandings messages see the elandings codes page and click on Message Codes