Implementing a simple Salesforce API using Anypoint platform.

Implementation

In Part 1 we saw how you can easily design an API in Anypoint platform. In this next post I will show how to write an implemention of the API based on the design and how to deploy it to CloudHub. Let’s get started. Anypoint studio Start Anypoint studio and the File->New->MuleProject. The wizard opens up and you can then specify the name of the application. In my case Salesforce-API. Continue ReadingImplementing a simple Salesforce API using Anypoint platform.

Running a simple SpringBoot API as a Docker container

Docker

Containers are a hot topic nowadays. Is it easy or does it come with a steep learning curve and what are the things to consider? In this blog serie I will show some simple examples of how you can use containers and in which environments. In part 1 I will build a simple SpringBoot application which can be accessed through REST. We will then dockerize it and first run it Continue ReadingRunning a simple SpringBoot API as a Docker container

Building a simple microservice using Spring Boot

In this short post, I will show how to build a simple JPA Microservice using Spring Boot. Spring Boot makes it easy to create stand-alone based applications that you can run and need very little Spring configuration as we will see in this short tutorial. For an explanation about microservices, read this article of Martin Fowler. For the code, see https://github.com/hugohendriks1978/climbing-api As I was saying we are going to use Continue ReadingBuilding a simple microservice using Spring Boot

SOA Suite 12C: Generating a JSON Web Token (JWT) in OSB

“JSON Web Token (JWT) is a JSON-based open standard (RFC 7519) for creating access tokens that assert some number of claims. For example, a server could generate a token that has the claim “logged in as admin” and provide that to a client. The client could then use that token to prove that it is logged in as admin. The tokens are signed by the server’s key, so the client Continue ReadingSOA Suite 12C: Generating a JSON Web Token (JWT) in OSB

A first glance at Mule’s API capabilities

mulesoft

Since 2006, Mulesoft is offering middleware and messaging. Back then, building integrations was still heavily XML file based, with a set of Eclipse based plugins. This has changed though! With their Anypoint Studio, an Eclipse-based graphical development environment for designing, testing and running Mule flows, they really upped their game. Together with their new IPaaS platform CloudHub and their API capabilities, Mulesoft is looked at as a big player in Continue ReadingA first glance at Mule’s API capabilities

Consuming a service in Oracle Service Bus 12C using the REST adapter

REST

In a previous post I have shown how to create a REST service in 12C. That was easy. But how do we consume a REST service? In this next bit I will show how to do that. The REST service we are going to use is Google’s Geocoding API. You can use this API to input address data and retrieve geo data in both JSON or XML. For example: To Continue ReadingConsuming a service in Oracle Service Bus 12C using the REST adapter

Creating a REST service in Oracle Service Bus 12C

REST

In this first REST post I will demonstrate how to make easily expose a REST service in the Service Bus 12C. I will not explain REST as quite some people have already written tons of stuff about this….Google is your friend 🙂 . Exposing a service in a REST way using the new 12C release is quite simple. Lets try and expose the ConversionRateService we previously build as a REST Continue ReadingCreating a REST service in Oracle Service Bus 12C

Converting JSON to XML in the OSB when consuming a REST service.

In my previous post I showed you how you could consume the Google Geo service using the OSB. In that example we used XML as the return format. It was also possible to return JSON. JSON stands for JavaScript Object Notation and is smaller then XML and faster en easier to parse. The JSON text format is syntactically identical to the code for creating JavaScript objects. That is why it Continue ReadingConverting JSON to XML in the OSB when consuming a REST service.

Consuming Google Geo REST service using the OSB

In this article I will explain how you can make use of the Google Geo Service API using the OSB. Check out this page to see what we can do with this API. Basically it makes it possible to enter address details and Google comes up with the geographical details including longitude and latitude if Google can find it. The result can either be returned as JSON or as XML. Continue ReadingConsuming Google Geo REST service using the OSB