

AESWebLink Example Interface Models
[Developers Center Home]
AESWebLink will function in any environment where an application can launch a web browser session. The only technical requirement is that the Enabled Application can initiate an HTTP POST request to AESWebLink containing the required system variables. This could be accomplished by a hidden html form with the data or any other means the developer of the Enabled Application wishes to use.
Two examples of how this link could be accomplished are shown below:
Enabled Application is a browser based application
If the enabled application is a web browser based application, AESWebLink can be integrated in the following manner. The web application builds a hidden form that contains the data to be sent to AESWebLink. The user of the Enabled Application will then be able to submit that form to AESWebLink. The form submission to AESWebLink must be a POST request, as GET requests have size limitation that may hinder the performance of AESWebLink.
Example
<form name="SED" action="https://www.aesdirect.gov/weblink/weblink.cgi" method="POST">
<input type="hidden" name="wl_app_ident" value="TEST001">
<input type="hidden" name="wl_app_name" value="WebLink Test Application">
.
(additional data elements omitted from this example)
.
<input type="hidden" name="SRN" value="TESTSHIPMENT">
<input type="hidden" name="POE" value="1305">
<input type="hidden" name="MOT" value="10">
.
(additional data elements omitted from this example)
.
<input type="hidden" name="isLine1" value="Y">
<input type="hidden" name="IT1_1" value="OS">
.
(additional data elements omitted from this example)
.
<input type="submit" value="Create SED">
</form>
Enabled Application is a Windows Desktop application
It is possible for a Windows desktop application to use AESWebLink. In this case, the application could write an html file to the local PC that includes the form to be submitted to AESWebLink and then open the html file in the web browser on the PC. The form can then be submitted to AESWebLink.