In this chapter, we looked at the social integration capabilities that ICS provides out-of-the box. We integrated with Twitter in our first integration and with Google in our second integration.
In the integration with Twitter, we set up a new application on Twitter that uses the assigned account to post tweets by creating the application and creating the necessary API credentials. With these credentials we created a connection from ICS to Twitter by configuring the API credentials to use.
The inbound connection of the integration used a WSDL with multiple operations, which we used for both the Twitter and the Google integration. For the Twitter integration, the FlightScheduleUpate
operation was used.
In the integration, we showed that, based on the incoming request message, we constructed a dynamic message, a tweet, and sent it to Twitter. In the request mapping, we constructed the tweet dynamically using XSL elements such as choose
, when
, and otherwise
.
After finishing the integration...