One of the great new additions of the recently released Feature Pack 1 for Microsoft BizTalk 2016 is a REST API, which can be used to administer BizTalk Server. Longtime users of BizTalk may have experience with using ExplorerOM.dll or WMI based scripts to manage their BizTalk environment. The REST API introduced in Feature Pack 1 provides a more flexible alternative, including a Swagger definition providing rapid implementation of an application to consume the API. In this post, I will walk through the process of installing the API as well as using Swagger to generate a C# client and demonstrating a simple command.
In this blog we are going to discuss how we can use Boomi API to overcome some of the limitations of using Web Service Server connectors.
Here are some of the limitations we discussed in our previous blog.
In REST service, how do we restrict the process to support specific REST verbs, for example say the process should accept only the GET/POST and reject DELETE/PUT.
Passing queries/parameter in the URL itself
Something like this http://SERVER:9090/ws/simple/getBlogs/blogid/1 or this http://SERVER:9090/ws/simple/getBlogs?blogid=1
Managing or assigning multiple web services end point to a Boomi process
This blog post will discuss ways to work with the Boomi AtomSphere API to work around these limitations
Before we begin using Boomi API, we need to verify access to the Boomi API.
Login into Boomi portal, In the top right menu, select API Management.
If you are able to see below screen then you have the access to…
Consider the following scenario: you have a tested BizTalk Orchestration that effectively takes a parameter (say, a message identifier) and returns the message from a database for consumption. Now you want to expose a WCF Service for consumers of that orchestration to use. While you could design a SOAP based interface, a simple RESTful interface that accepts a GET verb would do the trick more elegantly (and in a way that would be much easier for clients to work with). It also may meet a requirement when you already have clients that expect a RESTful interface for data retrieval.
There’s plenty out there on handling REST GET requests using BizTalk Orchestrations as a consumer:
Unfortunately, the same can’t quite be said about handling REST GET requests as a provider; there are resources:
…but this side of the equation tends to focus on POST and PUT…
Acouple of weekends ago at Code Camp 10, I presented on the ASP.NET Model View Controller (MVC) Framework. As promised, I have attached the presentation for all to see.
I would like to thank my co-worker Stan Kennedy for his assistance with the slide deck (actually, he deserves most, if not all of the credit for it) and everyone that showed up to the presentation. I hope everyone learned something – I certainly did as well.
I would like to direct everyone over to the ASP.NET MVC site, which is an excellent resource for anyone wanting to know more about it – and would recommend anyone who wants to start out with it to view Stephen Walther’s How-to videos on the subject (also on the ASP.NET MVC site) as well.
Additionally, I know there were some questions around REST and what it…