I'll start with the behavior we are looking to have:
Our initial research made it look like BizTalk with an Azure logic app would be a good fit for this, but now that I'm working on a Proof of Concept I am running into roadblocks, namely:
I've been able to create a logic app, expose an endpoint, call it with a JSON body, and have the logic app parse that JSON and conditionally perform actions, and once I figured out how to do all of that, it was pretty impressive.
So my question is two-fold:
BizTalk server projects are not compatible with Visual Studio 2015 or Visual Studio 2013.
We recently shipped Preview of [Enterprise Integration Pack] (EIP) for Logic Apps. As part of this release, a bunch of xml processing capabilities have been added to Logic Apps.
Beyond these, Logic Apps also has HTTP requests/response capabilities which can be used to call HTTP endpoints.
Hope this helps.
Thanks, Vinay
Transform the XML. - Use content as triggerBody() and map using XSLT. You can set the XML format here.
<?xml version='1.0'?> <xsl:stylesheet version="1.0"> <xsl:template match="/"> <Header> <Something> <xsl:value-of select="soap-env:Envelope/soap-env:Body/a:Something/@value"/> </Something> </Header> </xsl:template> </xsl:stylesheet>
Transform XML to JSON - Use content body('transform_XML') and map using XML to Json.
{"Something": "{{content.Something.Value}}"
HTTP Response - set the values you want returned as body('Parse_JSON')['Value'] into the Body.
<Header> <Something> <value = "body('Parse_JSON')['Value']"/> </Something> </Header>
You can also create a blob with this and send to a data factory.
You can also use Function Apps w/NewtonSoft (JSON.net). Logic Apps are amazing, but they are not the sandwich AND the chips... at least not quite yet.
You should be able to nest a Function App in a Logic App. Use NewtonSoft (In Function App) to support the parsing XML>JSON, JSON>XML
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.