Configuring Simplenote Operations

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 Simplenote Operations

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

Simplenote uses a simple token based authentication system. All methods will require a valid authentication token to process. For more information on authentication, see http://kendersec.github.io/SimpleNote/SimpleNote-API-v2.1.3.pdf.

init
<simplenote.init>
	<authToken>{$ctx:authToken}</authToken>
    <email>{$ctx:email}</email>
    <apiUrl>{$ctx:apiUrl}</apiUrl>
</simplenote.init>
Properties 
  • authToken: The OAuth token to read and manipulate data of the Simplenote account.
  • email: The e-mail address of the authorized account.
  • apiUrl: The base endpoint URL of the Simplenote API.

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="text/html" class="org.wso2.carbon.relay.ExpandingMessageFormatter"/>
Required message builders
messageBuilders
<messageBuilder contentType="text/html" class="org.wso2.carbon.relay.BinaryRelayBuilder"/>

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