Stadium
  • Home
  • Academy
  • How it works
    • Designer
    • Application Manager
    • Application users and roles
    • Designing applications
    • User API
  • Features
    • Application
    • Create a Form
    • Embedded Files
    • Events
    • Expression Editor
    • Pages
    • Preview
    • Publish
    • Scripts and Event Handlers
    • Session Variables
    • Settings
    • Styles
    • StyleSheet
    • Templates
    • Types
    • Validations Cheat Sheet
  • Connectors
    • Database Connector
    • File System Connector
    • Web Service Connector
  • Controls
    • Button
    • Chart
    • Checkbox
    • Checkbox List
    • Container
    • Data Grid
    • Date Picker
    • Drop Down
    • Flexbox
    • Grid
    • Image
    • Label
    • Link
    • Menu
    • Panel
    • Radio Button List
    • Repeater
    • Table
    • Text Box
    • Upload File
  • Actions
    • Async
    • Call Web Service
    • Decision (If/Else)
    • Display Message Box
    • Download File
    • For Each
    • Java Script
    • Navigate To Page
    • Notification
    • Set Value
    • Variable
    • While
  • Release Notes
    • 6.12.3272
    • 6.12.3270
    • 6.12.3268
    • 6.12.3264
    • 6.11.3223
    • 6.11.3221
    • 6.11.3220
    • 6.11.3218
    • 6.11.3210
    • 6.10.3155
    • 6.10.3151
    • 6.9.3102
    • 6.8.3100
    • 6.7.3096
    • 6.6.3082
    • 6.6.3081
    • 6.6.3080
    • 6.6.3075
    • 6.5.3055
    • 6.4.3036
    • 6.4.3034
    • 6.4.3033
    • 6.3.3019
    • 6.2.2999
    • 6.2.3001
    • 6.1.2990
    • 6.0.2972
    • 6.0.2970
    • 6.0.2969
Powered by GitBook
On this page
  • Connection Editor Properties
  • Function Editor
  • Function Properties

Was this helpful?

  1. Connectors

Web Service Connector

PreviousFile System ConnectorNextControls

Last updated 8 months ago

Was this helpful?

The WebService Connector allows you to consume REST web services.

Do this:

  • import the web service from an OpenAPI definition file, or

  • use the Connection Editor to create the connection manually.



Connection Editor Properties

To add a Connector, click on the Connector button located on the toolbar, then select the Web Service option.

To create the web service connection manually, click the Create Web Service Manually button and provide the following details:

  1. Base URL

    This is the base URL of the web service.

  2. Timeout

    This value corresponds to the duration in seconds before a request to the web service times out.

  3. Authentication

Available options:

  • Anonymous - For web services requiring no authentication.

  • Basic - For web services requiring the HTTP basic method of authentication. Required: username and password.

  • Api Key - For web services requiring authentication through an API key. Required: key name, key value and key location (QueryString/Header/Cookie).

  1. Note: Stadium does not currently support authentication via OAuth2.


Function Editor

A function placeholder is created.

Click on the function name to open the Function Editor:

  1. Method

    Use this dropdown to select the HTTP method type of the web request.

  2. Path

    The URL segment specifying the path and query string parameters of a web request is specified here. Use "{ }" to denote any path parameter having variable values. For example, the path "/pet/{petId}/?filter=cat" will create the path parameter "petId". Path parameters will appear in the Parameters table.

  3. Parameters

    The Parameters table lists the parameters available to be read or set in page controls or Scripts. To add a new parameter, enter the parameter name and location (QueryString/Header/Cookie) into the last row of the Parameters table.

  4. Body Format

    Use this dropdown to select the body content type of the web request. This property is enabled only when the HTTP Method is set to POST or PUT.


Function Properties

  1. Response Format

    Use this dropdown to select the content type of the response received from the web request.

To add a function, click on the relevant Connector's + sign:

Add a Web Service Connector