To use the Teamwork connector, add the <teamwork.init
> element in your configuration before carrying out any other Teamwork operations.
The Teamwork API uses basic authentication with the API key. For more information on authentication, see https://developer.teamwork.com/introduction#authentication.
init
<teamwork.init> <apiUrl>{$ctx:apiUrl}</apiUrl> <apiKey>{$ctx:apiKey}</apiKey> <teamwork.init>
Properties
apiUrl
:apiKey : The API key of Teamwork.
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="multipart/form-data" class="org.wso2.carbon.relay.ExpandingMessageFormatter"/>
Required message builders
messageBuilders
<messageBuilder contentType="multipart/form-data" class="org.wso2.carbon.relay.BinaryRelayBuilder"/>
Now that you have connected to Teamwork, use the information in the following topics to perform various operations with the connector.