<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>Integration Archives - Blog IT</title>
	<atom:link href="https://blogit.create.pt/category/integration/feed/" rel="self" type="application/rss+xml" />
	<link>https://blogit.create.pt/category/integration/</link>
	<description>Create IT blogger community</description>
	<lastBuildDate>Mon, 06 Jul 2020 15:43:28 +0000</lastBuildDate>
	<language>en-US</language>
	<sy:updatePeriod>
	hourly	</sy:updatePeriod>
	<sy:updateFrequency>
	1	</sy:updateFrequency>
	<generator>https://wordpress.org/?v=6.9.1</generator>
	<item>
		<title>Mocking APIs with MMock</title>
		<link>https://blogit.create.pt/pedrodavid/2020/05/18/mocking-apis-with-mmock/</link>
					<comments>https://blogit.create.pt/pedrodavid/2020/05/18/mocking-apis-with-mmock/#respond</comments>
		
		<dc:creator><![CDATA[Pedro David]]></dc:creator>
		<pubDate>Mon, 18 May 2020 15:18:24 +0000</pubDate>
				<category><![CDATA[Integration]]></category>
		<category><![CDATA[API]]></category>
		<category><![CDATA[MMock]]></category>
		<category><![CDATA[Mock]]></category>
		<guid isPermaLink="false">https://blogit.create.pt/?p=11804</guid>

					<description><![CDATA[<p>There is a time during the development of a project when a developer needs to test the interaction with an external API service. Maybe he needs to get predefined responses to his API calls. In this case, the solution is not to use the original API, but instead to build a mock of said API. [&#8230;]</p>
<p>The post <a href="https://blogit.create.pt/pedrodavid/2020/05/18/mocking-apis-with-mmock/">Mocking APIs with MMock</a> appeared first on <a href="https://blogit.create.pt">Blog IT</a>.</p>
]]></description>
										<content:encoded><![CDATA[
<p>There is a time during the development of a project when a developer needs to test the interaction with an external API service. Maybe he needs to get predefined responses to his API calls. In this case, the solution is not to use the original API, but instead to build a <span style="text-decoration: underline">mock</span> of said API.<br><br>There are many ways to mock http APIs, usually by writing a web server that listens to the same endpoints as the API being mocked. Although this can be simple enough to do on some programming languages, there is an even simpler way to achieve the same results without having to write a single line of code: By using <a rel="noreferrer noopener" href="https://github.com/jmartin82/mmock" target="_blank"><strong>MMock</strong></a>.<br><br><strong>MMock</strong> is a fast and simple mock http/https server which allows the definition of responses with a simple configuration file. It also has some handy features that I am going to describe shortly.<br><br>In this article I am going to use <a rel="noreferrer noopener" href="https://github.com/jmartin82/mmock/releases/tag/v2.7.9" target="_blank"><strong>MMock </strong>2.7.9</a>.</p>



<h2 class="wp-block-heading">Install and Run MMock</h2>



<p>There are two ways to install and run MMock:</p>



<p>1. As a docker container, either using the pre-built <a rel="noreferrer noopener" href="https://hub.docker.com/r/jordimartin/mmock" target="_blank">docker image</a> directly or extending it in your own Dockerfile, and then starting the container by running the command:</p>



<pre class="wp-block-preformatted">docker run -v &lt;PATH_TO_CONFIG_FOLDER&gt;:/config -p 8082:8082 -p 8083:8083 &lt;YOUR_IMAGE_NAME&gt;</pre>



<p>2. By running <strong>MMock</strong> directly on your machine. You need <strong>Go 1.8</strong> or higher installed, and the <strong>MMock</strong> module:</p>



<pre class="wp-block-preformatted">go get github.com/jmartin82/mmock/...
mmock -config-path &lt;PATH_TO_CONFIG_FOLDER&gt;</pre>



<p>You should see something like this when running <strong>MMock</strong>:</p>



<div class="wp-block-image"><figure class="aligncenter size-large"><img fetchpriority="high" decoding="async" width="889" height="376" src="https://blogit.create.pt////wp-content/uploads/2020/05/console.png" alt="" class="wp-image-11805" srcset="https://blogit.create.pt/wp-content/uploads/2020/05/console.png 889w, https://blogit.create.pt/wp-content/uploads/2020/05/console-300x127.png 300w, https://blogit.create.pt/wp-content/uploads/2020/05/console-768x325.png 768w, https://blogit.create.pt/wp-content/uploads/2020/05/console-696x294.png 696w" sizes="(max-width: 889px) 100vw, 889px" /></figure></div>



<p>The mock http server is accessible at <a rel="noreferrer noopener" href="http://localhost:8083/" target="_blank">http://localhost:8083/</a>, https at <a rel="noreferrer noopener" href="http://localhost:8084/" target="_blank">https</a><a rel="noreferrer noopener" href="https://localhost:8084/" target="_blank">://localhost:8084/</a>, and a handy <strong>MMock</strong> console, where you can track configurations and API calls, is accessible at <a rel="noreferrer noopener" href="http://localhost:8082/" target="_blank">http://localhost:8082/</a>.<br><br>Now, before you start sending requests to your mock API, firstly you need to configure <strong>MMock</strong>.</p>



<h2 class="wp-block-heading">Configuration Options</h2>



<div class="wp-block-jetpack-markdown"><p>To configure an endpoint on your mock API you must create a configuration file for <strong>MMock</strong>.</p>
<p>The configuration file can be written in <code>.json</code> or <code>.yaml</code>, and should be placed inside the <code>&lt;PATH_TO_CONFIG_FOLDER&gt;</code> specified in the <strong>MMock</strong> run command.</p>
<p>The following is an exhaustive list of all the options <strong>MMock</strong> recognizes:</p>
</div>



<div class="wp-block-jetpack-markdown"><ul>
<li><strong>description</strong>: A small description for the current configuration. This will show up in the <strong>MMock</strong> console and is useful if you have lots of configurations</li>
<li><strong>request</strong>: This group of options informs <strong>MMock</strong> about what kind of requests to expect. All options, except for <code>method</code>, allow global matching with <code>*</code>. All options must match for this configuration to be triggered
<ul>
<li><strong>method</strong>: http method (<code>GET</code>, <code>POST</code>, <code>PUT</code>, etc). Multiple methods can be separated by <code>|</code></li>
<li><strong>path</strong>: url endpoint/path, <code>http://localhost/8083/&lt;path&gt;</code></li>
<li><strong>body</strong>: request body</li>
<li><strong>queryStringParameters</strong>: array of url query string parameters, <code>http://localhost/8083/endpoint?key=value</code></li>
<li><strong>headers</strong>: array of http request headers</li>
<li><strong>cookies</strong>: array of request cookies</li>
<li><strong>host</strong>: host from where the request should originate</li>
</ul>
</li>
<li><strong>response</strong>: This group of options specifies the response that <strong>MMock</strong> should return
<ul>
<li><strong>statusCode</strong>: http status code (<code>200</code>, <code>404</code>, etc)</li>
<li><strong>body</strong>: response body</li>
<li><strong>headers</strong>: array of http response headers</li>
<li><strong>cookies</strong>: array of http response cookies</li>
</ul>
</li>
<li><strong>callback</strong>: This group of options informs <strong>MMock</strong> that it should perform a request to an external API (will be introduced in a future release)
<ul>
<li><strong>method</strong>: http method</li>
<li><strong>url</strong>: API url to call</li>
<li><strong>delay</strong>: delay before sending request</li>
<li><strong>timeout</strong>: time to wait for response</li>
<li><strong>headers</strong>: array of headers</li>
<li><strong>body</strong>: http body</li>
</ul>
</li>
<li><strong>control</strong>: This group of options specifies some mechanisms that control some extra behavior of <strong>MMock</strong>
<ul>
<li><strong>pripority</strong>: specifies a value that defines the priority of this configuration over others</li>
<li><strong>proxyBaseURL</strong>: url to where <strong>MMock</strong> should send the received request. <strong>MMock</strong> then returns the response back</li>
<li><strong>delay</strong>: how long <strong>MMock</strong> should wait before responding</li>
<li><strong>crazy</strong>: randomly returns an http <code>500</code> error or <code>200</code> OK</li>
<li><strong>scenario</strong>: This option allows <strong>MMock</strong> to retain some state
<ul>
<li><strong>name</strong>: arbitrary scenario name</li>
<li><strong>requiredState</strong>: the required state of the scenario for this configuration to take effect</li>
<li><strong>newState</strong>: the new state of the scenario after this configuration takes effect</li>
</ul>
</li>
<li><strong>webHookURL</strong>: url that will receive a webhook from <strong>MMock</strong></li>
</ul>
</li>
</ul>
<p>The only really mandatory configuration options are the <code>request.method</code> and <code>request.path</code>, although a configuration file with just those two options does nothing.</p>
</div>



<h2 class="wp-block-heading">Example Configurations</h2>



<div class="wp-block-jetpack-markdown"><p>Now some examples of what I think are relevant configurations, starting with a simple one that expects a request to <code>/hello</code> and returns a response with http code <code>200</code>:</p>
</div>



<pre class="wp-block-code"><code>description: hello
request:
  method: GET
  path: "/hello"
response:
  statusCode: 200
  body: Hello!</code></pre>



<div class="wp-block-jetpack-markdown"><p>With a configuration file as simple as this we have an endpoint which will always return a <code>200</code> OK response, no matter the request’s http body, headers, or cookies!</p>
</div>



<p>Now an example of a configuration that expects some query string parameters:</p>



<pre class="wp-block-code"><code>request:
  method: GET
  path: "/hello"
  queryStringParameters:
    user:
      - *
response:
  statusCode: 200
  body: Hello {{request.query.user}}!</code></pre>



<div class="wp-block-jetpack-markdown"><p>For this configuration to trigger, the mock API must be accessed with the <code>user</code> query parameter, like so: <code>/hello?user=john</code>. In this case the response will include the query parameter value! As you might have noticed, the curly braces in the body option define variables, and in this configuration that variable is the value defined in the <code>user</code> query parameter.</p>
<p>The same kind of configuration is applied to headers and cookies, although for cookies only one value can be defined per cookie.</p>
<p>A more complex example involving multiple configurations which define states based on the requests performed:</p>
</div>



<pre class="wp-block-code"><code>request:
  method: GET
  path: "/user/:name"
response:
  statusCode: 200
  headers:
    Content-Type:
    - application/json
  body: >
    {
      "name": "{{request.path.name}}",
      "email": "{{fake.EmailAddress}}",
      "address": {
        "street": "{{fake.StreetAddress}}",
        "city": "{{fake.City}}",
        "zipcode": "{{fake.Zip}}"
      }
    }
control:
  scenario:
    name: user
    requiredState:
    - created</code></pre>



<pre class="wp-block-code"><code>request:
  method: POST
  path: "/user/:name"
response:
  statusCode: 202
control:
  scenario:
    name: user
    requiredState:
    - not_started
    - deleted
    newState: created</code></pre>



<pre class="wp-block-code"><code>request:
  method: DELETE
  path: "/user/:name"
response:
  statusCode: 200
control:
  scenario:
    name: user
    requiredState:
    - created
    newState: deleted</code></pre>



<div class="wp-block-jetpack-markdown"><p>These three configurations emulate the creation, reading and deletion of a user.</p>
<p>The first configuration handles requesting data on a user by performing a <code>GET</code> request to <code>/scenario/&lt;user_name&gt;</code> (notice the <code>:name</code> variable in the <code>path</code> option). It returns mock user information as json if the scenario is in the <code>created</code> state, otherwise returns a <code>404</code> http error code.</p>
<p>Next, by performing a <code>POST</code> request to the same endpoint the state of the scenario will be set to <code>created</code>, which will enable us the perform a <code>GET</code> request and return the user’s data.</p>
<p>Finally, by performing a <code>DELETE</code> request to the same endpoint the state will be set to <code>deleted</code>, which will, once again, cause the <code>GET</code> request to return a <code>404</code> http error code.</p>
</div>



<h2 class="wp-block-heading">Variables and Fake Data</h2>



<div class="wp-block-jetpack-markdown"><p>As you were able to see in the examples above, <strong>MMock</strong> defines some variables you can use, enclosed in curly braces, like so: <code>{{variable}}</code>.</p>
<p>Most of the request information can be accessed through variables in the response, such as the path, query parameters, cookies, body (respectively: <code>request.path</code>, <code>request.query.&lt;parameter&gt;</code>, <code>request.cookie.&lt;cookie&gt;</code>, <code>request.body</code>), and more.</p>
<p>You can also return the content of files or urls in your response with the variables <code>file.contents(&lt;PATH_TO_FILE&gt;)</code> or <code>http.contents(&lt;URL&gt;)</code>.</p>
<p>Lastly, <strong>MMock</strong> defines some variables that return mock data, such as brands, colors, countries, days, names, ips, phones (respectively, <code>fake.Brand</code>, <code>fake.Color</code>, <code>fake.Country</code>, <code>fake.Day</code>, <code>fake.FullName</code>, <code>fake.IPv4</code>, <code>fake.Phone</code>), and much more!</p>
</div>



<h2 class="wp-block-heading">Conclusion</h2>



<p><strong>MMock </strong>can be an easy way to define simple mock APIs. The configuration options allows a wide range of behaviors which target the more usual API testing scenarios.<br><br>The project is under active development, so expect changes and fixes once in a while!</p>



<p></p>
<p>The post <a href="https://blogit.create.pt/pedrodavid/2020/05/18/mocking-apis-with-mmock/">Mocking APIs with MMock</a> appeared first on <a href="https://blogit.create.pt">Blog IT</a>.</p>
]]></content:encoded>
					
					<wfw:commentRss>https://blogit.create.pt/pedrodavid/2020/05/18/mocking-apis-with-mmock/feed/</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
			</item>
		<item>
		<title>[FIX] BizTalk Server 2010, 2013, 2013 R2 &#038; 2016 errors &#8220;Class not registered (WinMgmt)&#8221; or &#8220;Access denied&#8221;</title>
		<link>https://blogit.create.pt/gustavobrito/2018/07/26/fix-biztalk-server-2010-2013-2013-r2-2016-errors-class-not-registered-winmgmt-or-access-denied/</link>
					<comments>https://blogit.create.pt/gustavobrito/2018/07/26/fix-biztalk-server-2010-2013-2013-r2-2016-errors-class-not-registered-winmgmt-or-access-denied/#comments</comments>
		
		<dc:creator><![CDATA[Gustavo Brito]]></dc:creator>
		<pubDate>Thu, 26 Jul 2018 10:41:24 +0000</pubDate>
				<category><![CDATA[BizTalk Server]]></category>
		<category><![CDATA[Integration]]></category>
		<category><![CDATA[.NET Framework]]></category>
		<category><![CDATA[Access denied]]></category>
		<category><![CDATA[BizTalk]]></category>
		<category><![CDATA[BizTalk issues]]></category>
		<category><![CDATA[BizTalk Server Administration Console]]></category>
		<category><![CDATA[BizTalk Server Errors]]></category>
		<category><![CDATA[BTDF]]></category>
		<category><![CDATA[Class not registered]]></category>
		<category><![CDATA[Error]]></category>
		<category><![CDATA[issue]]></category>
		<category><![CDATA[KB4338419]]></category>
		<category><![CDATA[KB4338424]]></category>
		<category><![CDATA[KB4338600]]></category>
		<category><![CDATA[KB4338601]]></category>
		<category><![CDATA[KB4338602]]></category>
		<category><![CDATA[KB4338605]]></category>
		<category><![CDATA[KB4338606]]></category>
		<category><![CDATA[KB4338613]]></category>
		<category><![CDATA[KB4338814]]></category>
		<category><![CDATA[problems]]></category>
		<category><![CDATA[Windows]]></category>
		<category><![CDATA[Windows update]]></category>
		<category><![CDATA[WinMgmt]]></category>
		<guid isPermaLink="false">http://blogit.create.pt/gustavobrito/?p=1305</guid>

					<description><![CDATA[<p>Hi folks, Due to Microsoft .NET Framework Security Updates, some BizTalk Server installations may be affected. Access denied or Class not registered errors. BizTalk engine will still process messages, including sending and receiving them. The symptoms: You can&#8217;t see, stop or start host instances You can&#8217;t refresh applications Gives access denied or Class not registered [&#8230;]</p>
<p>The post <a href="https://blogit.create.pt/gustavobrito/2018/07/26/fix-biztalk-server-2010-2013-2013-r2-2016-errors-class-not-registered-winmgmt-or-access-denied/">[FIX] BizTalk Server 2010, 2013, 2013 R2 &#038; 2016 errors &#8220;Class not registered (WinMgmt)&#8221; or &#8220;Access denied&#8221;</a> appeared first on <a href="https://blogit.create.pt">Blog IT</a>.</p>
]]></description>
										<content:encoded><![CDATA[<p>Hi folks,</p>
<p><strong>Due to Microsoft .NET Framework Security Updates, some BizTalk Server installations may be affected. Access denied</strong> or <strong>Class not registered</strong> errors.</p>
<p><strong><br />
</strong><span id="more-1305"></span></p>
<p><strong>BizTalk engine will still process messages, including sending and receiving them.</strong></p>
<p><img decoding="async" class="aligncenter wp-image-1314" src="http://blogit-create.com/wp-content/uploads/2018/07/errorBizTalk.png" alt="" width="544" height="117" srcset="https://blogit.create.pt/wp-content/uploads/2018/07/errorBizTalk.png 610w, https://blogit.create.pt/wp-content/uploads/2018/07/errorBizTalk-300x64.png 300w" sizes="(max-width: 544px) 100vw, 544px" /></p>
<p><strong>The symptoms:</strong></p>
<ul>
<li>You can&#8217;t see, stop or start host instances</li>
<li>You can&#8217;t refresh applications</li>
<li>Gives <strong>access denied</strong> or <strong>Class not registered</strong> errors while trying to load some panels inside BizTalk Server Administration Console</li>
<li>Random errors in BizTalk Server Administration Console while browsing</li>
<li>Other weird issues while deploying applications via Deployment Framework for BizTalk (BTDF)</li>
</ul>
<p>.NET Framework (4.6.2) has received some security updates on 20th July 2018. These updates refresh some assemblies that are in use by BizTalk Server! <strong>Microsoft states that a fix is coming mid July 2018</strong>, but, at this moment, I&#8217;m not seeing these &#8220;fixes&#8221; in my machine&#8230;</p>
<p><strong>The actual fix;</strong></p>
<p>You need to uninstall <strong>ALL your .NET Framework updates for version 4.6.2 </strong>that were installed after 19th of July 2018! Follow these simple steps to uninstall them (if you don&#8217;t know how to do it):</p>
<ol>
<li>Open Control Panel</li>
<li>Select Program and Features</li>
<li>On the left pane, select &#8220;View installed updates&#8221;</li>
<li>Uninstall every update that targets <strong>.NET Framework 4.6.X</strong> that were installed <strong>AFTER 19th July 2018</strong></li>
</ol>
<p><strong>IMPORTANT NOTE: </strong>Uninstalling some of them may require a reboot. <strong>DO NOT REBOOT UNTILL ALL UPDATES ARE UNINSTALLED!</strong></p>
<p>Below are some updates that were identified by users as source of their problems:</p>
<ul>
<li>BizTalk Server 2013 R2: KB4338600, KB4338601</li>
<li>BizTalk Server 2010: KB4338602</li>
<li>Other versions: KB4338600, KB4338605, KB4338613, KB4338814, KB4338424, KB4338419</li>
</ul>
<p>The one that was causing my BizTalk Server Administration Console to fail was <strong>KB4338606</strong>. As you can see, this update isn&#8217;t listed above.<strong> Those updates were identified by other users, they may not, by any means, be the origin of your problems.</strong> This is why I prefer to uninstall them all! Remember, your mileage my vary.</p>
<p><strong>If you have any questions or if you need help to figure this out, feel free to post a comment! I&#8217;ll try my best to help you out!</strong></p>
<p>&nbsp;</p>
<p>The post <a href="https://blogit.create.pt/gustavobrito/2018/07/26/fix-biztalk-server-2010-2013-2013-r2-2016-errors-class-not-registered-winmgmt-or-access-denied/">[FIX] BizTalk Server 2010, 2013, 2013 R2 &#038; 2016 errors &#8220;Class not registered (WinMgmt)&#8221; or &#8220;Access denied&#8221;</a> appeared first on <a href="https://blogit.create.pt">Blog IT</a>.</p>
]]></content:encoded>
					
					<wfw:commentRss>https://blogit.create.pt/gustavobrito/2018/07/26/fix-biztalk-server-2010-2013-2013-r2-2016-errors-class-not-registered-winmgmt-or-access-denied/feed/</wfw:commentRss>
			<slash:comments>2</slash:comments>
		
		
			</item>
		<item>
		<title>BizTalk Server &#8211; HL7 Error: Failure executing BTAHL72XSendPipeline &#8220;Body schema is missing&#8221;</title>
		<link>https://blogit.create.pt/tiagooliveira/2017/10/22/biztalk-server-hl7-error-failure-executing-btahl72xsendpipeline-body-schema-is-missing/</link>
					<comments>https://blogit.create.pt/tiagooliveira/2017/10/22/biztalk-server-hl7-error-failure-executing-btahl72xsendpipeline-body-schema-is-missing/#comments</comments>
		
		<dc:creator><![CDATA[Tiago Oliveira]]></dc:creator>
		<pubDate>Sun, 22 Oct 2017 21:17:20 +0000</pubDate>
				<category><![CDATA[BizTalk Server]]></category>
		<category><![CDATA[Integration]]></category>
		<category><![CDATA[HL7]]></category>
		<guid isPermaLink="false">http://blogit.create.pt/tiagooliveira/?p=1844</guid>

					<description><![CDATA[<p>Recently I had a requirement to generate an HL7 ORM to send to Oracle. To fulfill the requirements, an HL7 message must be generated inline inside an orchestration. The ExecuteReceivePipeline method must be used in orchestration, to execute the BTAHL72XSendPipeline pipeline with the HL7 multipart message to finally generate the message in HL7 format. All HL7 [&#8230;]</p>
<p>The post <a href="https://blogit.create.pt/tiagooliveira/2017/10/22/biztalk-server-hl7-error-failure-executing-btahl72xsendpipeline-body-schema-is-missing/">BizTalk Server &#8211; HL7 Error: Failure executing BTAHL72XSendPipeline &#8220;Body schema is missing&#8221;</a> appeared first on <a href="https://blogit.create.pt">Blog IT</a>.</p>
]]></description>
										<content:encoded><![CDATA[<p>Recently I had a requirement to generate an HL7 ORM to send to Oracle.<br />
To fulfill the requirements, an HL7 message must be generated inline inside an orchestration.<br />
The ExecuteReceivePipeline method must be used in orchestration, to execute the BTAHL72XSendPipeline pipeline with the HL7 multipart message to finally generate the message in HL7 format.</p>
<p>All HL7 must be multipart messages consisting of three segments:</p>
<ul>
<li>Body segment &#8211; The HL7 message (marked as message body part)</li>
<li>MSH segment &#8211; The HL7 header</li>
<li>Z Segment &#8211; HL7 custom segment</li>
</ul>
<p><a href="http://blogit.create.pt/tiagooliveira/wp-content/uploads/sites/101/2017/10/HL7-Err01.png"><img decoding="async" class="alignnone size-full wp-image-1854" src="http://blogit.create.pt/tiagooliveira/wp-content/uploads/sites/101/2017/10/HL7-Err01.png" alt="" width="357" height="325" srcset="https://blogit.create.pt/wp-content/uploads/2017/10/HL7-Err01.png 357w, https://blogit.create.pt/wp-content/uploads/2017/10/HL7-Err01-300x273.png 300w, https://blogit.create.pt/wp-content/uploads/2017/10/HL7-Err01-356x325.png 356w" sizes="(max-width: 357px) 100vw, 357px" /></a></p>
<p>To generate the ORM HL7 message, the BTAHL72XSendPipeline requires that the &#8220;message type&#8221; property be promoted, otherwise the error &#8220;Body schema is missing&#8221; will be thrown.<br />
This property cannot be directly set, because is a reserved property used by BizTalk, the only way is to copy from other message.<br />
If your orchestration receives the same HL7 message type, it&#8217;s easy to fix this issue, just set the multipart properties from the inbound message using the &#8220;(*)&#8221; syntax. In this way, the &#8220;message type&#8221; property will be copied.<br />
<strong>HL7MultipartMessage(*)=InputMsgForHl7BodyPart(*);</strong></p>
<p>There are several posts with this fix like<i> <a href="https://blogs.msdn.microsoft.com/biztalknotes/2013/03/06/biztalk-hl7-error-failure-executing-btahl72xsendpipeline-error-details-body-schema-is-missing/" target="_blank" rel="noopener">https://blogs.msdn.microsoft.com/biztalknotes/2013/03/06/biztalk-hl7-error-failure-executing-btahl72xsendpipeline-error-details-body-schema-is-missing/</a></i> and <a href="https://social.technet.microsoft.com/wiki/contents/articles/16181.how-to-execute-btahl72xsendpipeline-in-an-orchestration.aspx">https://social.technet.microsoft.com/wiki/contents/articles/16181.how-to-execute-btahl72xsendpipeline-in-an-orchestration.aspx</a></p>
<p>If you do not have an incoming  HL7  message, the solution is a little bit tricky.</p>
<ol>
<li>Create an BizTalk ORM message (you can use other HL7 message type or versions depending of the business requirements);</li>
<li>Force the &#8220;message type&#8221; promotion executing the XmlReceive pipeline (inline in orchestration);</li>
<li>Set the message created in1) to the multipart BodySegments segment;</li>
<li>Copy the ORM properties to the multipart message ( HL7MultipartMessage(*)=ORMMessage(*)<b> </b>)<a href="http://blogit.create.pt/tiagooliveira/wp-content/uploads/sites/101/2017/10/HL7-Err02-1.png"><img decoding="async" class="alignnone size-full wp-image-1874" src="http://blogit.create.pt/tiagooliveira/wp-content/uploads/sites/101/2017/10/HL7-Err02-1.png" alt="" width="315" height="136" srcset="https://blogit.create.pt/wp-content/uploads/2017/10/HL7-Err02-1.png 315w, https://blogit.create.pt/wp-content/uploads/2017/10/HL7-Err02-1-300x130.png 300w" sizes="(max-width: 315px) 100vw, 315px" /></a></li>
</ol>
<p>Hope this helps!</p>
<p>&nbsp;</p>
<p>&nbsp;</p>
<p>&nbsp;</p>
<p>The post <a href="https://blogit.create.pt/tiagooliveira/2017/10/22/biztalk-server-hl7-error-failure-executing-btahl72xsendpipeline-body-schema-is-missing/">BizTalk Server &#8211; HL7 Error: Failure executing BTAHL72XSendPipeline &#8220;Body schema is missing&#8221;</a> appeared first on <a href="https://blogit.create.pt">Blog IT</a>.</p>
]]></content:encoded>
					
					<wfw:commentRss>https://blogit.create.pt/tiagooliveira/2017/10/22/biztalk-server-hl7-error-failure-executing-btahl72xsendpipeline-body-schema-is-missing/feed/</wfw:commentRss>
			<slash:comments>1</slash:comments>
		
		
			</item>
		<item>
		<title>BizTalk Server HL7 &#8211; Strange break lines in MSH segment</title>
		<link>https://blogit.create.pt/tiagooliveira/2017/10/01/biztalk-hl7-strange-break-lines-in-msh-segment/</link>
					<comments>https://blogit.create.pt/tiagooliveira/2017/10/01/biztalk-hl7-strange-break-lines-in-msh-segment/#respond</comments>
		
		<dc:creator><![CDATA[Tiago Oliveira]]></dc:creator>
		<pubDate>Sun, 01 Oct 2017 20:35:17 +0000</pubDate>
				<category><![CDATA[BizTalk Server]]></category>
		<category><![CDATA[Integration]]></category>
		<category><![CDATA[HL7]]></category>
		<guid isPermaLink="false">http://blogit.create.pt/tiagooliveira/?p=1764</guid>

					<description><![CDATA[<p>If you create an HL7 MSH segment with XmlDocument, you can get a strange break line in all empty values, like in the following image. The HL7 message will also be created with the same break line, generating an invalid HL7 message. It&#8217;s easy to deal with it, just set PreserveWhitespace property in XmlDocument with &#8220;true&#8221;, [&#8230;]</p>
<p>The post <a href="https://blogit.create.pt/tiagooliveira/2017/10/01/biztalk-hl7-strange-break-lines-in-msh-segment/">BizTalk Server HL7 &#8211; Strange break lines in MSH segment</a> appeared first on <a href="https://blogit.create.pt">Blog IT</a>.</p>
]]></description>
										<content:encoded><![CDATA[<p>If you create an HL7 MSH segment with XmlDocument, you can get a strange break line in all empty values, like in the following image.</p>
<p><a href="http://blogit.create.pt/tiagooliveira/wp-content/uploads/sites/101/2017/10/HL7-1.png"><img decoding="async" class="alignnone size-full wp-image-1774" src="http://blogit.create.pt/tiagooliveira/wp-content/uploads/sites/101/2017/10/HL7-1.png" alt="" width="747" height="497" srcset="https://blogit.create.pt/wp-content/uploads/2017/10/HL7-1.png 747w, https://blogit.create.pt/wp-content/uploads/2017/10/HL7-1-300x200.png 300w, https://blogit.create.pt/wp-content/uploads/2017/10/HL7-1-696x463.png 696w, https://blogit.create.pt/wp-content/uploads/2017/10/HL7-1-631x420.png 631w" sizes="(max-width: 747px) 100vw, 747px" /></a></p>
<p>The HL7 message will also be created with the same break line, generating an invalid HL7 message.</p>
<p>It&#8217;s easy to deal with it, just set PreserveWhitespace property in XmlDocument with &#8220;true&#8221;, before assigning it to the HL7 MSHSegment.</p>
<p>&#8230;<strong><br />
xmlDocument.PreserveWhitespace = true;</strong><br />
hl7msg.MSHSegment = xmlDocument;</p>
<p>You can get more info in <a href="https://msdn.microsoft.com/en-us/library/system.xml.xmldocument.preservewhitespace(v=vs.110).aspx" target="_blank" rel="noopener">https://msdn.microsoft.com/en-us/library/system.xml.xmldocument.preservewhitespace(v=vs.110).aspx</a>.</p>
<p>The post <a href="https://blogit.create.pt/tiagooliveira/2017/10/01/biztalk-hl7-strange-break-lines-in-msh-segment/">BizTalk Server HL7 &#8211; Strange break lines in MSH segment</a> appeared first on <a href="https://blogit.create.pt">Blog IT</a>.</p>
]]></content:encoded>
					
					<wfw:commentRss>https://blogit.create.pt/tiagooliveira/2017/10/01/biztalk-hl7-strange-break-lines-in-msh-segment/feed/</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
			</item>
		<item>
		<title>How to fix BizTalk Server Administration Exception 0xC00CE557: Could not enlist Send Port</title>
		<link>https://blogit.create.pt/gustavobrito/2017/09/29/how-to-fix-biztalk-server-administration-exception-0xc00ce557-could-not-enlist-send-port/</link>
					<comments>https://blogit.create.pt/gustavobrito/2017/09/29/how-to-fix-biztalk-server-administration-exception-0xc00ce557-could-not-enlist-send-port/#respond</comments>
		
		<dc:creator><![CDATA[Gustavo Brito]]></dc:creator>
		<pubDate>Fri, 29 Sep 2017 17:07:51 +0000</pubDate>
				<category><![CDATA[BizTalk Server]]></category>
		<category><![CDATA[Integration]]></category>
		<category><![CDATA[0xC00CE557]]></category>
		<category><![CDATA[BizTalk]]></category>
		<category><![CDATA[BizTalk Server Administration]]></category>
		<category><![CDATA[Create]]></category>
		<category><![CDATA[Enlist]]></category>
		<category><![CDATA[Error]]></category>
		<category><![CDATA[Exception]]></category>
		<category><![CDATA[HRESULT]]></category>
		<category><![CDATA[Send Ports]]></category>
		<category><![CDATA[XML]]></category>
		<guid isPermaLink="false">http://blogit.create.pt/gustavobrito/?p=34</guid>

					<description><![CDATA[<p>With the need to deploy all port bindings from Visual Studio straight to BizTalk Server, I did export bindings on BizTalk Server Administration. With this, I can merge new ports that were configured manually to my Visual Studio BZ Project, so they can be deployed automatically. Just when I thought that all was well, a [&#8230;]</p>
<p>The post <a href="https://blogit.create.pt/gustavobrito/2017/09/29/how-to-fix-biztalk-server-administration-exception-0xc00ce557-could-not-enlist-send-port/">How to fix BizTalk Server Administration Exception 0xC00CE557: Could not enlist Send Port</a> appeared first on <a href="https://blogit.create.pt">Blog IT</a>.</p>
]]></description>
										<content:encoded><![CDATA[<p>With the need to deploy all port bindings from Visual Studio straight to BizTalk Server, I did export bindings on BizTalk Server Administration. With this, I can merge new ports that were configured manually to my Visual Studio BZ Project, so they can be deployed automatically. Just when I thought that all was well, a binding import error appeared, and some ports could not be enlisted and started.</p>
<p>&nbsp;</p>
<p><img decoding="async" class="size-medium wp-image-174 aligncenter" src="http://blogit.create.pt/gustavobrito/wp-content/uploads/sites/274/2017/09/img1-300x67.png" alt="" width="300" height="67" srcset="https://blogit.create.pt/wp-content/uploads/2017/09/img1-300x67.png 300w, https://blogit.create.pt/wp-content/uploads/2017/09/img1.png 621w" sizes="(max-width: 300px) 100vw, 300px" /></p>
<p style="text-align: center;">Pic1. Exception: &#8220;Could not enlist Send Port &#8211; HRESULT: 0xC00CE557&#8221;</p>
<p>So, after some debugging, me and my teammate noticed an issue with some port filters inside a WCF Custom Send Port in the bindings XML, originally exported by BizTalk. Time to check the XML now!</p>
<p>Here’s how you can trace errors in XML:</p>
<ul>
<li>Open exported ports binding XML file:</li>
</ul>
<p>&nbsp;</p>
<p><img decoding="async" class="aligncenter wp-image-184 " src="http://blogit.create.pt/gustavobrito/wp-content/uploads/sites/274/2017/09/img2.png" alt="" width="609" height="352" /></p>
<p style="text-align: center;">Pic2. Origin of the exception selected</p>
<p>Notice this property, “Filter”. It has break lines and white spaces. BizTalk refuses to import bindings like this, and generates an exception. Worst part is that this exception is generic, and meaningless.</p>
<p>To fix this, you must remove all white spaces and all break lines inside this field. This problem appears because these filters have an “AND” relationship between them, and BizTalk can’t understand those mathematical relationships with all these white spaces and break lines among them.</p>
<p>The final and fixed XML property should look like this:</p>
<p>&lt;SomePropertyName&gt;all lines here without spaces or break lines&lt;/SomePropertyName&gt;</p>
<p>If you run into some exceptions importing port bindings, you should analyze the bindings file and look for a XML property with spaces and break lines. Re-arrange and you should be OK importing bindings and enlisting ports now!</p>
<p>&nbsp;</p>
<p>&nbsp;</p>
<p>&nbsp;</p>
<p>The post <a href="https://blogit.create.pt/gustavobrito/2017/09/29/how-to-fix-biztalk-server-administration-exception-0xc00ce557-could-not-enlist-send-port/">How to fix BizTalk Server Administration Exception 0xC00CE557: Could not enlist Send Port</a> appeared first on <a href="https://blogit.create.pt">Blog IT</a>.</p>
]]></content:encoded>
					
					<wfw:commentRss>https://blogit.create.pt/gustavobrito/2017/09/29/how-to-fix-biztalk-server-administration-exception-0xc00ce557-could-not-enlist-send-port/feed/</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
			</item>
		<item>
		<title>BTDF &#8211; How to config BRE policies or vocabularies</title>
		<link>https://blogit.create.pt/tiagooliveira/2017/07/03/btdf-how-to-config-bre-policies-or-vocabularies/</link>
					<comments>https://blogit.create.pt/tiagooliveira/2017/07/03/btdf-how-to-config-bre-policies-or-vocabularies/#respond</comments>
		
		<dc:creator><![CDATA[Tiago Oliveira]]></dc:creator>
		<pubDate>Mon, 03 Jul 2017 22:49:26 +0000</pubDate>
				<category><![CDATA[BizTalk Server]]></category>
		<category><![CDATA[Integration]]></category>
		<category><![CDATA[BTDF]]></category>
		<guid isPermaLink="false">http://blogit.create.pt/tiagooliveira/?p=1324</guid>

					<description><![CDATA[<p>Greetings to all BizTalk programmers 🙂 There&#8217;s not much information how to properly add a BRE rule in a BTDF deployment script. It&#8217;s very easy to put it to work, but not so easy to get it there. Just follow the below instructions : Create the rule in Business Rule Composer. Use the Rules Engine [&#8230;]</p>
<p>The post <a href="https://blogit.create.pt/tiagooliveira/2017/07/03/btdf-how-to-config-bre-policies-or-vocabularies/">BTDF &#8211; How to config BRE policies or vocabularies</a> appeared first on <a href="https://blogit.create.pt">Blog IT</a>.</p>
]]></description>
										<content:encoded><![CDATA[<p>Greetings to all BizTalk programmers 🙂</p>
<p>There&#8217;s not much information how to properly add a BRE rule in a BTDF deployment script.<br />
It&#8217;s very easy to put it to work, but not so easy to get it there.</p>
<p>Just follow the below instructions :</p>
<ol>
<li>Create the rule in Business Rule Composer.<br />
<a href="http://blogit.create.pt/tiagooliveira/wp-content/uploads/sites/101/2017/07/BRE01-1.png"><img decoding="async" class="alignnone size-full wp-image-1424" src="http://blogit.create.pt/tiagooliveira/wp-content/uploads/sites/101/2017/07/BRE01-1.png" alt="" width="1246" height="763" srcset="https://blogit.create.pt/wp-content/uploads/2017/07/BRE01-1.png 1246w, https://blogit.create.pt/wp-content/uploads/2017/07/BRE01-1-300x184.png 300w, https://blogit.create.pt/wp-content/uploads/2017/07/BRE01-1-768x470.png 768w, https://blogit.create.pt/wp-content/uploads/2017/07/BRE01-1-1024x627.png 1024w, https://blogit.create.pt/wp-content/uploads/2017/07/BRE01-1-696x426.png 696w, https://blogit.create.pt/wp-content/uploads/2017/07/BRE01-1-1068x654.png 1068w, https://blogit.create.pt/wp-content/uploads/2017/07/BRE01-1-686x420.png 686w" sizes="(max-width: 1246px) 100vw, 1246px" /></a></li>
<li>Use the Rules Engine Deployment Wizard to export the created policy or vocabulary xml.<br />
<a href="http://blogit.create.pt/tiagooliveira/wp-content/uploads/sites/101/2017/07/BRE02.png"><img decoding="async" class="alignnone wp-image-1434" src="http://blogit.create.pt/tiagooliveira/wp-content/uploads/sites/101/2017/07/BRE02.png" alt="" width="432" height="336" srcset="https://blogit.create.pt/wp-content/uploads/2017/07/BRE02.png 512w, https://blogit.create.pt/wp-content/uploads/2017/07/BRE02-300x233.png 300w" sizes="(max-width: 432px) 100vw, 432px" /></a><br />
<a href="http://blogit.create.pt/tiagooliveira/wp-content/uploads/sites/101/2017/07/BRE03.png"><img decoding="async" class="alignnone wp-image-1444" src="http://blogit.create.pt/tiagooliveira/wp-content/uploads/sites/101/2017/07/BRE03.png" alt="" width="432" height="335" srcset="https://blogit.create.pt/wp-content/uploads/2017/07/BRE03.png 516w, https://blogit.create.pt/wp-content/uploads/2017/07/BRE03-300x233.png 300w" sizes="(max-width: 432px) 100vw, 432px" /><br />
</a><a href="http://blogit.create.pt/tiagooliveira/wp-content/uploads/sites/101/2017/07/BRE3.jpg"><br />
</a></li>
<li>Put the exported policy or vocabulary xml in a VS project folder (I advise to put in Deployment/BRE/Policies folder).<br />
<a href="http://blogit.create.pt/tiagooliveira/wp-content/uploads/sites/101/2017/07/BRE04.png"><img decoding="async" class="alignnone wp-image-1454" src="http://blogit.create.pt/tiagooliveira/wp-content/uploads/sites/101/2017/07/BRE04.png" alt="" width="729" height="160" srcset="https://blogit.create.pt/wp-content/uploads/2017/07/BRE04.png 1454w, https://blogit.create.pt/wp-content/uploads/2017/07/BRE04-300x66.png 300w, https://blogit.create.pt/wp-content/uploads/2017/07/BRE04-768x168.png 768w, https://blogit.create.pt/wp-content/uploads/2017/07/BRE04-1024x225.png 1024w, https://blogit.create.pt/wp-content/uploads/2017/07/BRE04-696x153.png 696w, https://blogit.create.pt/wp-content/uploads/2017/07/BRE04-1068x234.png 1068w" sizes="(max-width: 729px) 100vw, 729px" /></a></li>
<li>Edit btdfproj file (if you dont&#8217;t know how to set this file, check codeplex BTDF site <a href="https://biztalkdeployment.codeplex.com" target="_blank" rel="noopener noreferrer">https://biztalkdeployment.codeplex.com</a>).<br />
<a href="http://blogit.create.pt/tiagooliveira/wp-content/uploads/sites/101/2017/07/BRE05.png"><img decoding="async" class="alignnone size-full wp-image-1464" src="http://blogit.create.pt/tiagooliveira/wp-content/uploads/sites/101/2017/07/BRE05.png" alt="" width="316" height="130" srcset="https://blogit.create.pt/wp-content/uploads/2017/07/BRE05.png 316w, https://blogit.create.pt/wp-content/uploads/2017/07/BRE05-300x123.png 300w" sizes="(max-width: 316px) 100vw, 316px" /></a></li>
<li>Set &#8220;IncludeVocabAndRules&#8221; element with the value &#8220;true&#8221;.<br />
<a href="http://blogit.create.pt/tiagooliveira/wp-content/uploads/sites/101/2017/07/BRE06.png"><img decoding="async" class="alignnone size-full wp-image-1474" src="http://blogit.create.pt/tiagooliveira/wp-content/uploads/sites/101/2017/07/BRE06.png" alt="" width="874" height="378" srcset="https://blogit.create.pt/wp-content/uploads/2017/07/BRE06.png 874w, https://blogit.create.pt/wp-content/uploads/2017/07/BRE06-300x130.png 300w, https://blogit.create.pt/wp-content/uploads/2017/07/BRE06-768x332.png 768w, https://blogit.create.pt/wp-content/uploads/2017/07/BRE06-696x301.png 696w" sizes="(max-width: 874px) 100vw, 874px" /></a></li>
<li>Add the following elements  (set the policy or vocabulary xml name and location).<br />
<a href="http://blogit.create.pt/tiagooliveira/wp-content/uploads/sites/101/2017/07/BRE07.png"><img decoding="async" class="alignnone size-full wp-image-1484" src="http://blogit.create.pt/tiagooliveira/wp-content/uploads/sites/101/2017/07/BRE07.png" alt="" width="1054" height="623" srcset="https://blogit.create.pt/wp-content/uploads/2017/07/BRE07.png 1054w, https://blogit.create.pt/wp-content/uploads/2017/07/BRE07-300x177.png 300w, https://blogit.create.pt/wp-content/uploads/2017/07/BRE07-768x454.png 768w, https://blogit.create.pt/wp-content/uploads/2017/07/BRE07-1024x605.png 1024w, https://blogit.create.pt/wp-content/uploads/2017/07/BRE07-696x411.png 696w, https://blogit.create.pt/wp-content/uploads/2017/07/BRE07-711x420.png 711w" sizes="(max-width: 1054px) 100vw, 1054px" /></a></li>
<li>The BRE rules are always updated after MSI or VS deploy by executing the options &#8220;Deploy BizTalk solution&#8221; or &#8220;Deploy Rules or Vocabularies&#8221;.<br />
<a href="http://blogit.create.pt/tiagooliveira/wp-content/uploads/sites/101/2017/07/BRE08.png"><img decoding="async" class="alignnone size-full wp-image-1494" src="http://blogit.create.pt/tiagooliveira/wp-content/uploads/sites/101/2017/07/BRE08.png" alt="" width="1168" height="380" srcset="https://blogit.create.pt/wp-content/uploads/2017/07/BRE08.png 1168w, https://blogit.create.pt/wp-content/uploads/2017/07/BRE08-300x98.png 300w, https://blogit.create.pt/wp-content/uploads/2017/07/BRE08-768x250.png 768w, https://blogit.create.pt/wp-content/uploads/2017/07/BRE08-1024x333.png 1024w, https://blogit.create.pt/wp-content/uploads/2017/07/BRE08-696x226.png 696w, https://blogit.create.pt/wp-content/uploads/2017/07/BRE08-1068x347.png 1068w" sizes="(max-width: 1168px) 100vw, 1168px" /></a></li>
</ol>
<p>This configuration also works with environment settings variables (${variablename}), allowing us for example to set different policy data in quality and production environments.</p>
<p>The post <a href="https://blogit.create.pt/tiagooliveira/2017/07/03/btdf-how-to-config-bre-policies-or-vocabularies/">BTDF &#8211; How to config BRE policies or vocabularies</a> appeared first on <a href="https://blogit.create.pt">Blog IT</a>.</p>
]]></content:encoded>
					
					<wfw:commentRss>https://blogit.create.pt/tiagooliveira/2017/07/03/btdf-how-to-config-bre-policies-or-vocabularies/feed/</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
			</item>
		<item>
		<title>BTDF &#8211; Generate specific environment binding</title>
		<link>https://blogit.create.pt/tiagooliveira/2017/02/21/btdf-generate-specific-environment-binding/</link>
					<comments>https://blogit.create.pt/tiagooliveira/2017/02/21/btdf-generate-specific-environment-binding/#respond</comments>
		
		<dc:creator><![CDATA[Tiago Oliveira]]></dc:creator>
		<pubDate>Tue, 21 Feb 2017 22:59:38 +0000</pubDate>
				<category><![CDATA[BizTalk Server]]></category>
		<category><![CDATA[Integration]]></category>
		<category><![CDATA[BTDF]]></category>
		<guid isPermaLink="false">http://blogit.create.pt/tiagooliveira/?p=1211</guid>

					<description><![CDATA[<p>BizTalk Deployment Framework (BTDF) is known as the best way to perform BizTalk artifacts installation. It&#8217;s also the only way (I know) to create an automatic BizTalk deployment. If you don&#8217;t know what is BTDF, go to  https://biztalkdeployment.codeplex.com. This Framework allow us to create an MSI deployment package directly  from Visual Studio or Command Line. It [&#8230;]</p>
<p>The post <a href="https://blogit.create.pt/tiagooliveira/2017/02/21/btdf-generate-specific-environment-binding/">BTDF &#8211; Generate specific environment binding</a> appeared first on <a href="https://blogit.create.pt">Blog IT</a>.</p>
]]></description>
										<content:encoded><![CDATA[<p>BizTalk Deployment Framework (BTDF) is known as the best way to perform BizTalk artifacts installation.<br />
It&#8217;s also the only way (I know) to create an automatic BizTalk deployment.</p>
<p>If you don&#8217;t know what is BTDF, go to  <a href="https://biztalkdeployment.codeplex.com" target="_blank" rel="noopener noreferrer">https://biztalkdeployment.codeplex.com</a>.</p>
<p>This Framework allow us to create an MSI deployment package directly  from Visual Studio or Command Line.<img decoding="async" class="alignnone size-full wp-image-1221" src="http://blogit.create.pt/tiagooliveira/wp-content/uploads/sites/101/2017/02/BTDF-Menu.png" alt="" width="750" height="341" /><br />
It also has a great feature that allow us to maintain only one binding file concerning all environments.<br />
That binding template files are replaced for the correct environment data in the MSI generation.<br />
The specific environment data is configured in a XML file that can be opened in Excel.</p>
<p>Sometimes there are releases that only have binding changes, and you want to use the best practice of always use BTDF generated data in your deployments.<br />
So&#8230; how can you deal with this in BTDF.!! The VS menu does not have an option to generate environment bindings.</p>
<p>The BTDF installation give us a tool called xmlpreprocess, which is used in the MSI generation by the BTDF engine.<br />
Xmlpreprocess tool allow us to merge a specific environment configuration with the binding template (normally named master binding), resulting in the transformed deployment binding.</p>
<p>It&#8217;s very easy to use.</p>
<ol>
<li>Open a Command Line Prompt</li>
<li>Navigate to the  BTDF install folder &#8220;..\Framework\DeployTools&#8221; (normally  C:\Program Files (x86)\Deployment Framework for BizTalk 5.6\Framework\DeployTools)</li>
<li>Execute xmlpreprocess.exe /v /c /noDirectives /i:&#8221;PORT_BINDINGS_MASTER_XML_PATH&#8221; /o:&#8221; OUTPUT_BINDING_FILE_PATH&#8221; /d:CurDir=&#8221;MAIN_SOLUTION_FOLDER&#8221; /s:&#8221;ENVIRONMENT_TO_GENERATE_BINDING_CONFIG_XML&#8221;</li>
</ol>
<p>For example</p>
<p>xmlpreprocess.exe /v /c /noDirectives /i:&#8221;C:\Projects\MyProject\Deployment\PortBindingsMaster.xml&#8221; /o:&#8221;C:\Projects\MyProject\GeneratedBindings\OutputBinding.xml&#8221; /d:CurDir=&#8221;C:\Projects\MyProject&#8221; /s:&#8221;C:\Projects\MyProject\Deployment\EnvironmentSettings\Exported_ProdSettings.xml&#8221;</p>
<p>The generated environment (Local, QA, PRD, &#8230;) is defined in xml file path after the &#8220;/s&#8221; parameter.</p>
<p>Hope this helps.</p>
<p>&nbsp;</p>
<p>The post <a href="https://blogit.create.pt/tiagooliveira/2017/02/21/btdf-generate-specific-environment-binding/">BTDF &#8211; Generate specific environment binding</a> appeared first on <a href="https://blogit.create.pt">Blog IT</a>.</p>
]]></content:encoded>
					
					<wfw:commentRss>https://blogit.create.pt/tiagooliveira/2017/02/21/btdf-generate-specific-environment-binding/feed/</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
			</item>
		<item>
		<title>BizTalk News – Issue #15</title>
		<link>https://blogit.create.pt/pedrovala/2015/05/21/biztalk-news-issue-15/</link>
					<comments>https://blogit.create.pt/pedrovala/2015/05/21/biztalk-news-issue-15/#respond</comments>
		
		<dc:creator><![CDATA[Pedro Vala]]></dc:creator>
		<pubDate>Thu, 21 May 2015 15:06:39 +0000</pubDate>
				<category><![CDATA[BizTalk Server]]></category>
		<category><![CDATA[BizTalk News]]></category>
		<category><![CDATA[Integration]]></category>
		<category><![CDATA[BTDF]]></category>
		<category><![CDATA[Logic Apps]]></category>
		<category><![CDATA[PaaS]]></category>
		<guid isPermaLink="false">http://blogit.create.pt/pedrovala/?p=561</guid>

					<description><![CDATA[<p>Main topics A Better ReadPropertyBag in BizTalk Pipeline components Why full NuGet support for BizTalk projects is important! Azure App Service: BizTalk Server PaaS Done Right BizTalk Integration API Apps in Microsoft Azure App Service Logic Service BizTalk Connectors Azure App Services: BizTalk Rules Azure App Services: Transform XML documents London BizTalk Summit 2015 &#8211; [&#8230;]</p>
<p>The post <a href="https://blogit.create.pt/pedrovala/2015/05/21/biztalk-news-issue-15/">BizTalk News – Issue #15</a> appeared first on <a href="https://blogit.create.pt">Blog IT</a>.</p>
]]></description>
										<content:encoded><![CDATA[<h3>Main topics</h3>
<p lang="en-US" style="padding-left: 30px"><a href="http://blog.tallan.com/2015/03/02/a-better-readpropertybag-in-biztalk-pipeline-components/">A Better ReadPropertyBag in BizTalk Pipeline components</a></p>
<p lang="en-US" style="padding-left: 30px"><a href="http://richardhallgren.com/why-full-nuget-support-for-biztalk-projects-is-important/">Why full NuGet support for BizTalk projects is important!</a></p>
<p lang="en-US" style="padding-left: 30px"><a href="http://www.quicklearn.com/blog/2015/03/24/azure-app-service-biztalk-server-paas-done-right/">Azure App Service: BizTalk Server PaaS Done Right</a></p>
<p lang="en-US" style="padding-left: 30px"><a href="http://azure.microsoft.com/en-us/documentation/articles/app-service-logic-integration-connectors/">BizTalk Integration API Apps in Microsoft Azure App Service</a></p>
<p lang="en-US" style="padding-left: 30px"><a href="http://azure.microsoft.com/en-us/documentation/articles/app-service-logic-what-are-biztalk-api-apps/">Logic Service BizTalk Connectors</a></p>
<p lang="en-US" style="padding-left: 30px"><a href="http://azure.microsoft.com/en-us/documentation/articles/app-service-logic-use-biztalk-rules/">Azure App Services: BizTalk Rules</a></p>
<p lang="en-US" style="padding-left: 30px"><a href="http://azure.microsoft.com/en-us/documentation/articles/app-service-logic-transform-xml-documents/">Azure App Services: Transform XML documents</a></p>
<p lang="en-US" style="padding-left: 30px"><a href="http://www.codit.eu/blog/2015/04/14/london-biztalk-summit-2015-day-1-recap/">London BizTalk Summit 2015 &#8211; Day 1 Recap</a></p>
<p lang="en-US" style="padding-left: 30px"><a href="http://www.codit.eu/blog/2015/04/15/london-biztalk-summit-2015-day-2-recap/">London BizTalk Summit 2015 &#8211; Day 2 Recap</a></p>
<p lang="en-US" style="padding-left: 30px"><a href="https://flipboard.com/@sandroasp/biztalkmagazine-hh6jepeby/biztalk-server-2013-r2-for-low-latency-scenarios/a-aaN-EiZdQs6Cq2Y48BPAGg%3Aa%3A1145082-218f13628a%2Fmicrosoft.com">BizTalk Server 2013 R2 for Low-Latency Scenarios</a></p>
<p lang="en-US" style="padding-left: 30px"><a href="http://social.technet.microsoft.com/wiki/contents/articles/29898.biztalk-bam-business-activity-monitoring.aspx">All about BAM!</a></p>
<p>&nbsp;</p>
<h3>Code and Tutorials</h3>
<p style="text-align: left;padding-left: 30px"><a href="http://social.technet.microsoft.com/wiki/contents/articles/29215.biztalk-server-2013-perform-a-function-in-oracle-11g-xe-using-the-biztalk-adapter-pack.aspx">BizTalk Server 2013 &#8211; Perform a Function in Oracle 11g XE using the BizTalk Adapter Pack</a></p>
<p style="padding-left: 30px"><a href="http://social.technet.microsoft.com/wiki/contents/articles/29311.biztalk-how-to-un-deploy-oracle-plsql-scripts-with-btdf.aspx">BizTalk: How to (un)deploy Oracle PL/SQL scripts with BTDF</a></p>
<p style="padding-left: 30px"><a href="http://social.technet.microsoft.com/wiki/contents/articles/29219.biztalk-how-to-un-deploy-t-sql-scripts-with-btdf.aspx">BizTalk: How to (un)deploy T-SQL scripts with BTDF</a></p>
<p style="padding-left: 30px"><a href="https://pellitterisbiztalkblog.wordpress.com/2015/02/09/configuring-biztalk-server-infrastructure-in-high-availability-on-microsoft-azure-iaas/">Configuring BizTalk Server infrastructure in High Availability on Microsoft Azure IaaS</a></p>
<p style="text-align: left;padding-left: 30px"><a href="http://blog.tallan.com/2015/02/11/biztalk-orchestration-handling-webhttp-rest-get-requests/">BizTalk Orchestration handling webHttp REST GET requests</a></p>
<p style="padding-left: 30px"><a href="http://richardhallgren.com/build-and-generate-msi-for-biztalk-server-using-team-foundation-build-services/">Build and generate MSI for BizTalk Server using Team Foundation Build Services</a></p>
<p style="padding-left: 30px"><a href="http://microsoftintegration.guru/2015/01/15/biztalk-ioc-autofac/">BizTalk IOC Autofac</a></p>
<p lang="en-US" style="padding-left: 30px"><a href="http://social.technet.microsoft.com/wiki/contents/articles/30100.biztalk-server-2013-r2-instrumenting-bam-activity-tracking-with-etw.aspx">BizTalk Server 2013 R2 Instrumenting BAM Activity Tracking with ETW</a></p>
<p lang="en-US" style="padding-left: 30px"><a href="https://gallery.technet.microsoft.com/BizTalk-Server-Cleaning-15a1b070">Managing and Cleaning BizTalk Server Marklog DB Best Practices</a></p>
<h3>Tools</h3>
<p style="padding-left: 30px"><a href="https://gallery.technet.microsoft.com/PowerShell-to-Configure-01c98d15">PowerShell to Configure BizTalk Server 2013/2013 R2 Host and Host Instances</a></p>
<p style="padding-left: 30px"><a href="https://sandroaspbiztalkblog.wordpress.com/tag/btsg-nos-addin/">BSTG NOS Addin</a></p>
<h3>Upcoming Events</h3>
<p><a href="http://biztalkevents.com/"><span style="color: #0066cc">BizTalk Events Calendar</span></a><a href="http://biztalkevents.com/">  </a><a href="https://www.google.com/calendar/feeds/9atrio0n440vbvpji3jgekkaho%40group.calendar.google.com/public/basic"><strong>(<span style="color: #0066cc">RSS</span>)</strong></a></p>
<p>The post <a href="https://blogit.create.pt/pedrovala/2015/05/21/biztalk-news-issue-15/">BizTalk News – Issue #15</a> appeared first on <a href="https://blogit.create.pt">Blog IT</a>.</p>
]]></content:encoded>
					
					<wfw:commentRss>https://blogit.create.pt/pedrovala/2015/05/21/biztalk-news-issue-15/feed/</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
			</item>
		<item>
		<title>BizTalk Server Single Sign On – Save config data in SSO</title>
		<link>https://blogit.create.pt/tiagooliveira/2015/01/05/biztalk-server-single-sign-on-save-config-data-in-sso/</link>
					<comments>https://blogit.create.pt/tiagooliveira/2015/01/05/biztalk-server-single-sign-on-save-config-data-in-sso/#respond</comments>
		
		<dc:creator><![CDATA[Tiago Oliveira]]></dc:creator>
		<pubDate>Mon, 05 Jan 2015 23:14:53 +0000</pubDate>
				<category><![CDATA[BizTalk Server]]></category>
		<category><![CDATA[Security]]></category>
		<category><![CDATA[SSO]]></category>
		<category><![CDATA[Integration]]></category>
		<guid isPermaLink="false">http://blogit.create.pt/tiagooliveira/?p=1151</guid>

					<description><![CDATA[<p>This is my last post about using SSO on Biztalk Server. In this post I will show how to set and retrieve configuration data from SSO. To configure and set configuration data, Microsoft has an MMC Snap-In called “SSO Configuration Application”, that allow us to create and manipulate applications and their properties (http://www.microsoft.com/en-us/download/details.aspx?id=14524). From the [&#8230;]</p>
<p>The post <a href="https://blogit.create.pt/tiagooliveira/2015/01/05/biztalk-server-single-sign-on-save-config-data-in-sso/">BizTalk Server Single Sign On – Save config data in SSO</a> appeared first on <a href="https://blogit.create.pt">Blog IT</a>.</p>
]]></description>
										<content:encoded><![CDATA[<p>This is my last post about using SSO on Biztalk Server. In this post I will show how to set and retrieve configuration data from SSO.</p>
<p>To configure and set configuration data, Microsoft has an MMC Snap-In called “SSO Configuration Application”, that allow us to create and manipulate applications and their properties (<a title="http://www.microsoft.com/en-us/download/details.aspx?id=14524" href="http://www.microsoft.com/en-us/download/details.aspx?id=14524">http://www.microsoft.com/en-us/download/details.aspx?id=14524</a>).</p>
<p>From the community there are several tools to set SSO configuration. The most well know was created by Richard Seroter in 2007 that allow us to manipulate previously created properties in an easy way (<a title="http://seroter.wordpress.com/2007/09/21/biztalk-sso-configuration-data-storage-tool/" href="http://seroter.wordpress.com/2007/09/21/biztalk-sso-configuration-data-storage-tool/">http://seroter.wordpress.com/2007/09/21/biztalk-sso-configuration-data-storage-tool/</a>).  There are also some Richard Seroter tool improvements, like a version from Mark Burch in <a title="http://biztorque.net/archive/2010/06/07/74.aspx" href="http://biztorque.net/archive/2010/06/07/74.aspx">http://biztorque.net/archive/2010/06/07/74.aspx</a>, that allow us to create new SSO properties.</p>
<p>BizTalk Deployment Framework also include an SSO module, that use a different approach of using the Excel to set SSO config data in each environment (<a title="http://biztalkdeployment.codeplex.com/" href="http://biztalkdeployment.codeplex.com/">http://biztalkdeployment.codeplex.com/</a>).</p>
<p>To get configuration from SSO by code, you can use “SSOConfigHelper.cs” included in Microsoft BizTalk Server 2006 SDK, but still working with the latest Biztalk server versions (<a title="http://www.getcodesamples.com/src/2B2085E1/C4A921B1" href="http://www.getcodesamples.com/src/2B2085E1/C4A921B1">http://www.getcodesamples.com/src/2B2085E1/C4A921B1</a>).<br />
Just get the code and include “Microsoft.BizTalk.Interop.SSOClient.dll” in SSO install folder (for example C:\Program Files\Common Files\Enterprise Single Sign-On\Interop1.1\Microsoft.BizTalk.Interop.SSOClient.dll) and call the read method, setting the previous create application and property name.</p>
<p>Hope that 4 posts about SSO will help you to use SSO more frequently in BizTalk programming.</p>
<p>The post <a href="https://blogit.create.pt/tiagooliveira/2015/01/05/biztalk-server-single-sign-on-save-config-data-in-sso/">BizTalk Server Single Sign On – Save config data in SSO</a> appeared first on <a href="https://blogit.create.pt">Blog IT</a>.</p>
]]></content:encoded>
					
					<wfw:commentRss>https://blogit.create.pt/tiagooliveira/2015/01/05/biztalk-server-single-sign-on-save-config-data-in-sso/feed/</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
			</item>
		<item>
		<title>BizTalk News &#8211; SPECIAL &#8211; Integrate 2014</title>
		<link>https://blogit.create.pt/pedrovala/2014/12/15/biztalk-news-special-integrate-2014/</link>
					<comments>https://blogit.create.pt/pedrovala/2014/12/15/biztalk-news-special-integrate-2014/#respond</comments>
		
		<dc:creator><![CDATA[Pedro Vala]]></dc:creator>
		<pubDate>Mon, 15 Dec 2014 20:00:32 +0000</pubDate>
				<category><![CDATA[BizTalk Server]]></category>
		<category><![CDATA[BizTalk News]]></category>
		<category><![CDATA[Integration]]></category>
		<category><![CDATA[BizTalk]]></category>
		<category><![CDATA[BizTalk Services]]></category>
		<category><![CDATA[Integrate 2014]]></category>
		<category><![CDATA[MABS]]></category>
		<category><![CDATA[Microservices]]></category>
		<guid isPermaLink="false">http://blogit.create.pt/pedrovala/?p=211</guid>

					<description><![CDATA[<p>It seems a lot happened at Integrate 2014! I&#8217;ve been reading all the stuff being written and it&#8217;s clear: the Microservices architecture has brought a big wave of surprise and enthusiasm around the BizTalk community! I leave you with some links and quotes I found relevant about the topic. Edit: integrate videos available here Integrate 2014 &#8220;Simply sit back, relax and watch this [&#8230;]</p>
<p>The post <a href="https://blogit.create.pt/pedrovala/2014/12/15/biztalk-news-special-integrate-2014/">BizTalk News &#8211; SPECIAL &#8211; Integrate 2014</a> appeared first on <a href="https://blogit.create.pt">Blog IT</a>.</p>
]]></description>
										<content:encoded><![CDATA[<p>It seems a lot happened at Integrate 2014!</p>
<p>I&#8217;ve been reading all the stuff being written and it&#8217;s clear: the Microservices architecture has brought a big wave of surprise and enthusiasm around the BizTalk community! I leave you with some links and quotes I found relevant about the topic.</p>
<p>Edit: <a href="http://integrate2014.com/resources/">integrate videos available here</a></p>
<h3>Integrate 2014</h3>
<blockquote>
<p lang="en-US">&#8220;Simply sit back, relax and watch this space for next few months!! there are tons of things happing, all good for people coming from Microsoft integration background&#8221; &#8211; <a href="http://blogs.biztalk360.com/author/saravana/" target="_blank" rel="noopener">Saravana Kumar</a></p>
</blockquote>
<p style="padding-left: 30px"><a href="http://kentweare.blogspot.nl/2014/12/integrate-2014-recap.html" target="_blank" rel="noopener">Integrate 2014 &#8211; RECAP</a></p>
<blockquote>
<p style="text-align: left;padding-left: 60px">&#8220;Integration is no longer a vertical solution, it’s core to the application platform&#8221; &#8211; <a href="http://kentweare.blogspot.pt/" target="_blank" rel="noopener">Kent Weare</a></p>
</blockquote>
<p style="padding-left: 30px"><a href="http://blogs.biztalk360.com/microsoft-making-big-bets-microservices/" target="_blank" rel="noopener">Microsoft making big bets on Microservices</a></p>
<p style="padding-left: 30px"><a href="http://www.quicklearn.com/blog/2014/12/05/integrate-2014-final-thoughts/" target="_blank" rel="noopener">Integrate 2014 – Final Thoughts</a></p>
<blockquote>
<p lang="en-US" style="padding-left: 60px">&#8220;Microservices is not the name of the product, it’s a way you can build Stuff&#8221;</p>
<p lang="en-US" style="padding-left: 60px">&#8220;BizTalk Services Isn’t Going Away, It’s Being Aligned to a Microservices Architecture&#8221;</p>
<p lang="en-US" style="padding-left: 60px">&#8220;It’s a Good Day To Be a BizTalk Dev&#8221;</p>
</blockquote>
<p lang="en-US" style="padding-left: 30px"><a href="http://geekswithblogs.net/cyoung/archive/2014/12/07/integration-and-microservices.aspx" target="_blank" rel="noopener">Integration and Microservices</a></p>
<blockquote>
<p lang="en-US" style="padding-left: 60px">&#8220;I cannot resist the temptation to call this new world ‘microPaaS’, or µPaaS&#8221; &#8211; <a href="https://www.linkedin.com/pub/charles-young/1/870/938" target="_blank" rel="noopener">Charles Young</a></p>
</blockquote>
<p style="padding-left: 30px"><a href="http://ninocrudele.me/2014/12/09/biztalk-microservices-and-integrate-2014-all-my-thoughts/" target="_blank" rel="noopener">BizTalk Microservices, Integrate 2014 and all my thoughts</a></p>
<blockquote>
<p style="padding-left: 60px">&#8220;I’m pretty sure that what Power BI covers will replace our Business Activity Monitoring&#8221; &#8211; <a href="http://ninocrudele.me/" target="_blank" rel="noopener">Nino Crudele</a></p>
</blockquote>
<p style="padding-left: 30px"><a href="http://www.indafield.com/BizTalkNotes/2014/12/06/biztalk-server-microservices-apis/" target="_blank" rel="noopener">BizTalk Server, Microservices &amp; APIs</a></p>
<p style="padding-left: 30px"><a href="http://jamescorbould.wordpress.com/category/azure/microservices/" target="_blank" rel="noopener">Integrate 2014: Thoughts on the Announcement of the BizTalk Microservices Platform</a></p>
<blockquote>
<p style="padding-left: 60px">&#8220;My immediate reaction was: this is <a href="http://docs.docker.com/introduction/understanding-docker/" target="_blank" rel="noopener">Docker</a>!&#8221; &#8211; <a href="http://jamescorbould.wordpress.com/" target="_blank" rel="noopener">James Corbould</a></p>
</blockquote>
<p style="padding-left: 30px"><a href="https://blog.docker.com/2014/10/docker-microsoft-partner-distributed-applications/" target="_blank" rel="noopener">Docker and Microsoft Partner to Drive Adoption of Distributed Applications to Every Enterprise Operating System and Cloud</a></p>
<blockquote>
<p style="padding-left: 60px">&#8220;Microsoft and Docker share a common vision that multi-container applications should be assembled using both Dockerized Windows and Dockerized Linux components.&#8221;</p>
<p>&nbsp;</p></blockquote>
<h3>About Microservices</h3>
<p style="text-align: left;padding-left: 30px"><a href="http://martinfowler.com/articles/microservices.html" target="_blank" rel="noopener">Microservices (by Martin Fowler)</a></p>
<p style="text-align: left;padding-left: 30px"><a href="http://literateprogrammer.blogspot.pt/2014/04/microservices-relax.html" target="_blank" rel="noopener">Microservices Relax</a></p>
<p style="text-align: left;padding-left: 30px"><a href="http://www.wavemaker.com/" target="_blank" rel="noopener">WaveMaker Unveils New API Designer for Enterprise Developers Using Microservices Architecture</a></p>
<p>&nbsp;</p>
<h3>Upcoming Events</h3>
<h6 style="text-align: left"><a href="http://biztalkevents.com/">BizTalk Events Calendar  </a><strong>(<a href="https://www.google.com/calendar/feeds/9atrio0n440vbvpji3jgekkaho%40group.calendar.google.com/public/basic">RSS</a>)</strong></h6>
<p>The post <a href="https://blogit.create.pt/pedrovala/2014/12/15/biztalk-news-special-integrate-2014/">BizTalk News &#8211; SPECIAL &#8211; Integrate 2014</a> appeared first on <a href="https://blogit.create.pt">Blog IT</a>.</p>
]]></content:encoded>
					
					<wfw:commentRss>https://blogit.create.pt/pedrovala/2014/12/15/biztalk-news-special-integrate-2014/feed/</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
			</item>
	</channel>
</rss>
