Close

BizTalk 2016 Relay Endpoint

In this post, I want to describe a hybrid integration scenario where a BizTalk 2016 service is exposed to Azure using a service bus relay. Note that the relay is not found under Service Bus, but under resource named Relays. This may be a point of confusion. First you will have to create a relay…

BizTalk terminate instances

Recently I had a problem that I couldn’t delete a running instance in BizTalk. So, I tried to install the BizTalkTerminator, but I kept getting an error when trying to start up the terminator. Luckily I found a SQL script you can run to reslove the issue. Remember to first stop all BizTalk instances and…

Performance analysis via the PAL tool

The PAL (Performance Analysis of Logs) tool is a powerful tool that reads in a performance monitor counter log and analyzes it using best practice type thresholds. The tool generates an HTML based report that graphically charts important performance counters and throws alerts when thresholds are exceeded. The PAL Tool is a helper tool for…

Using Pipeline.exe

Last week I used Pipeline.exe to test a custom pipeline. Using Pipeline.exe has the advantage that you don’t have to deploy the pipeline in order to test the pipeline. The disadvantage is of course that you are not running the pipeline under conditions similar to production. Note: If your custom pipeline uses the flat file…

Copy context in custom pipeline component

I developed a custom pipeline component to perform a mapping in a send pipeline. In the Execute() method I create and return a new message. newBizTalkMessage = pContext.GetMessageFactory().CreateMessage(); newBizTalkMessage.AddPart(“body”, pContext.GetMessageFactory().CreateMessagePart(), true); newBizTalkMessage.BodyPart.Data = virtualStream; newBizTalkMessage.BodyPart.Data.Seek(0, SeekOrigin.Begin); All good, but I received the following error: A message received by adapter “FILE” on receive location “Unknown ”…

A lesson on InlineXSLT

I have a document with two UUID nodes. The question is: how can I retrieve the second node? Complicating factor. The second UUID node is located within two repeating nodes: DocumentResponse and DocumentReference. First I tried a scripting functoid with the following inline XSLT: <BusinessTransactionID> <xsl:value-of select=”/*[local-name()=’ApplicationResponse’ and namespace-uri()=’urn:oasis:names:specification:ubl:schema:xsd:ApplicationResponse-2′]/*[local-name()=’DocumentResponse’ and namespace-uri()=’urn:oasis:names:specification:ubl:schema:xsd:CommonAggregateComponents-2′][1]/*[local-name()=’DocumentReference’ and namespace-uri()=’urn:oasis:names:specification:ubl:schema:xsd:CommonAggregateComponents-2′][1]/*[local-name()=’UUID’ and namespace-uri()=’urn:oasis:names:specification:ubl:schema:xsd:CommonBasicComponents-2′]/text()”…

BizTalk map to Any node

Mapping to an any node can be difficult. In the first scenario Inline XSLT is used. The body node in the code snippet below has the namespace of the destination schema. Note that you cannot directly map to the any node, but to the parent element. <ns0:body xmlns:ns0=”http://Rfs.Integration.Common.REST.Schemas.GenericWebHttpRequest/1.0″> <xsl:copy-of select=”/@*” /> <xsl:copy-of select=”/*” /> </ns0:body>…

Configure SMTP Testserver

If you want to send e-mails in a BizTalk testing scenario, you will have to configure an SMTP server that writes files to a file location instead of actually sending them. First add Windows Server feature SMTP Server via the Windows Server Manager. Next, go to IIS. On the server level (i.e. BIZZW601.intern.company.nl) go to…

Upgrading Deployment Framework and SSOSettingsFileReader

If you upgrade the BizTalk Deployment Framework from version 5.0 to version 5.5, you can run into issues with the SSOSettingsFileReader. – First of all, you need to make sure that all BizTalk projects with a reference to SSOSettingsFileReader have their references updated. At my current client, all projects reference the assembly in a central…

I don’t see my BAM view in the Portal

If you have the problem that you don’t see a BAM view in the BAM Portal, you first have to check if the BizTalk Server Admin account has rights on the view. The get-accounts statement will reveal if there’s an access rights problem only or if the view doesn’t exist at all. In the latter…