Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

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

Zoho Recruit uses an authentication token, which needs to be generated. For more information on authentication, see https://www.zoho.com/recruit/api.html.

Code Block
languagexml
titleinit
<zohorecruit.init>
	<apiUrl>{$ctx:apiUrl}</apiUrl>
	<authToken>{$ctx:authToken}</authToken>
	<scope>{$ctx:scope}</scope>
	<responseFormat>{$ctx:responseFormat}</responseFormat>
</zohorecruit.init>
Properties  
  • apiUrl The API URL of Zoho Recruit.
  • authToken:  The encrypted alphanumeric string to authenticate the Zoho credentials.
  • scope:  Specifies the value as zohopeople/recruitapi.
  • responseFormat:  The type of response to return, e.g., application/json

Be sure to import the Zoho Recruit certificate to your ESB client keystore.

You can follow the following steps to import your Zoho Recruit certificate into wso2esb client’s keystore as follows:

  1. View the certificate details (the steps vary by browser) and then export the trust certificate to the file system.

  2. Use the ESB Management Console or the following command to import that certificate into the ESB client keystore. keytool -importcert -file <certificate file> -keystore <ESB>/repository/resources/security/client-truststore.jks -alias "ZohoRecruit"

  3. Restart the server and deploy the Zoho Recruit configuration.

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
Code Block
languagexml
titlemessageFormatters
<messageFormatter contentType="application/jsonp" class="org.apache.synapse.commons.json.JsonStreamFormatter"/>
 Required message builders

...