This site contains the documentation that is relevant to older WSO2 product versions and offerings.
For the latest WSO2 documentation, visit https://wso2.com/documentation/.

Configuring GoToWebinar Operations

To use the GoToWebinar connector, add the <gotowebinar.init> element in your configuration before carrying out any other GoToWebinar operations. 

GoToWebinar supports OAuth 2.0 for authentication of user accounts and authorization of applications. For more information on authentication, see https://developer.citrixonline.com/page/authentication-and-authorization.

init
<gotowebinar.init>
    <apiUrl>{$ctx:apiUrl}</apiUrl>
    <accessToken>{$ctx:accessToken}</accessToken>
    <organizerKey>{$ctx:organizerKey}</organizerKey>
	<grantType>{$ctx:grantType}</grantType>
    <userId>{$ctx:userId}</userId>
    <password>{$ctx:password}</password>
	<clientId>{$ctx:clientId}</clientId>
</gotowebinar.init>
Properties 
  • apiUrl: The API URL of GoToWebinar.
  • accessToken: The encrypted alphanumeric string to authenticate the GoToWebinar credentials.
  • organizerKey: The unique numeric key returned with the access token to identify the individual organizer.
  • grantType: The type of grant used to get the access token. Defaults to "password".
  • userId: The e-mail address used to sign up for the GoToTraining account.
  • password: The password used to sign in to the GoToTraining account.
  • clientId: The client ID of the application (i.e. API key).

Additional information

Ensure that the following Axis2 configurations are added and enabled in the <ESB_HOME>\repository\conf\axis2\axis2.xml file.

Required message formatters
messageFormatters
<messageFormatter contentType="application/vnd.citrix.g2wapi-v1.1+json" class="org.apache.synapse.commons.json.JsonStreamFormatter"/>
Required message builders
messageBuilders
<messageBuilder contentType="application/vnd.citrix.g2wapi-v1.1+json" class="org.apache.synapse.commons.json.JsonStreamBuilder"/>

Now that you have connected to GoToWebinar, use the information in the following topics to perform various operations with the connector.