An EASA Web Service Client implementation is a computer program that creates requests and receives responses from the EASA Web Service. Interacting with an EASAP via these messages takes the place of the more traditional interaction where a human User modifies inputs and receives output via a web browser. The format of these messages is specified in EASA's WSDL file.
A Web Service Description Language (WSDL) file is an XML-based interface definition which outlines the functionality offered to a web service client implementation. This file describes the service name, message names, parameter inputs, operations, and the structure of returned data.
While an implementation of a Web Service Client for an EASAP may be done in any language, EASA provides two reference implementations in Java. These include,
To use either Java reference implementation, download the WSDL file from the server and use a zip archive manager to save it as service.wsdl into the folder below inside the easa-common.jar package,
If the server name or ip address changes, download and save the new WSDL file to update hostname and port therein.
Alternatively, if a customer wishes to implement a client in another high-level language such as C, C++, VBA, a SOAP reference implementation may be helpful.
SoapUI (https://www.soapui.org/) is a free tool that will create a SOAP implementation and a reference client or a test client automatically from a WSDL file. The resulting file contains XML SOAP messages for the EASA Web Service and may be useful to a developer.
Regardless of the particular implementation, the EASA Server will need to be configured to accept a Web Service Client as a valid User .
Obtain a license from EASA Technical Services that specifically activates the Web Service Client as a valid User (email@example.com).
Finally, configure HTTP authentication records in the two files below.
<webapp ... <security-constraint> ... </security-constraint> ... <security-constraint> <web-resource-collection> <web-resource-name>Tomcat</web-resource-name> <url-pattern>/*</url-pattern> </web-resource-collection> <auth-constraint> <role-name>easaws</role-name> </auth-constraint> <user-data-constraint> <!-- transport-guarantee can be CONFIDENTIAL, INTEGRAL, or NONE --> <transport-guarantee>NONE</transport-guarantee> </user-data-constraint> </security-constraint> <security-role> <role-name>easaws</role-name> </security-role> ... </webapp>
<tomcat-users> ... <role rolename="easaws"/> <user username="user1" password="password1" roles="easaws"/> ... </tomcat-users>
An EASA Server which is has a local Web Service Server will automatically have access to the EASA database.
Register one or more remote Web Service Server's I.P. address(es) on the EASA Server to grant database access to these machines.