Overview

Appeon Server open interfaces give users the opportunity to manage the client, user sessions and transactions for their Appeon-deployed applications. Appeon Server open interfaces are encapsulated as the server-side component and Web service in the Appeon Server, therefore, you can call them in the following different ways:

  • Method 1: Call the interface through the non-autoinstantiated NVO provided by Appeon Workarounds PBL. This method allows you to call the interface in the Appeon-deployed application only.

    • To call the open interfaces in Appeon Server installed to the .NET IIS server, you will need to call the interface through the .NET component (AppeonDotNetComponent).

    • To call the open interfaces in Appeon Server installed to the Java application server (such as JBoss, WebLogic, WebSphere, JEUS, or EAServer), you will need to call the interface through the EJB component (EJBObject).

    To use the .NET or EJB component provided by Appeon and make the code effective, you will need to

    1. add the Appeon Workarounds PBLs to your PowerBuilder application; and then

    2. deploy your PowerBuilder application to Appeon Server the same way you would deploy a normal PowerBuilder application.

  • Method 2: Call the open interface Web service provided by Appeon Server. This method allows you to call the interface from applications written in PowerScript, Java, or C# (but not Appeon-deployed application).

    The Web service provided by Appeon Server is a standard Web service, therefore, you can call the interface in the PowerBuilder application, Java application, C# application etc. Authentication is required when calling this Web service; the user name and password is the same as that used for accessing the Appeon Server AEM.

    Only the following interfaces (not all of the Appeon Server open interfaces) are provided as Web service: getAllClients, getAllSessions, getSessionbyID, getSessionCount, and getServerVersion. The interface name is case-sensitive when called by the other programming language rather than PowerScript.

    To call and make the interface effective in the PowerBuilder application, you will need to generate the client proxy object via the .NET Web service engine.

    • URL for the open interface Web service in Appeon Server installed to the Java application server (such as JBoss, WebLogic, WebSphere, JEUS, or EAServer): http://AppeonServerName:Port/servlet/AppeonService?wsdl

    • URL for the open interface Web service in Appeon Server installed to the .NET IIS server: http://AppeonServerName/servlet/AppeonService.asmx