Overview

PowerServer open interfaces give users the opportunity to manage the client, user sessions and transactions for their Appeon-deployed applications. PowerServer open interfaces are encapsulated as the server-side component and Web service in the PowerServer, 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 PowerServer installed to the .NET IIS server, you will need to call the interface through the .NET component (AppeonDotNetComponent).

    • To call the open interfaces in PowerServer installed to the Java application server (such as JBoss, WebLogic, WebSphere, or JEUS), 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 PowerServer the same way you would deploy a normal PowerBuilder application.

  • Method 2: Call the open interface Web service provided by PowerServer. 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 PowerServer 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 AEM.

    Only the following interfaces (not all of the PowerServer 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 PowerServer installed to the Java application server (such as JBoss, WebLogic, WebSphere, or JEUS): http://AppeonServerName:Port/servlet/AppeonService?wsdl

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