Unknown macro: {next_previous_links}
Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

Version 1 Current »

A REST service is a Web Service implemented in the REST (representational state transfer) architecture style. You can create REST service artifacts using the G-Reg Publisher, and view them in the G-Reg Store as explained below.

Adding a REST service using a WADL

Follow the steps below to create the REST service in WSO2 G-Reg.

  1. Log in to the G-Reg Publisher using the following URL and admin/admin credentials: https://<G-REG_HOST>:<G-REG_PORT>/publisher
  2. Click the Add button of the SOAP Service box as shown below.
    click Add button
  3. Select the Add a Rest Service using a "WADL" option as shown below.
    add a WADL
  4. Click Continue.
  5. Enter the details of the service which you want to create as shown in the example below.
    enter details
  6. Click Create
  7. Refresh the screen to view the new WSDL artifact you added as shown below.

Adding a SOAP service using a Swagger

Follow the steps below to create the REST service in WSO2 G-Reg.

  1.  Log in to the G-Reg Publisher using the following URL and admin/admin credentials: https://<G-REG_HOST>:<G-REG_PORT>/publisher
  2. Click the Add button of the SOAP Service box as shown below.
    click Add button
  3. Select the Add a Rest Service using a "Swagger" option as shown below.
  4. Click Continue.
  5. Enter the details of the service which you want to create as shown in the example below.
  6. Click Create
  7. Refresh the screen to view the new WSDL artifact you added as shown below.

Adding a REST service manually

Follow the steps below to manually create a REST service.

  1. Log in to the G-Reg Publisher using the following URL and admin/admin credentials:  https://<G-REG_HOST>:<G-REG_PORT>/publisher
  2. Click the Add button of the SOAP Service box as shown below.
    click Add button

  3. Select Add a SOAP Service manually option as shown below.
  4. Click Continue.
  5. Enter the details of the service which you want to create as shown in the example below.
    fill details in creating manually
  6. Click Create
  7. Refresh the screen to view the new WSDL artifact you added as shown below.
  • No labels