Connection Information

To perform the requested action, WordPress needs to access your web server. Please enter your FTP credentials to proceed. If you do not remember your credentials, you should contact your web host.

Connection Type

Converting the Web APIs to IIS sub-app – PB Docs 2022 – PowerBuilder Library

Converting the Web APIs to IIS sub-app – PB Docs 2022

Converting the Web APIs to IIS sub-app

After you deploy the two demo applications to the same IIS site,
you will see the following folders generated.

If the folder is not listed under the website, you can refresh the
website first.

Notice that there are two Web APIs (“googlecharts_cloud_API” and
“salesdemo_cloud_API”).

iis_subapp1.png

These two Web APIs must be converted to the IIS
sub-application
, in order to run in the same web site.

Step 1: Create two application pools in IIS.

If there are multiple Web APIs running in the same IIS web site
using the in-process hosting module, each Web APIs must be assigned with
a separate application pool.

To create an application pool in IIS:

  1. Select Application Pools in
    the Connections panel and then
    click Add Application Pool on the
    right panel.

  2. In the Add Application Pool
    dialog box, input a name for the pool and then click OK.

    iis_subapp3.png

  3. Repeat the above steps to create the second application
    pool.

    iis_subapp4.png

Step 2: Convert the Web APIs to sub-application.

You will convert the two Web APIs (“googlecharts_cloud_API” and
“salesdemo_cloud_API”) one by one.

  1. Right click the API sub-folder under the IIS website and then
    select Convert to
    Application
    .

    iis_subapp2.png

  2. In the Add Application dialog
    box, click Select to select the
    application pool you created in Step 1.

    iis_subapp5.png

  3. Repeat the above steps to convert the second API
    folder.

  4. Make sure the two applications use different application
    pools. You can double check and modify by right-clicking the
    sub-application and then selecting Manage
    Application
    > Advanced
    Settings
    > Application
    Pool
    .

    iis_subapp6.png


Document get from Powerbuilder help
Thank you for watching.
Was this article helpful?
Subscribe
Notify of
guest
0 Comments
Oldest
Newest Most Voted
Inline Feedbacks
View all comments
0
Would love your thoughts, please comment.x
()
x