<?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>Tiago Oliveira, Author at Blog IT</title>
	<atom:link href="https://blogit.create.pt/author/tiagooliveira/feed/" rel="self" type="application/rss+xml" />
	<link></link>
	<description>Create IT blogger community</description>
	<lastBuildDate>Fri, 08 May 2020 08:35:07 +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>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 fetchpriority="high" 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>VSTS &#8211; How to link a GIT commit with backlog task or bug</title>
		<link>https://blogit.create.pt/tiagooliveira/2017/07/23/vsts-how-to-link-a-git-commit-with-backlog-task-or-bug/</link>
					<comments>https://blogit.create.pt/tiagooliveira/2017/07/23/vsts-how-to-link-a-git-commit-with-backlog-task-or-bug/#respond</comments>
		
		<dc:creator><![CDATA[Tiago Oliveira]]></dc:creator>
		<pubDate>Sun, 23 Jul 2017 20:26:51 +0000</pubDate>
				<category><![CDATA[VSTS]]></category>
		<category><![CDATA[Tools]]></category>
		<category><![CDATA[Scrum]]></category>
		<guid isPermaLink="false">http://blogit.create.pt/tiagooliveira/?p=1654</guid>

					<description><![CDATA[<p>It&#8217;s very easy and recommended to link all GIT commits with VSTS scrum backlog tasks or bugs. Just put the task or bug &#8220;id&#8221; in the commit description with the #[id] format. For example, if you want to link a specific commit to the task &#8220;28&#8221;, put &#8220;#28&#8221; in the commit description like &#8220;Bla bla #28&#8220;. [&#8230;]</p>
<p>The post <a href="https://blogit.create.pt/tiagooliveira/2017/07/23/vsts-how-to-link-a-git-commit-with-backlog-task-or-bug/">VSTS &#8211; How to link a GIT commit with backlog task or bug</a> appeared first on <a href="https://blogit.create.pt">Blog IT</a>.</p>
]]></description>
										<content:encoded><![CDATA[<p>It&#8217;s very easy and recommended to link all GIT commits with VSTS scrum backlog tasks or bugs.<br />
Just put the task or bug &#8220;id&#8221; in the commit description with the #[id] format.</p>
<p>For example, if you want to link a specific commit to the task &#8220;28&#8221;, put &#8220;#28&#8221; in the commit description like &#8220;Bla bla <strong>#28</strong>&#8220;.</p>
<p><a href="http://blogit.create.pt/tiagooliveira/wp-content/uploads/sites/101/2017/07/VSTS-Git2.png"><img decoding="async" class="alignnone size-full wp-image-1684" src="http://blogit.create.pt/tiagooliveira/wp-content/uploads/sites/101/2017/07/VSTS-Git2.png" alt="" width="1857" height="433" srcset="https://blogit.create.pt/wp-content/uploads/2017/07/VSTS-Git2.png 1857w, https://blogit.create.pt/wp-content/uploads/2017/07/VSTS-Git2-300x70.png 300w, https://blogit.create.pt/wp-content/uploads/2017/07/VSTS-Git2-768x179.png 768w, https://blogit.create.pt/wp-content/uploads/2017/07/VSTS-Git2-1024x239.png 1024w, https://blogit.create.pt/wp-content/uploads/2017/07/VSTS-Git2-696x162.png 696w, https://blogit.create.pt/wp-content/uploads/2017/07/VSTS-Git2-1068x249.png 1068w, https://blogit.create.pt/wp-content/uploads/2017/07/VSTS-Git2-1801x420.png 1801w" sizes="(max-width: 1857px) 100vw, 1857px" /></a></p>
<p><a href="http://blogit.create.pt/tiagooliveira/wp-content/uploads/sites/101/2017/07/VSTS-Git3-1.png"><img decoding="async" class="alignnone size-full wp-image-1734" src="http://blogit.create.pt/tiagooliveira/wp-content/uploads/sites/101/2017/07/VSTS-Git3-1.png" alt="" width="570" height="308" srcset="https://blogit.create.pt/wp-content/uploads/2017/07/VSTS-Git3-1.png 570w, https://blogit.create.pt/wp-content/uploads/2017/07/VSTS-Git3-1-300x162.png 300w" sizes="(max-width: 570px) 100vw, 570px" /></a><br />
All commits will be linked with the task or bug and shown in the development area.</p>
<p><a href="http://blogit.create.pt/tiagooliveira/wp-content/uploads/sites/101/2017/07/VSTS-Git-1.png"><img decoding="async" class="alignnone wp-image-1674" src="http://blogit.create.pt/tiagooliveira/wp-content/uploads/sites/101/2017/07/VSTS-Git-1.png" alt="" width="356" height="322" srcset="https://blogit.create.pt/wp-content/uploads/2017/07/VSTS-Git-1.png 493w, https://blogit.create.pt/wp-content/uploads/2017/07/VSTS-Git-1-300x271.png 300w, https://blogit.create.pt/wp-content/uploads/2017/07/VSTS-Git-1-464x420.png 464w" sizes="(max-width: 356px) 100vw, 356px" /></a></p>
<p>The post <a href="https://blogit.create.pt/tiagooliveira/2017/07/23/vsts-how-to-link-a-git-commit-with-backlog-task-or-bug/">VSTS &#8211; How to link a GIT commit with backlog task or bug</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/23/vsts-how-to-link-a-git-commit-with-backlog-task-or-bug/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 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 Server Single Sign On &#8211; Using SSO with adapters</title>
		<link>https://blogit.create.pt/tiagooliveira/2014/12/10/biztalk-server-single-sign-on-using-sso-with-adapters/</link>
					<comments>https://blogit.create.pt/tiagooliveira/2014/12/10/biztalk-server-single-sign-on-using-sso-with-adapters/#respond</comments>
		
		<dc:creator><![CDATA[Tiago Oliveira]]></dc:creator>
		<pubDate>Wed, 10 Dec 2014 23:15:32 +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=1051</guid>

					<description><![CDATA[<p>In BizTalk Server there are several adapters that automatically support SSO without any code. Many BizTalk Adapters already support this feature, like SQL, most of WCF, Oracle, FTP, HTTP, etc. The SSO configuration to support this feature is very easy. First enter SSO Administration tool, and create a new affiliate application with the above settings (you can [&#8230;]</p>
<p>The post <a href="https://blogit.create.pt/tiagooliveira/2014/12/10/biztalk-server-single-sign-on-using-sso-with-adapters/">BizTalk Server Single Sign On &#8211; Using SSO with adapters</a> appeared first on <a href="https://blogit.create.pt">Blog IT</a>.</p>
]]></description>
										<content:encoded><![CDATA[<p>In BizTalk Server there are several adapters that automatically support SSO without any code.<br />
Many BizTalk Adapters already support this feature, like SQL, most of WCF, Oracle, FTP, HTTP, etc.</p>
<p>The SSO configuration to support this feature is very easy.<br />
First enter SSO Administration tool, and create a new affiliate application with the above settings (you can put any name in the application name):</p>
<p><a href="http://blogit.create.pt/tiagooliveira/wp-content/uploads/sites/101/2014/12/image.png"><img decoding="async" style="padding-top: 0px;padding-left: 0px;padding-right: 0px;border: 0px" title="image" src="http://blogit.create.pt/tiagooliveira/wp-content/uploads/sites/101/2014/12/image_thumb.png" alt="image" width="610" height="368" border="0" /></a></p>
<p><a href="http://blogit.create.pt/tiagooliveira/wp-content/uploads/sites/101/2014/12/image1.png"><img decoding="async" style="padding-top: 0px;padding-left: 0px;padding-right: 0px;border: 0px" title="image" src="http://blogit.create.pt/tiagooliveira/wp-content/uploads/sites/101/2014/12/image_thumb1.png" alt="image" width="608" height="361" border="0" /></a></p>
<p><a href="http://blogit.create.pt/tiagooliveira/wp-content/uploads/sites/101/2014/12/image2.png"><img decoding="async" style="padding-top: 0px;padding-left: 0px;padding-right: 0px;border: 0px" title="image" src="http://blogit.create.pt/tiagooliveira/wp-content/uploads/sites/101/2014/12/image_thumb2.png" alt="image" width="608" height="364" border="0" /></a></p>
<p><a href="http://blogit.create.pt/tiagooliveira/wp-content/uploads/sites/101/2014/12/image3.png"><img decoding="async" style="padding-top: 0px;padding-left: 0px;padding-right: 0px;border: 0px" title="image" src="http://blogit.create.pt/tiagooliveira/wp-content/uploads/sites/101/2014/12/image_thumb3.png" alt="image" width="606" height="358" border="0" /></a></p>
<p>In BizTalk Server Administration, when setting the receive location configuration, set the use SSO option, and use an isolated host with a running account that belongs to the SSO application administrators group (images above).</p>
<p><a href="http://blogit.create.pt/tiagooliveira/wp-content/uploads/sites/101/2014/12/image5.png"><img decoding="async" style="padding-top: 0px;padding-left: 0px;padding-right: 0px;border: 0px" title="image" src="http://blogit.create.pt/tiagooliveira/wp-content/uploads/sites/101/2014/12/image_thumb5.png" alt="image" width="401" height="563" border="0" /></a></p>
<p><a href="http://blogit.create.pt/tiagooliveira/wp-content/uploads/sites/101/2014/12/image4.png"><img decoding="async" style="padding-top: 0px;padding-left: 0px;margin: 0px;padding-right: 0px;border: 0px" title="image" src="http://blogit.create.pt/tiagooliveira/wp-content/uploads/sites/101/2014/12/image_thumb4.png" alt="image" width="608" height="359" border="0" /></a></p>
<p>In the send port adapter configuration set the affiliate application created earlier.<br />
<a href="http://blogit.create.pt/tiagooliveira/wp-content/uploads/sites/101/2014/12/image6.png"><img decoding="async" style="padding-top: 0px;padding-left: 0px;padding-right: 0px;border: 0px" title="image" src="http://blogit.create.pt/tiagooliveira/wp-content/uploads/sites/101/2014/12/image_thumb6.png" alt="image" width="399" height="548" border="0" /></a></p>
<p><a href="http://blogit.create.pt/tiagooliveira/wp-content/uploads/sites/101/2014/12/image7.png"><img decoding="async" style="padding-top: 0px;padding-left: 0px;padding-right: 0px;border: 0px" title="image" src="http://blogit.create.pt/tiagooliveira/wp-content/uploads/sites/101/2014/12/image_thumb7.png" alt="image" width="395" height="506" border="0" /></a></p>
<p>To finalize the configuration, you must set SSO to allow ticket usage (by default is not allowed).<br />
Execute the following instruction in the command prompt “ssomanage -tickets yes” (<a title="http://msdn.microsoft.com/en-us/library/aa559512.aspx" href="http://msdn.microsoft.com/en-us/library/aa559512.aspx">http://msdn.microsoft.com/en-us/library/aa559512.aspx</a>)</p>
<p>The credential mapping is working without any &#8220;hand made&#8221; code creation.</p>
<p>The post <a href="https://blogit.create.pt/tiagooliveira/2014/12/10/biztalk-server-single-sign-on-using-sso-with-adapters/">BizTalk Server Single Sign On &#8211; Using SSO with adapters</a> appeared first on <a href="https://blogit.create.pt">Blog IT</a>.</p>
]]></content:encoded>
					
					<wfw:commentRss>https://blogit.create.pt/tiagooliveira/2014/12/10/biztalk-server-single-sign-on-using-sso-with-adapters/feed/</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
			</item>
		<item>
		<title>BizTalk Server Single Sign On &#8211; Get mapped credential by code</title>
		<link>https://blogit.create.pt/tiagooliveira/2014/11/13/biztalk-server-single-sign-on-get-mapped-credential-by-code/</link>
					<comments>https://blogit.create.pt/tiagooliveira/2014/11/13/biztalk-server-single-sign-on-get-mapped-credential-by-code/#respond</comments>
		
		<dc:creator><![CDATA[Tiago Oliveira]]></dc:creator>
		<pubDate>Thu, 13 Nov 2014 22:40:02 +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=711</guid>

					<description><![CDATA[<p>This is my second post about using single sign on in Biztalk Server. In this post i will show how to access mapped credentials by code. First create a new affiliate application and a credential mapping as i show in the last post. Create a new class library project called “Test.SSO” Add a reference to [&#8230;]</p>
<p>The post <a href="https://blogit.create.pt/tiagooliveira/2014/11/13/biztalk-server-single-sign-on-get-mapped-credential-by-code/">BizTalk Server Single Sign On &#8211; Get mapped credential by code</a> appeared first on <a href="https://blogit.create.pt">Blog IT</a>.</p>
]]></description>
										<content:encoded><![CDATA[<p>This is my second post about using single sign on in Biztalk Server.<br />
In this post i will show how to access mapped credentials by code.</p>
<p>First create a new affiliate application and a credential mapping as i show in the last post.</p>
<ol>
<ol>
<li>Create a new class library project called “Test.SSO”</li>
<li>Add a reference to the assembly “Microsoft.BizTalk.Interop.SSOClient.dll”, located in “C:\Program Files\Common Files\Enterprise Single Sign-On”</li>
<li>Add the following code in a new class called SSOManager
<pre class="brush: csharp; title: ; notranslate">
using System;
using System.Collections;
using System.Collections.Specialized;
using Microsoft.BizTalk.SSOClient.Interop;
namespace Test.SSO
{
     public static class SSOManager
     {
          /// &lt;summary&gt;
          /// Get external application credentials.
          /// &lt;/summary&gt;
          /// &lt;param name=&quot;ticket&quot;&gt;Credential ticket generated by biztalk receive port.&lt;/param&gt;
          /// &lt;param name=&quot;appName&quot;&gt;Application name to get external credentials.&lt;/param&gt;
          /// &lt;param name=&quot;userAccount&quot;&gt;User account to get external credentials.&lt;/param&gt;
          /// &lt;returns&gt;ArrayList with mapped credentials.&lt;/returns&gt;
          public static ArrayList GetExternalApplicationCredentials(string ticket, string appName, string userAccount)
          {
               ISSOTicket ssoTicket = new ISSOTicket();
               string externalUsername;
               string&#x5B;] credentials = ssoTicket.RedeemTicket(appName, userAccount, ticket, SSOFlag.SSO_WINDOWS_TO_EXTERNAL, out externalUsername);

               if (credentials == null || credentials.Length == 0 || String.IsNullOrWhiteSpace(externalUsername))
               {
                    return null;
               }

               ArrayList credentialsList = new ArrayList();
               credentialsList.Add(externalUsername);
               credentialsList.AddRange(credentials);
               return credentialsList;
          }
     }
}
</pre>
</li>
<li>Create a new Orchestration called SSOOrch</li>
<li>Include a reference to the previous created class library</li>
<li>Publish a new wcf service  using “WCF Service Publishing Wizard” and publish it at basic auth (<a title="http://msdn.microsoft.com/en-us/library/bb226564.aspx" href="http://msdn.microsoft.com/en-us/library/bb226564.aspx">http://msdn.microsoft.com/en-us/library/bb226564.aspx</a>)</li>
<li>Set the Orchestration receive location to receive messages from the service created</li>
<li>Configure the receive location security área like the following image, but checking &#8220;Use Single-On&#8221; option.<br />
<a href="http://blogit.create.pt/tiagooliveira/wp-content/uploads/sites/101/2014/11/image_thumb.png"><img decoding="async" class="alignnone size-full wp-image-661" src="http://blogit.create.pt/tiagooliveira/wp-content/uploads/sites/101/2014/11/image_thumb.png" alt="image_thumb.png" width="294" height="407" /></a></li>
<li>Create na Orchestration variable called ssoMapping as ArrayList</li>
<li>Add a new expression shape in the orchestration</li>
<li>Add the following code in the previous expression Shape (TestApp is the name of the affiliate application previously created)<br />
ssoMapping = Test.SSO.SSOManager.GetExternalApplicationMapping(SSOOrch(BTS.SSOTicket), “TestApp”, SSOOrch(BTS.WindowsUser));</li>
<li>Complete the orchestration by setting a send shape to file system.</li>
<li>Deploy the orchestration and set the regular configurations, but <strong>very important</strong> &#8211; set an host instance with an account that belongs to a SSO application administration group<br />
<a href="http://blogit.create.pt/tiagooliveira/wp-content/uploads/sites/101/2014/11/image1.png"><img decoding="async" style="padding-top: 0px;padding-left: 0px;padding-right: 0px;border: 0px" title="image" src="http://blogit.create.pt/tiagooliveira/wp-content/uploads/sites/101/2014/11/image_thumb1.png" alt="image" width="312" height="230" border="0" /></a></li>
<li>Invoke the previously created wcf service with an account that you have set in the SSO mapping.</li>
<li>If you debug the orchestration, you will get in the ssoMapping ArrayList 4 parameters with the data you have set in “User Id”, “MappedUser”, “”MappedPassword” and “MappedDomain” as you see in the next image.<br />
<a href="http://blogit.create.pt/tiagooliveira/wp-content/uploads/sites/101/2014/11/image2.png"><img decoding="async" style="border: 0px currentColor;padding-top: 0px;padding-right: 0px;padding-left: 0px" title="image" src="http://blogit.create.pt/tiagooliveira/wp-content/uploads/sites/101/2014/11/image_thumb2.png" alt="image" width="336" height="166" border="0" /></a></li>
</ol>
</ol>
<p>Hope this example will help you to easily use SSO in BizTalk Server.<br />
Happy coding.</p>
<p>The post <a href="https://blogit.create.pt/tiagooliveira/2014/11/13/biztalk-server-single-sign-on-get-mapped-credential-by-code/">BizTalk Server Single Sign On &#8211; Get mapped credential by code</a> appeared first on <a href="https://blogit.create.pt">Blog IT</a>.</p>
]]></content:encoded>
					
					<wfw:commentRss>https://blogit.create.pt/tiagooliveira/2014/11/13/biztalk-server-single-sign-on-get-mapped-credential-by-code/feed/</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
			</item>
		<item>
		<title>BizTalk Server Single Sign On Configuration</title>
		<link>https://blogit.create.pt/tiagooliveira/2014/10/30/biztalk-server-single-sign-on-configuration/</link>
					<comments>https://blogit.create.pt/tiagooliveira/2014/10/30/biztalk-server-single-sign-on-configuration/#comments</comments>
		
		<dc:creator><![CDATA[Tiago Oliveira]]></dc:creator>
		<pubDate>Thu, 30 Oct 2014 22:16:35 +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=601</guid>

					<description><![CDATA[<p>This is my first post (in a total of four) about using SSO on BizTalk Server. In this post i will show how to config an 1 on 1 credential mapping in SSO, in the next 3 posts i will show how to access mapped credentials by code, use SSO directly in BizTalk adapters, and [&#8230;]</p>
<p>The post <a href="https://blogit.create.pt/tiagooliveira/2014/10/30/biztalk-server-single-sign-on-configuration/">BizTalk Server Single Sign On Configuration</a> appeared first on <a href="https://blogit.create.pt">Blog IT</a>.</p>
]]></description>
										<content:encoded><![CDATA[<p>This is my first post (in a total of four) about using SSO on BizTalk Server.<br />
In this post i will show how to config an 1 on 1 credential mapping in SSO, in the next 3 posts i will show how to access mapped credentials by code, use SSO directly in BizTalk adapters, and the most commonly used to store key pair values.</p>
<p>It’s very easy to configure SSO to store credential mapping data.<br />
First access mmc console and choose Enterprise Single-Sign-On application.</p>
<p><a href="https://blogit.create.pt////wp-content/uploads/2014/10/SSO1_1.png"><img decoding="async" class="alignnone" style="padding-top: 0px;padding-left: 0px;padding-right: 0px;border-width: 0px" title="SSO1_1" src="http://blogit.create.pt/tiagooliveira/wp-content/uploads/sites/101/2014/10/SSO1_1_thumb.png" alt="SSO1_1" width="495" height="346" border="0" /></a></p>
<p>Then choose Affiliate Applications and select “Create Application”.</p>
<p><a href="http://blogit.create.pt/tiagooliveira/wp-content/uploads/sites/101/2014/10/SSO1_2.png"><img decoding="async" style="padding-top: 0px;padding-left: 0px;padding-right: 0px;border-width: 0px" title="SSO1_2" src="http://blogit.create.pt/tiagooliveira/wp-content/uploads/sites/101/2014/10/SSO1_2_thumb.png" alt="SSO1_2" width="499" height="263" border="0" /></a></p>
<p>The application creation wizard starts. Choose “next”.</p>
<p><a href="http://blogit.create.pt/tiagooliveira/wp-content/uploads/sites/101/2014/10/SSO1_3.png"><img decoding="async" style="padding-top: 0px;padding-left: 0px;padding-right: 0px;border-width: 0px" title="SSO1_3" src="http://blogit.create.pt/tiagooliveira/wp-content/uploads/sites/101/2014/10/SSO1_3_thumb.png" alt="SSO1_3" width="501" height="263" border="0" /></a></p>
<p>For 1 on 1 credential mapping, select “Individual” application Type. To read about all mapping types, check <a href="http://msdn.microsoft.com/en-us/library/aa578204.aspx">http://msdn.microsoft.com/en-us/library/aa578204.aspx</a>.<br />
Select the application name, description and leave the other options unchecked (if you are using dev or single server, check the option “Allow local accounts for access accounts”).</p>
<p><a href="http://blogit.create.pt/tiagooliveira/wp-content/uploads/sites/101/2014/10/SSO1_4.png"><img decoding="async" style="padding-top: 0px;padding-left: 0px;padding-right: 0px;border-width: 0px" title="SSO1_4" src="http://blogit.create.pt/tiagooliveira/wp-content/uploads/sites/101/2014/10/SSO1_4_thumb.png" alt="SSO1_4" width="502" height="376" border="0" /></a></p>
<p>Set the Windows group that will manage this Affiliate Application in the “Application Administrators” picker.<br />
Set the windows group for which mappings can be created in “Application Users” picker.<br />
You can check more about this configurations in <a href="http://msdn.microsoft.com/en-us/library/aa561561.aspx">http://msdn.microsoft.com/en-us/library/aa561561.aspx</a>.</p>
<p><a href="http://blogit.create.pt/tiagooliveira/wp-content/uploads/sites/101/2014/10/SSO1_5.png"><img decoding="async" style="padding-top: 0px;padding-left: 0px;padding-right: 0px;border-width: 0px" title="SSO1_5" src="http://blogit.create.pt/tiagooliveira/wp-content/uploads/sites/101/2014/10/SSO1_5_thumb.png" alt="SSO1_5" width="502" height="373" border="0" /></a></p>
<p>In the Options menu check the following options:</p>
<ul>
<li style="list-style-type: none">
<ul>
<li>Enabled.</li>
<li>Allow Windows initiated SSO.</li>
<li>Tickets Allowed (with all ticket options selected).</li>
<li>Application Users cannot create mappings (only a security measure).</li>
</ul>
</li>
</ul>
<p>A ticket is a kind of SSO encrypted context, that contains the request user domain and username and the ticket expiration time.<br />
You can check more info about SSO tickets in  <a href="http://msdn.microsoft.com/en-us/library/aa578039.aspx">http://msdn.microsoft.com/en-us/library/aa578039.aspx</a>.</p>
<p><a href="http://blogit.create.pt/tiagooliveira/wp-content/uploads/sites/101/2014/10/SSO1_6.png"><img decoding="async" style="padding-top: 0px;padding-left: 0px;padding-right: 0px;border-width: 0px" title="SSO1_6" src="http://blogit.create.pt/tiagooliveira/wp-content/uploads/sites/101/2014/10/SSO1_6_thumb.png" alt="SSO1_6" width="514" height="383" border="0" /></a></p>
<p>In the fields menu, you must choose the destiny application attributes to map in this SSO affiliate application.<br />
I have created 3 attributes (Mapped User, Password and Domain).<br />
The User ID mapping is created by default and is a mapped credential unique key.<br />
The masked attribute is used for the password fields, and the synchronized attribute determines that the field is used for password synchronization.</p>
<p><a href="http://blogit.create.pt/tiagooliveira/wp-content/uploads/sites/101/2014/10/SSO1_7.png"><img decoding="async" style="padding-top: 0px;padding-left: 0px;padding-right: 0px;border-width: 0px" title="SSO1_7" src="http://blogit.create.pt/tiagooliveira/wp-content/uploads/sites/101/2014/10/SSO1_7_thumb.png" alt="SSO1_7" width="517" height="384" border="0" /></a></p>
<p>The affiliate application is created successfully.</p>
<p><a href="http://blogit.create.pt/tiagooliveira/wp-content/uploads/sites/101/2014/10/SSO1_8.png"><img decoding="async" style="padding-top: 0px;padding-left: 0px;padding-right: 0px;border-width: 0px" title="SSO1_8" src="http://blogit.create.pt/tiagooliveira/wp-content/uploads/sites/101/2014/10/SSO1_8_thumb.png" alt="SSO1_8" width="516" height="382" border="0" /></a></p>
<p>After creating the affiliate application it’s very easy to create a mapped credential.<br />
Just go to the Affiliate Applications menu, select the previously created “TestApp” application and “New Mapping” option.</p>
<p><a href="http://blogit.create.pt/tiagooliveira/wp-content/uploads/sites/101/2014/10/SSO1_9.png"><img decoding="async" style="padding-top: 0px;padding-left: 0px;padding-right: 0px;border-width: 0px" title="SSO1_9" src="http://blogit.create.pt/tiagooliveira/wp-content/uploads/sites/101/2014/10/SSO1_9_thumb.png" alt="SSO1_9" width="518" height="272" border="0" /></a></p>
<p>In the “Create New Mapping” menu select the windows account to map and the unique destiny account name to map.<br />
Check the “Set credentails for this mapping” option.</p>
<p><a href="http://blogit.create.pt/tiagooliveira/wp-content/uploads/sites/101/2014/10/SSO1_10.png"><img decoding="async" style="padding-top: 0px;padding-left: 0px;padding-right: 0px;border-width: 0px" title="SSO1_10" src="http://blogit.create.pt/tiagooliveira/wp-content/uploads/sites/101/2014/10/SSO1_10_thumb.png" alt="SSO1_10" width="528" height="262" border="0" /></a></p>
<p>In the Set Credentials menu, set the mapped data.<br />
The user id can be used to store the mapped user data, but beware because user id must be unique. So I have created the MappedUser field, because I can have multiple source accounts to map to the same destiny account data.</p>
<p><a href="http://blogit.create.pt/tiagooliveira/wp-content/uploads/sites/101/2014/10/SSO1_11.png"><img decoding="async" style="padding-top: 0px;padding-left: 0px;padding-right: 0px;border-width: 0px" title="SSO1_11" src="http://blogit.create.pt/tiagooliveira/wp-content/uploads/sites/101/2014/10/SSO1_11_thumb.png" alt="SSO1_11" width="534" height="262" border="0" /></a></p>
<p>The new mapped credential appears in the “TestApp” affiliate application mapped credentials.</p>
<p><a href="http://blogit.create.pt/tiagooliveira/wp-content/uploads/sites/101/2014/10/SSO1_12.png"><img decoding="async" style="padding-top: 0px;padding-left: 0px;padding-right: 0px;border-width: 0px" title="SSO1_12" src="http://blogit.create.pt/tiagooliveira/wp-content/uploads/sites/101/2014/10/SSO1_12_thumb.png" alt="SSO1_12" width="533" height="200" border="0" /></a></p>
<p>In the next post I will show how to get the mapped credentials data by code, to use for example in a BizTalk Orchestration or Pipeline.</p>
<p>The post <a href="https://blogit.create.pt/tiagooliveira/2014/10/30/biztalk-server-single-sign-on-configuration/">BizTalk Server Single Sign On Configuration</a> appeared first on <a href="https://blogit.create.pt">Blog IT</a>.</p>
]]></content:encoded>
					
					<wfw:commentRss>https://blogit.create.pt/tiagooliveira/2014/10/30/biztalk-server-single-sign-on-configuration/feed/</wfw:commentRss>
			<slash:comments>2</slash:comments>
		
		
			</item>
		<item>
		<title>Biztalk xml header processing</title>
		<link>https://blogit.create.pt/tiagooliveira/2009/08/17/biztalk-xml-header-processing/</link>
					<comments>https://blogit.create.pt/tiagooliveira/2009/08/17/biztalk-xml-header-processing/#respond</comments>
		
		<dc:creator><![CDATA[Tiago Oliveira]]></dc:creator>
		<pubDate>Mon, 17 Aug 2009 17:44:00 +0000</pubDate>
				<category><![CDATA[BizTalk Server]]></category>
		<category><![CDATA[Infopath]]></category>
		<category><![CDATA[Office]]></category>
		<category><![CDATA[Integration]]></category>
		<guid isPermaLink="false">http://blogcreate.azurewebsites.net/tiagooliveira/?p=41</guid>

					<description><![CDATA[<p>When we use infopath or similar technologies with biztalk, the messages have always a xml processing header. Biztalk does not copy xml processing header to the output messages by default, so we have to set it manually. There are several options in biztalk to manipulate xml header processing in output messages: Set the header in [&#8230;]</p>
<p>The post <a href="https://blogit.create.pt/tiagooliveira/2009/08/17/biztalk-xml-header-processing/">Biztalk xml header processing</a> appeared first on <a href="https://blogit.create.pt">Blog IT</a>.</p>
]]></description>
										<content:encoded><![CDATA[<p>When we use infopath or similar technologies with biztalk, the messages have always a xml processing header. Biztalk does not copy xml processing header to the output messages by default, so we have to set it manually.</p>
<p>There are several options in biztalk to manipulate xml header processing in output messages:</p>
<ul>
<li>Set the header in orchestration using the message context properties</li>
</ul>
<blockquote><p>Example<br />
<strong>message(XMLNORM.ProcessingInstructionOption)</strong> = <strong>0 </strong>(append) or <strong>1 </strong>(create new);<br />
<strong>message(XMLNORM.ProcessingInstruction)</strong> = “xml processing header to add or append”;</p></blockquote>
<blockquote><p><strong>Important</strong>: For the demoting process to occur, you must use the Xml assembler component or xml transmit pipeline in the output send port.</p></blockquote>
<ul>
<li>Use xml transmit pipeline or a custom pipeline with the xml assembler component in the output send port</li>
</ul>
<blockquote><p>When you use the xml transmit pipeline, you must set the following properties:</p>
<p><strong>ProcessingInstructionsOptions – </strong><strong>0 </strong>(append) or <strong>1 </strong>(create new)<br />
<strong>XmlAsmProcessingInstructions &#8211;</strong> “xml processing header to add or append”</p></blockquote>
<ul>
<li>Use a custom pipeline component</li>
</ul>
<blockquote><p>When  you use a custom pipeline with xml assembler component, set the following properties:</p>
<p><span style="font-family: Thread-00001ff8-Id-000000be">Add Processing Instructions</span> – Append or Create new<br />
<span style="font-family: Thread-00001ff8-Id-000000be">Add processing instructions text &#8211;</span> “xml processing header to add or append”</p>
<p>This option is the most difficult to implement, you have to create a custom assembler component, get and change the output message.</p></blockquote>
<p>Do not forget to set the the biztalk maps property “<strong>copy processing instructions (pis)</strong>” to <strong>“yes”</strong> when you want to copy the processing instructions from the input to output messages.</p>
<p>The post <a href="https://blogit.create.pt/tiagooliveira/2009/08/17/biztalk-xml-header-processing/">Biztalk xml header processing</a> appeared first on <a href="https://blogit.create.pt">Blog IT</a>.</p>
]]></content:encoded>
					
					<wfw:commentRss>https://blogit.create.pt/tiagooliveira/2009/08/17/biztalk-xml-header-processing/feed/</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
			</item>
	</channel>
</rss>
