Step 5:  Publish services in form of WSDL or RestAPI/JSON

Before publishing your services, make sure that the services are generated to your project. To deploy/publish created services:

  1. Promote services 
  2. Export Project WAR File
  3. Deploy the project 
  4. View JSON Structure of API

Promote services

  1. Go to SSQUARE Toolkit. Select menu PROMOTE SERVICE
  2. Search your service name on a search box
  1. Check PROMOTE box
  1. Click SAVE to save configuration

Export Project WAR File

  1. Go to Java EE tab on the top-right corner of screen
  2. Right click at the project name you want to export WAR file
  3. Select Export > WAR file and browse the location to save file. Then, click Finish to export WAR file.

Deploy the project  

  1. Go to SSQUARE Admin through https://YOURDOMAIN/admin e.g. https://ssq.techberry.com/admin (Google Chrome is recommended)
  2. Select menu Import – Export > Deployment
  3. Browse Project WAR file
  4. Select Target Host (If Any)
  5. Click Upload File. When deployment is successful, the system shows a message “Deploy project has been successfully” and your project name will be listed on a table below deployment section. 

View JSON Structure of API

When your project has been successfully promoted and deployed, you will able to view your JSON Structure of your API via the following URL format 

For example, https://ssq.techberry.com/training/services/getcustinfo?json

The JSON Structure will be displayed as shown below