AS2 Installation
After the installation of Lobster_data, all the necessary components are available, but make sure that you have licenced the AS2 service and have activated (commented out) the relevant section in the configuration file ./etc/factory.xml.
<
Call
name
=
"addService"
>
<
Arg
>com.ebd.hub.services.as2.As2Service</
Arg
>
<
Arg
>etc/as2.xml</
Arg
>
</
Call
>
The configuration file ./etc/as2.xml already contains a segment that is using an HTTP server Main Server. This HTTP server is a prerequisite for the operation of the AS2 service and will automatically be started with the start of Lobster_data. Following the relevant segment of configuration file ./etc/as2.xml.
<
Call
name
=
"setContext"
>
<
Arg
>Main Server</
Arg
>
<
Arg
>/partner/*</
Arg
>
<
Arg
>/AS2Retrieve/*</
Arg
>
</
Call
>
The context of the HTTP server to be used is already specified in this file with /partner/* and /AS2Retrieve/*. By using wildcards, it is possible that additional subpaths are added.
This setting allows you (or your communication partner) to access the AS2 service under the following address.
http://<URL or IP of Integration Server>/partner/AS2Retrieve/ |
The entries in the configuration file can be extended as required. If you want to add another HTTP server, see the Admin Console documentation for more information.
If you want to use a DMZ server, no additional installation is required for the AS2 service on the DMZ server. In this case, the firewall of the DMZ server must only be configured to automatically forward requests from a specific partner to a particular IP and port number of the previously described internal HTTP server.
The above-shown URL is correct for a standard installation. If you are not sure about the ports (the standard port is 80 and does not have to be specified in the address), you will find them in the following entry under menu item HTTP/Info in the Admin Console.
HttpServer Main Server [Start]
Listeners:
SocketListener1@0.0.0.0:8080 [Stop]
SunJsseListener2@0.0.0.0:443 [Stop]
This results in the following URLs.
http://<URL or IP of Integration Server>:8080/partner/AS2Retrieve
https://<URL or IP of Integration Server>:443/partner/AS2Retrieve