<?xml version="1.0" encoding="utf-8"?>
<rss xmlns:atom="https://www.w3.org/2005/Atom" xmlns:sy="https://purl.org/rss/1.0/modules/syndication/" xmlns:dc="https://purl.org/dc/elements/1.1/" xmlns:content="https://purl.org/rss/1.0/modules/content/" xmlns:wfw="https://wellformedweb.org/CommentAPI/" xmlns:slash="https://purl.org/rss/1.0/modules/slash/"
  version="2.0">
  <channel>
    <title>Karthik Bharathy's Blog</title>
    <atom:link
      href="https://docs.microsoft.com/archive/blogs/karthikbharathy/feed.xml"
      rel="self"
      type="application/rss+xml" />
    <link>https://docs.microsoft.com/archive/blogs/karthikbharathy/feed.xml</link>
    <description>You will find me blogging about technology and other areas that are upcoming/interesting. Your can post your thoughts/comments here or to my twitter id kb_chirps.</description>
    <lastBuildDate>Wed, 17 Apr 2019 04:02:10 GMT</lastBuildDate>
    <language>en-US</language>
    <sy:updatePeriod>hourly</sy:updatePeriod>
    <sy:updateFrequency>1</sy:updateFrequency>
    <item>
      <title>PowerApps and Dynamics 365 for Financials</title>
      <link>https://docs.microsoft.com/archive/blogs/karthikbharathy/powerapps-and-d365-financials</link>
      <pubDate>Mon, 14 Nov 2016 08:00:11 GMT</pubDate>
      <dc:creator><![CDATA[Karthik_Bharathy [MSFT]]]></dc:creator>
      <guid
        isPermaLink="false">https://blogs.msdn.microsoft.com/karthikbharathy/?p=85</guid>
      <description><![CDATA[Organization manage their purchase orders, payments and invoices using financial management tools....]]></description>
      <content:encoded><![CDATA[<span style="margin: 0px;line-height: 107%;font-family: 'Calibri',sans-serif;font-size: 11pt"><span style="color: #000000">Organization manage their purchase orders, payments and invoices using financial management tools. Dynamics 365 for Financials is probably one of the easiest tool I have used so far. In this walkthrough, we bring together the power of using PowerApps and Dynamics 365 for Financials together using Sales Orders as an example. </span></span>

&nbsp;
<h2>1. Sign up for Microsoft Dynamics 365 for Financials</h2>
<span style="color: #000000;font-family: Calibri">First things first – if you have never tried using the service, get yourself a free trial account. It is quick and easy to sign-up without a credit card. You will only need a work or school account to sign-up for Dynamics 365 for Financials. </span><span style="color: #000000;font-family: Calibri">If you don’t have such an account already, you can sign-up for an Office 365 Enterprise E5 Trial <a href="https://products.office.com/en-us/business/office-365-enterprise-e5-business-software">here</a>.</span>

<img class="alignnone size-large wp-image-295" alt="trial" src="https://msdnshared.blob.core.windows.net/media/2016/11/trial-1024x489.png" width="1024" height="489" /><span style="color: #000000;font-family: Calibri"></span>

&nbsp;
<ul>
 	<li><span style="color: #000000;font-family: Calibri">Next, enter your work account email</span></li>
</ul>
<a href="https://msdnshared.blob.core.windows.net/media/2016/11/signup.png"><img class="alignnone wp-image-275" alt="signup" src="https://msdnshared.blob.core.windows.net/media/2016/11/signup.png" width="500" height="250" /></a>

&nbsp;
<ul>
 	<li>Sign-in if you have already registered before.</li>
</ul>
<a href="https://msdnshared.blob.core.windows.net/media/2016/11/signin.png"><img class="alignnone wp-image-265" alt="signin" src="https://msdnshared.blob.core.windows.net/media/2016/11/signin.png" width="500" height="229" /></a>

&nbsp;
<ul>
 	<li>If you have the license, the sign-up process would indicate the same. In which case, click OK to proceed.</li>
</ul>
<a href="https://msdnshared.blob.core.windows.net/media/2016/11/Signedup.png"><img class="alignnone wp-image-255" alt="signedup" src="https://msdnshared.blob.core.windows.net/media/2016/11/Signedup.png" width="500" height="211" /></a>

&nbsp;
<ul>
 	<li>Within minutes you will land on the Dynamics 365 for Financials home page showing the sample data for fictitious company "CRONUS US"</li>
</ul>
<a href="https://msdnshared.blob.core.windows.net/media/2016/11/landingpage1.png"><img class="alignnone size-large wp-image-176" alt="landingpage" src="https://msdnshared.blob.core.windows.net/media/2016/11/landingpage1-1024x503.png" width="1024" height="503" /></a>

<hr />

<h2></h2>
<h2>2. Setup the OData feeds</h2>
Dynamics 365 for Financials must expose OData feeds, which can be consumed inside PowerApps. Let's expose Sales Orders and its line items as feeds.
<ul>
 	<li>Click the Search option on the top right of the browser</li>
</ul>
<a href="https://msdnshared.blob.core.windows.net/media/2016/11/search1.png"><img class="size-full wp-image-225 aligncenter" alt="search" src="https://msdnshared.blob.core.windows.net/media/2016/11/search1.png" width="460" height="406" /></a>
<ul>
 	<li>Search for "assisted" in the search window</li>
</ul>
<a href="https://msdnshared.blob.core.windows.net/media/2016/11/assistedsetup1.png"><img class="alignnone size-large wp-image-335" alt="assistedsetup" src="https://msdnshared.blob.core.windows.net/media/2016/11/assistedsetup1-1024x398.png" width="1024" height="398" /></a>

&nbsp;
<ul>
 	<li>Click on Assisted Setup</li>
 	<li>From the options choose "Set up reporting". This launches the Reporting Data Setup wizard</li>
</ul>
<a href="https://msdnshared.blob.core.windows.net/media/2016/11/setupreporting.png"><img class="alignnone size-large wp-image-245" alt="setupreporting" src="https://msdnshared.blob.core.windows.net/media/2016/11/setupreporting-1024x331.png" width="1024" height="331" /></a>

&nbsp;
<ul>
 	<li>In the wizard, click Next</li>
</ul>
<a href="https://msdnshared.blob.core.windows.net/media/2016/11/reportingdatasetup.png"><img class="size-full wp-image-215 aligncenter" alt="reportingdatasetup" src="https://msdnshared.blob.core.windows.net/media/2016/11/reportingdatasetup.png" width="576" height="528" /></a>

&nbsp;
<ul>
 	<li>Choose "Create a new data set". Click Next.</li>
</ul>
<a href="https://msdnshared.blob.core.windows.net/media/2016/11/createnewdataset.png"><img class="size-full wp-image-145 aligncenter" alt="createnewdataset" src="https://msdnshared.blob.core.windows.net/media/2016/11/createnewdataset.png" width="574" height="529" /></a>

&nbsp;
<ul>
 	<li>Enter a data set name and click the ... to select the table for the feed.</li>
</ul>
<a href="https://msdnshared.blob.core.windows.net/media/2016/11/newdatasetup.png"><img class="size-full wp-image-186 aligncenter" alt="newdatasetup" src="https://msdnshared.blob.core.windows.net/media/2016/11/newdatasetup.png" width="574" height="527" /></a>

&nbsp;
<ul>
 	<li>Choose "Sales Orders" table from the list and click OK</li>
</ul>
<a href="https://msdnshared.blob.core.windows.net/media/2016/11/selectsalesorders.png"><img class="size-full wp-image-236 aligncenter" alt="selectsalesorders" src="https://msdnshared.blob.core.windows.net/media/2016/11/selectsalesorders.png" width="957" height="706" /></a>

&nbsp;
<ul>
 	<li>Click Next</li>
 	<li>In the next screen, select the columns to include in the OData feed. Once done, click Publish.</li>
</ul>
<a href="https://msdnshared.blob.core.windows.net/media/2016/11/publishdataset.png"><img class="size-full wp-image-205 aligncenter" alt="publishdataset" src="https://msdnshared.blob.core.windows.net/media/2016/11/publishdataset.png" width="576" height="525" /></a>

&nbsp;
<ul>
 	<li>[Optional] Note down the URL of the feed.</li>
</ul>
<p style="text-align: center"><a href="https://msdnshared.blob.core.windows.net/media/2016/11/finishdatasetup.png"><img class="alignnone size-full wp-image-175" alt="finishdatasetup" src="https://msdnshared.blob.core.windows.net/media/2016/11/finishdatasetup.png" width="572" height="531" /></a></p>
&nbsp;
<ul>
 	<li style="text-align: left">You can repeat the wizard to add an OData feed for "Sales Line items" table. Once done, close Assisted Setup and return to the home page.</li>
</ul>

<hr />

<h2>3. Configure your OData credentials</h2>
We need to setup the credentials for the OData feed configured above. To set this up follow the steps below.
<ul>
 	<li>Launch the search window once again</li>
</ul>
<a href="https://msdnshared.blob.core.windows.net/media/2016/11/search1.png"><img class="size-full wp-image-225 aligncenter" alt="search" src="https://msdnshared.blob.core.windows.net/media/2016/11/search1.png" width="460" height="406" /></a>

&nbsp;
<ul>
 	<li>This time, search for "Users"</li>
</ul>
<a href="https://msdnshared.blob.core.windows.net/media/2016/11/searchusers.png"><img class="alignnone size-full wp-image-226" alt="searchusers" src="https://msdnshared.blob.core.windows.net/media/2016/11/searchusers.png" width="959" height="381" /></a>

&nbsp;
<ul>
 	<li>Click on the user name you would like to configure for use with the OData feed</li>
</ul>
<a href="https://msdnshared.blob.core.windows.net/media/2016/11/userscreen.png"><img class="size-large wp-image-305 aligncenter" alt="userscreen" src="https://msdnshared.blob.core.windows.net/media/2016/11/userscreen-1024x343.png" width="1024" height="343" /></a>

&nbsp;
<ul>
 	<li>In the user configuration window, click on "Web Service Access". If this field is empty you need to choose "Change Web Service Key" to configure a new key. Once done, copy the key in some safe place - we will need this when we create a connection in PowerApps.</li>
</ul>
<a href="https://msdnshared.blob.core.windows.net/media/2016/11/webserviceaccess.png"><img class="size-large wp-image-315 aligncenter" alt="webserviceaccess" src="https://msdnshared.blob.core.windows.net/media/2016/11/webserviceaccess-1024x417.png" width="1024" height="417" /></a>

&nbsp;

<hr />

<h2>4. Use PowerApps to connect to Dynamics 365 for Financials</h2>
<span style="color: #000000;font-family: Calibri">We are all set - we can now connect to the Dynamics 365 for Financials from PowerApps using the out-of-box connector. Let's add the values we configured before. </span>
<ul>
 	<li><span style="font-family: Calibri">L</span><span style="color: #000000;font-family: Calibri">aunch PowerApps Studio on Windows. The experience would be similar for PowerApps Studio running in the browser.</span> Click on -&gt; to view the list of all connections available for creating app from data</li>
</ul>
<a href="https://msdnshared.blob.core.windows.net/media/2016/11/studiolandingpage.png"><img class="alignnone size-large wp-image-285" alt="studiolandingpage" src="https://msdnshared.blob.core.windows.net/media/2016/11/studiolandingpage-1024x604.png" width="1024" height="604" /></a>

&nbsp;
<ul>
 	<li>Click on "New connection" and choose "Dynamics 365 for Financials"</li>
</ul>
<a href="https://msdnshared.blob.core.windows.net/media/2016/11/d365financialsnewconnection.png"><img class="alignnone size-large wp-image-155" alt="d365financialsnewconnection" src="https://msdnshared.blob.core.windows.net/media/2016/11/d365financialsnewconnection-1024x604.png" width="1024" height="604" /></a>

&nbsp;
<ul>
 	<li>For the OData feed URL enter <em><strong>&lt;your business&gt;.financials.dynamics.com:7048/MS/OData</strong></em> as indicated in the sample below. The user credentials are the ones you created for the OData feed earlier. Use "CRONUS US" as the sample Company. Click Connect</li>
</ul>
<a href="https://msdnshared.blob.core.windows.net/media/2016/11/ODatacreds.png"><img class="alignnone size-large wp-image-195" alt="odatacreds" src="https://msdnshared.blob.core.windows.net/media/2016/11/ODatacreds-1024x604.png" width="1024" height="604" /></a>

&nbsp;
<ul>
 	<li>In the dataset screen, choose "default"</li>
</ul>
<a href="https://msdnshared.blob.core.windows.net/media/2016/11/defaultdataset.png"><img class="alignnone size-large wp-image-156" alt="defaultdataset" src="https://msdnshared.blob.core.windows.net/media/2016/11/defaultdataset-1024x604.png" width="1024" height="604" /></a>

&nbsp;
<ul>
 	<li>Choose the sales order feed that we created earlier</li>
</ul>
<a href="https://msdnshared.blob.core.windows.net/media/2016/11/AFD1.png"><img class="alignnone size-large wp-image-345" alt="afd1" src="https://msdnshared.blob.core.windows.net/media/2016/11/AFD1-1024x604.png" width="1024" height="604" /></a>

&nbsp;
<ul>
 	<li>In a few minutes PowerApps will create a three-screen app. We will only need the Browse screen. From the "Content" menu choose Data sources. Click on Add data source &gt; Dynamics 365 for Financials &gt; Choose sales line items OData feed. You should have created this feed earlier.</li>
</ul>
<a href="https://msdnshared.blob.core.windows.net/media/2016/11/AFD3.png"><img class="alignnone size-large wp-image-355" alt="afd3" src="https://msdnshared.blob.core.windows.net/media/2016/11/AFD3-1024x604.png" width="1024" height="604" /></a>
<ul>
 	<li>Copy the Sales Order Gallery and paste another Gallery below for the Sales Line items. Bind the new Gallery to the expression:
<blockquote><em>Filter(saleslines, SalesOrderGallery.Selected.No=Document_No)</em></blockquote>
</li>
 	<li>This causes the second Gallery to take sales line items based on selection of Sales Orders in the first Gallery.</li>
</ul>
<a href="https://msdnshared.blob.core.windows.net/media/2016/11/finalscreen.png"><img class="alignnone size-large wp-image-166" alt="finalscreen" src="https://msdnshared.blob.core.windows.net/media/2016/11/finalscreen-1024x530.png" width="1024" height="530" /></a>

<hr />

&nbsp;
<h2>5. Video</h2>
You can run the app within the Studio or Save the app to cloud and run it from the browser or your mobile device. Here is the completed app running on my browser

[video width="420" height="738" mp4="https://msdnshared.blob.core.windows.net/media/2016/11/FinalApp.mp4"][/video]

&nbsp;

Do let me know your questions/feedback in the comments section below or on my twitter page <a href="https://www.twitter.com/kb_chirps">kb_chirps</a>. Happy app building :)

Thanks to Jannik, Gary and Jeff from Microsoft Dynamics 365 for Financials who helped me with the configurations to get this demo working.]]></content:encoded>
    </item>
    <item>
      <title>PowerApps introductory videos</title>
      <link>https://docs.microsoft.com/archive/blogs/karthikbharathy/powerapps-intro</link>
      <pubDate>Mon, 14 Nov 2016 01:50:44 GMT</pubDate>
      <dc:creator><![CDATA[Karthik_Bharathy [MSFT]]]></dc:creator>
      <guid
        isPermaLink="false">https://blogs.msdn.microsoft.com/karthikbharathy/?p=95</guid>
      <description><![CDATA[Here are some introductory videos on PowerApps from early 2016. The user interface and the...]]></description>
      <content:encoded><![CDATA[Here are some introductory videos on PowerApps from early 2016. The user interface and the functionality have been enhanced quite a bit in the releases that followed. Watch these to get the high level concepts and hopefully I will get to write about the cool features in the coming weeks.

<strong>PowerApps 101 - create a new app</strong>

[embed]https://www.youtube.com/watch?v=dnwnpYamWNU[/embed]

<strong>PowerApps 102 - create app from templates</strong>

[embed]https://www.youtube.com/watch?v=--kn-wCaPnw[/embed]

<strong>PowerApps 103 - Create apps connecting to existing data sources</strong>

[embed]https://www.youtube.com/watch?v=dSZZAF_A41Y[/embed]

&nbsp;

Happy app building :)

&nbsp;

&nbsp;]]></content:encoded>
    </item>
    <item>
      <title>Project Siena - Hello World</title>
      <link>https://docs.microsoft.com/archive/blogs/karthikbharathy/project-siena-hello-world</link>
      <pubDate>Mon, 16 Mar 2015 11:42:00 GMT</pubDate>
      <dc:creator><![CDATA[Karthik_Bharathy [MSFT]]]></dc:creator>
      <guid
        isPermaLink="false">https://blogs.msdn.microsoft.com/karthikbharathy/2015/03/16/project-siena-hello-world/</guid>
      <description><![CDATA[I wanted to write about Microsoft Project Siena, currently in its Beta. Project Siena is a fantastic...]]></description>
      <content:encoded><![CDATA[<p><span style="font-family: Calibri; font-size: small;">I wanted to write about </span><a href="https://www.microsoft.com/en-us/projectsiena/default.aspx"><span style="color: #0563c1; font-family: Calibri; font-size: small;">Microsoft Project Siena</span></a><span style="font-family: Calibri; font-size: small;">, currently in its Beta. Project Siena is a fantastic tool to rapidly create professional apps with programming limited to excel like functions. To test drive the features, let&rsquo;s create an app that displays the daily news, weather, traffic etc. We will keep the UI light weight with labels, buttons and images and focus on powering the app with data from (REST) services.</span></p>
<h1><span style="color: #2e74b5;"><span style="font-family: Calibri Light;">Pre-requisites</span></span></h1>
<p><span style="font-family: Calibri; font-size: small;">Download the app from the Windows Store here: </span><a href="https://aka.ms/GetProjectSiena"><span style="color: #0563c1; font-family: Calibri; font-size: small;">https://aka.ms/GetProjectSiena</span></a><span style="font-family: Calibri; font-size: small;">. You will also need the </span><a href="https://bit.ly/1MEbb94"><span style="color: #0563c1; font-family: Calibri; font-size: small;">WADL Generator tool</span></a><span style="font-family: Calibri; font-size: small;">. The installations are fairly straight forward. I will talk about the concepts and flow more in my future posts, for now let&rsquo;s dive right into the example.</span></p>
<p><span style="font-family: Calibri; font-size: small;">Let&rsquo;s split the app into adding the following:</span></p>
<ul>
<li>News ticker</li>
<li>Weather data</li>
<li>Clock</li>
<li>Stock chart</li>
</ul>
<h1><span style="color: #2e74b5;"><span style="font-family: Calibri Light;">Adding a news ticker</span></span></h1>
<p><span style="font-family: Calibri; font-size: small;">Let&rsquo;s first create a ticker and then wire the ticker to a news feed.</span></p>
<p><span style="color: #2e74b5;"><span style="font-family: Calibri Light; font-size: medium;">Create a ticker</span></span></p>
<p><span style="font-family: Calibri; font-size: small;">To create a ticker, add a label with some text. Adjust the Y position to near bottom of the screen. The X position of the label needs to be progressively increased/decreased at different points in time to give the marquee effect. To get the desired effect, tie the X location value to a timer as shown in the functions below.</span></p>
<table style="width: 601px; height: 212px;" border="1" cellspacing="0" cellpadding="0">
<tbody>
<tr>
<td valign="top" width="311">
<p><span style="font-family: Calibri; font-size: small;">PlayPause Timer</span></p>
</td>
<td valign="top" width="313">
<p><span style="font-family: Calibri; font-size: small;">Comments</span></p>
</td>
</tr>
<tr>
<td valign="top" width="311"><a href="https://msdnshared.blob.core.windows.net/media/MSDNBlogsFS/prod.evol.blogs.msdn.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/01/64/03/6237.1.png" original-url="https://blogs.msdn.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-01-64-03/6237.1.png"><img style="width: 339px; height: 93px;" src="https://msdnshared.blob.core.windows.net/media/MSDNBlogsFS/prod.evol.blogs.msdn.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/01/64/03/6237.1.png" original-url="https://blogs.msdn.com/resized-image.ashx/__size/550x0/__key/communityserver-blogs-components-weblogfiles/00-00-01-64-03/6237.1.png" alt="" width="550" height="140" border="0" /></a></td>
<td valign="top" width="313">
<p><span style="font-family: Calibri; font-size: small;">Initialize with approx. length of a character and scroll speed </span></p>
</td>
</tr>
<tr>
<td valign="top" width="311">&nbsp;<a href="https://msdnshared.blob.core.windows.net/media/MSDNBlogsFS/prod.evol.blogs.msdn.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/01/64/03/5086.2.png" original-url="https://blogs.msdn.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-01-64-03/5086.2.png"><img style="width: 333px; height: 92px;" src="https://msdnshared.blob.core.windows.net/media/MSDNBlogsFS/prod.evol.blogs.msdn.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/01/64/03/5086.2.png" original-url="https://blogs.msdn.com/resized-image.ashx/__size/550x0/__key/communityserver-blogs-components-weblogfiles/00-00-01-64-03/5086.2.png" alt="" width="549" height="143" border="0" /></a></td>
<td valign="top" width="313">
<p><span style="font-family: Calibri; font-size: small;">How long to scroll before resetting the timer</span></p>
</td>
</tr>
</tbody>
</table>
<p>&nbsp;<span style="font-family: Calibri; font-size: small;">&nbsp;</span></p>
<table style="width: 602px; height: 120px;" border="1" cellspacing="0" cellpadding="0">
<tbody>
<tr>
<td valign="top" width="311">
<p><span style="font-family: Calibri; font-size: small;">Ticker label</span></p>
</td>
<td valign="top" width="313">
<p><span style="font-family: Calibri; font-size: small;">Comments</span></p>
</td>
</tr>
<tr>
<td valign="top" width="311"><a href="https://msdnshared.blob.core.windows.net/media/MSDNBlogsFS/prod.evol.blogs.msdn.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/01/64/03/6813.3.png" original-url="https://blogs.msdn.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-01-64-03/6813.3.png"><img style="width: 331px; height: 95px;" src="https://msdnshared.blob.core.windows.net/media/MSDNBlogsFS/prod.evol.blogs.msdn.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/01/64/03/6813.3.png" original-url="https://blogs.msdn.com/resized-image.ashx/__size/550x0/__key/communityserver-blogs-components-weblogfiles/00-00-01-64-03/6813.3.png" alt="" width="549" height="154" border="0" /></a></td>
<td valign="top" width="313">
<p><span style="font-family: Calibri; font-size: small;">label moves from right to left as the timer value increases</span></p>
</td>
</tr>
</tbody>
</table>
<p>&nbsp;</p>
<p><span style="color: #2e74b5; font-family: Calibri Light; font-size: medium;">Querying REST service</span></p>
<p><span style="font-family: Calibri; font-size: small;">Replace the ticker text with content from a news service. In this example, I use the NYTimes developer API to update the ticker. </span></p>
<p><span style="font-family: Calibri;"><span style="font-size: small;"><strong><span style="text-decoration: underline;">Note:</span></strong> you would first need to register for API key from </span></span><a href="https://developer.nytimes.com/"><span style="color: #0563c1; font-family: Calibri; font-size: small;">https://developer.nytimes.com/</span></a><span style="font-family: Calibri; font-size: small;">. </span></p>
<p><span style="font-family: Calibri; font-size: small;">To integrate with Project Siena, we need the WADL describing the REST API from NYTimes. &nbsp;Instead of hand coding the WADL, I am going to use the WADL generator tool mentioned earlier. The following screen calls out the API and its parameters.</span></p>
<p>&nbsp;</p>
<p><a href="https://msdnshared.blob.core.windows.net/media/MSDNBlogsFS/prod.evol.blogs.msdn.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/01/64/03/7713.4.png" original-url="https://blogs.msdn.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-01-64-03/7713.4.png"><img style="width: 494px; height: 473px;" src="https://msdnshared.blob.core.windows.net/media/MSDNBlogsFS/prod.evol.blogs.msdn.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/01/64/03/7713.4.png" original-url="https://blogs.msdn.com/resized-image.ashx/__size/550x0/__key/communityserver-blogs-components-weblogfiles/00-00-01-64-03/7713.4.png" alt="" width="550" height="489" border="0" /></a></p>
<p><span style="font-family: Calibri; font-size: small;">Now we can go to AppData-&gt; Data Sources and add the WADL file.</span></p>
<p>&nbsp;</p>
<p><a href="https://msdnshared.blob.core.windows.net/media/MSDNBlogsFS/prod.evol.blogs.msdn.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/01/64/03/8640.5.png" original-url="https://blogs.msdn.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-01-64-03/8640.5.png"><img style="width: 470px; height: 457px;" src="https://msdnshared.blob.core.windows.net/media/MSDNBlogsFS/prod.evol.blogs.msdn.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/01/64/03/8640.5.png" original-url="https://blogs.msdn.com/resized-image.ashx/__size/550x0/__key/communityserver-blogs-components-weblogfiles/00-00-01-64-03/8640.5.png" alt="" width="549" height="529" border="0" /></a></p>
<p><span style="font-family: Calibri; font-size: small;">Once added, the API is available for use in Project Siena functions. Change the ticker label text with the result of the API call: </span></p>
<p>&nbsp;</p>
<table style="width: 597px; height: 111px;" border="1" cellspacing="0" cellpadding="0">
<tbody>
<tr>
<td valign="top" width="311">
<p><span style="font-family: Calibri; font-size: small;">Ticker label</span></p>
</td>
<td valign="top" width="313">
<p><span style="font-family: Calibri; font-size: small;">Comments</span></p>
</td>
</tr>
<tr>
<td valign="top" width="311"><a href="https://msdnshared.blob.core.windows.net/media/MSDNBlogsFS/prod.evol.blogs.msdn.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/01/64/03/8662.6.png" original-url="https://blogs.msdn.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-01-64-03/8662.6.png"><img style="width: 337px; height: 85px;" src="https://msdnshared.blob.core.windows.net/media/MSDNBlogsFS/prod.evol.blogs.msdn.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/01/64/03/8662.6.png" original-url="https://blogs.msdn.com/resized-image.ashx/__size/550x0/__key/communityserver-blogs-components-weblogfiles/00-00-01-64-03/8662.6.png" alt="" width="549" height="146" border="0" /></a></td>
<td valign="top" width="313">
<p><span style="font-family: Calibri; font-size: small;">Get label text from NYTimes news</span></p>
</td>
</tr>
</tbody>
</table>
<p>&nbsp;<span style="font-family: Calibri;"><span style="font-size: small;">&nbsp;For configuration purpose, I have added a NewsCategory combo-box to choose the news section.</span></span></p>
<table style="width: 596px; height: 116px;" border="1" cellspacing="0" cellpadding="0">
<tbody>
<tr>
<td valign="top" width="316">
<p><span style="font-family: Calibri; font-size: small;">NewsCategory</span></p>
</td>
<td valign="top" width="308">
<p><span style="font-family: Calibri; font-size: small;">Comments</span></p>
</td>
</tr>
<tr>
<td valign="top" width="316"><a href="https://msdnshared.blob.core.windows.net/media/MSDNBlogsFS/prod.evol.blogs.msdn.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/01/64/03/4722.7.png" original-url="https://blogs.msdn.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-01-64-03/4722.7.png"><img style="width: 327px; height: 92px;" src="https://msdnshared.blob.core.windows.net/media/MSDNBlogsFS/prod.evol.blogs.msdn.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/01/64/03/4722.7.png" original-url="https://blogs.msdn.com/resized-image.ashx/__size/550x0/__key/communityserver-blogs-components-weblogfiles/00-00-01-64-03/4722.7.png" alt="" width="549" height="152" border="0" /></a></td>
<td valign="top" width="308">
<p><span style="font-family: Calibri; font-size: small;">NYTimes news sections. You can get more strings from the developer docs</span></p>
</td>
</tr>
</tbody>
</table>
<p>&nbsp;<span style="font-family: Calibri; font-size: small;">&nbsp;</span><span style="font-family: Calibri; font-size: small;">If things have been configured correctly, the news ticker should look similar to this:</span></p>
<p>&nbsp;&nbsp;<a href="https://msdnshared.blob.core.windows.net/media/MSDNBlogsFS/prod.evol.blogs.msdn.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/01/64/03/1050.8.png" original-url="https://blogs.msdn.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-01-64-03/1050.8.png"><img style="width: 537px; height: 168px;" src="https://msdnshared.blob.core.windows.net/media/MSDNBlogsFS/prod.evol.blogs.msdn.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/01/64/03/1050.8.png" original-url="https://blogs.msdn.com/resized-image.ashx/__size/550x0/__key/communityserver-blogs-components-weblogfiles/00-00-01-64-03/1050.8.png" alt="" width="551" height="120" border="0" /></a></p>
<h1><span style="color: #2e74b5;"><span style="font-family: Calibri Light;">Adding weather data</span></span></h1>
<p><span style="font-family: Calibri; font-size: small;">Similar to News, you can query popular weather APIs to retrieve city specific weather information. In this example, I use the OpenWeatherMap API for querying current and forecast weather data. </span></p>
<p><span style="font-family: Calibri; font-size: small;">For API key, usage, pricing, Terms of Use and other guidelines, refer to </span><a href="https://openweathermap.org/"><span style="color: #0563c1; font-family: Calibri; font-size: small;">https://openweathermap.org</span></a></p>
<p>&nbsp;</p>
<p><span style="font-family: Calibri; font-size: small;">Once again use the WADL Generator tool to add two functions querying OpenWeatherMap &ndash; one to get weather by city and another one to get the forecast for the next 4 days.</span></p>
<p>&nbsp;<a href="https://msdnshared.blob.core.windows.net/media/MSDNBlogsFS/prod.evol.blogs.msdn.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/01/64/03/6813.9.png" original-url="https://blogs.msdn.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-01-64-03/6813.9.png"><img style="width: 584px; height: 523px;" src="https://msdnshared.blob.core.windows.net/media/MSDNBlogsFS/prod.evol.blogs.msdn.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/01/64/03/6813.9.png" original-url="https://blogs.msdn.com/resized-image.ashx/__size/550x0/__key/communityserver-blogs-components-weblogfiles/00-00-01-64-03/6813.9.png" alt="" width="549" height="492" border="0" /></a></p>
<p><span style="font-family: Calibri; font-size: small;">If you look at the json output, notice OpenWeatherMap output publishes a reference to the weather icon. We can tie this URL to the image control in Project Siena. I have added an option for users to select the city.</span></p>
<table border="1" cellspacing="0" cellpadding="0">
<tbody>
<tr>
<td valign="top" width="354">
<p><span style="font-family: Calibri; font-size: small;">Function</span></p>
</td>
<td valign="top" width="192">
<p><span style="font-family: Calibri; font-size: small;">Comment</span></p>
</td>
</tr>
<tr>
<td valign="top" width="354"><a href="https://msdnshared.blob.core.windows.net/media/MSDNBlogsFS/prod.evol.blogs.msdn.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/01/64/03/0763.10.png" original-url="https://blogs.msdn.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-01-64-03/0763.10.png"><img style="width: 382px; height: 114px;" src="https://msdnshared.blob.core.windows.net/media/MSDNBlogsFS/prod.evol.blogs.msdn.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/01/64/03/0763.10.png" original-url="https://blogs.msdn.com/resized-image.ashx/__size/550x0/__key/communityserver-blogs-components-weblogfiles/00-00-01-64-03/0763.10.png" alt="" width="524" height="154" border="0" /></a></td>
<td valign="top" width="192">
<p><span style="font-family: Calibri; font-size: small;">Combo box for city names</span></p>
</td>
</tr>
<tr>
<td valign="top" width="354">&nbsp;<a href="https://msdnshared.blob.core.windows.net/media/MSDNBlogsFS/prod.evol.blogs.msdn.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/01/64/03/0842.11.png" original-url="https://blogs.msdn.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-01-64-03/0842.11.png"><img style="width: 383px; height: 115px;" src="https://msdnshared.blob.core.windows.net/media/MSDNBlogsFS/prod.evol.blogs.msdn.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/01/64/03/0842.11.png" original-url="https://blogs.msdn.com/resized-image.ashx/__size/550x0/__key/communityserver-blogs-components-weblogfiles/00-00-01-64-03/0842.11.png" alt="" width="548" height="176" border="0" /></a></td>
<td valign="top" width="192">
<p><span style="font-family: Calibri; font-size: small;">Image control to show the current weather</span></p>
</td>
</tr>
<tr>
<td valign="top" width="354">&nbsp;<a href="https://msdnshared.blob.core.windows.net/media/MSDNBlogsFS/prod.evol.blogs.msdn.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/01/64/03/2543.12.png" original-url="https://blogs.msdn.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-01-64-03/2543.12.png"><img style="width: 380px; height: 96px;" src="https://msdnshared.blob.core.windows.net/media/MSDNBlogsFS/prod.evol.blogs.msdn.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/01/64/03/2543.12.png" original-url="https://blogs.msdn.com/resized-image.ashx/__size/550x0/__key/communityserver-blogs-components-weblogfiles/00-00-01-64-03/2543.12.png" alt="" width="547" height="159" border="0" /></a></td>
<td valign="top" width="192">
<p><span style="font-family: Calibri; font-size: small;">Label to show the current temperature for the city</span></p>
</td>
</tr>
<tr>
<td valign="top" width="354"><a href="https://msdnshared.blob.core.windows.net/media/MSDNBlogsFS/prod.evol.blogs.msdn.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/01/64/03/8304.13.png" original-url="https://blogs.msdn.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-01-64-03/8304.13.png"><img style="width: 382px; height: 133px;" src="https://msdnshared.blob.core.windows.net/media/MSDNBlogsFS/prod.evol.blogs.msdn.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/01/64/03/8304.13.png" original-url="https://blogs.msdn.com/resized-image.ashx/__size/550x0/__key/communityserver-blogs-components-weblogfiles/00-00-01-64-03/8304.13.png" alt="" width="549" height="167" border="0" /></a></td>
<td valign="top" width="192">
<p><span style="font-family: Calibri; font-size: small;">Weather Forecast for the next 4 days shown in a Horizontal Gallery view with text and images</span></p>
</td>
</tr>
</tbody>
</table>
<p><span style="font-family: Calibri; font-size: small;"><br /></span></p>
<p><span style="font-family: Calibri; font-size: small;">After arranging the control and updating colors, the weather forecast should look similar to this:</span></p>
<p>&nbsp;<a href="https://msdnshared.blob.core.windows.net/media/MSDNBlogsFS/prod.evol.blogs.msdn.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/01/64/03/0310.14.png" original-url="https://blogs.msdn.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-01-64-03/0310.14.png"><img style="width: 432px; height: 248px;" src="https://msdnshared.blob.core.windows.net/media/MSDNBlogsFS/prod.evol.blogs.msdn.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/01/64/03/0310.14.png" original-url="https://blogs.msdn.com/resized-image.ashx/__size/550x0/__key/communityserver-blogs-components-weblogfiles/00-00-01-64-03/0310.14.png" alt="" width="547" height="317" border="0" /></a></p>
<p>&nbsp;</p>
<p><span style="font-family: Calibri;"><span style="font-size: small;"><strong><span style="text-decoration: underline;">Note:</span></strong> the JSON response for the weather forecast returns date time in UNIX UTC format. To convert it to days of week as shown above, a quick hack would be to define the time elapsed until some recent day and add it back to the date value and format it using Text function:</span></span></p>
<p>&nbsp;</p>
<table style="width: 587px; height: 138px;" border="1" cellspacing="0" cellpadding="0">
<tbody>
<tr>
<td valign="top" width="312">
<p><span style="font-family: Calibri; font-size: small;">Function</span></p>
</td>
<td valign="top" width="312">
<p><span style="font-family: Calibri; font-size: small;">Comment</span></p>
</td>
</tr>
<tr>
<td valign="top" width="312"><a href="https://msdnshared.blob.core.windows.net/media/MSDNBlogsFS/prod.evol.blogs.msdn.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/01/64/03/3005.15.png" original-url="https://blogs.msdn.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-01-64-03/3005.15.png"><img style="width: 379px; height: 115px;" src="https://msdnshared.blob.core.windows.net/media/MSDNBlogsFS/prod.evol.blogs.msdn.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/01/64/03/3005.15.png" original-url="https://blogs.msdn.com/resized-image.ashx/__size/550x0/__key/communityserver-blogs-components-weblogfiles/00-00-01-64-03/3005.15.png" alt="" width="549" height="179" border="0" /></a></td>
<td valign="top" width="312">
<p><span style="font-family: Calibri; font-size: small;">Quick hack to convert UNIX UTC to day of week</span></p>
</td>
</tr>
</tbody>
</table>
<p>&nbsp;</p>
<h1><span style="color: #2e74b5;"><span style="font-family: Calibri Light;">Adding clock and stock chart</span></span></h1>
<p><span style="font-family: Calibri; font-size: small;">It&rsquo;s easy to add a quick stock chart as an image by querying another REST API and also add a simple clock using another timer &ldquo;Timer2&rdquo;.</span></p>
<table style="width: 591px; height: 346px;" border="1" cellspacing="0" cellpadding="0">
<tbody>
<tr>
<td valign="top" width="354">
<p><span style="font-family: Calibri; font-size: small;">Function</span></p>
</td>
<td valign="top" width="270">
<p><span style="font-family: Calibri; font-size: small;">Comment</span></p>
</td>
</tr>
<tr>
<td valign="top" width="354"><a href="https://msdnshared.blob.core.windows.net/media/MSDNBlogsFS/prod.evol.blogs.msdn.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/01/64/03/1830.16.png" original-url="https://blogs.msdn.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-01-64-03/1830.16.png"><img style="width: 381px; height: 93px;" src="https://msdnshared.blob.core.windows.net/media/MSDNBlogsFS/prod.evol.blogs.msdn.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/01/64/03/1830.16.png" original-url="https://blogs.msdn.com/resized-image.ashx/__size/550x0/__key/communityserver-blogs-components-weblogfiles/00-00-01-64-03/1830.16.png" alt="" width="549" height="140" border="0" /></a></td>
<td valign="top" width="270">
<p><span style="font-family: Calibri; font-size: small;">Current Date</span></p>
</td>
</tr>
<tr>
<td valign="top" width="354">&nbsp;<a href="https://msdnshared.blob.core.windows.net/media/MSDNBlogsFS/prod.evol.blogs.msdn.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/01/64/03/8877.17.png" original-url="https://blogs.msdn.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-01-64-03/8877.17.png"><img style="width: 380px; height: 90px;" src="https://msdnshared.blob.core.windows.net/media/MSDNBlogsFS/prod.evol.blogs.msdn.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/01/64/03/8877.17.png" original-url="https://blogs.msdn.com/resized-image.ashx/__size/550x0/__key/communityserver-blogs-components-weblogfiles/00-00-01-64-03/8877.17.png" alt="" width="549" height="140" border="0" /></a></td>
<td valign="top" width="270">
<p><span style="font-family: Calibri; font-size: small;">Current Time</span></p>
</td>
</tr>
<tr>
<td valign="top" width="354">&nbsp;<a href="https://msdnshared.blob.core.windows.net/media/MSDNBlogsFS/prod.evol.blogs.msdn.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/01/64/03/0257.18.png" original-url="https://blogs.msdn.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-01-64-03/0257.18.png"><img style="width: 379px; height: 109px;" src="https://msdnshared.blob.core.windows.net/media/MSDNBlogsFS/prod.evol.blogs.msdn.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/01/64/03/0257.18.png" original-url="https://blogs.msdn.com/resized-image.ashx/__size/550x0/__key/communityserver-blogs-components-weblogfiles/00-00-01-64-03/0257.18.png" alt="" width="548" height="160" border="0" /></a></td>
<td valign="top" width="270">
<p><span style="font-family: Calibri; font-size: small;">Finance bar chart with fixed stock symbol. For options to configure refer to the link below.</span></p>
</td>
</tr>
</tbody>
</table>
<p><span style="font-family: Calibri; font-size: small;">&nbsp;</span>&nbsp;</p>
<h1><span style="color: #2e74b5;"><span style="font-family: Calibri Light;">Wrapping it up&hellip;</span></span></h1>
<p><span style="font-family: Calibri; font-size: small;">Adding the controls to Project Siena is the fun part of the whole process! The app on completion should look something similar to the one below. </span></p>
<p>&nbsp;&nbsp;<a href="https://msdnshared.blob.core.windows.net/media/MSDNBlogsFS/prod.evol.blogs.msdn.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/01/64/03/5468.19.png" original-url="https://blogs.msdn.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-01-64-03/5468.19.png"><img style="width: 607px; height: 350px;" src="https://msdnshared.blob.core.windows.net/media/MSDNBlogsFS/prod.evol.blogs.msdn.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/01/64/03/5468.19.png" original-url="https://blogs.msdn.com/resized-image.ashx/__size/550x0/__key/communityserver-blogs-components-weblogfiles/00-00-01-64-03/5468.19.png" alt="" width="549" height="310" border="0" /></a></p>
<p>&nbsp;<span style="font-family: Calibri; font-size: small;">You can now publish the app and install to your Windows devices.</span></p>
<p>&nbsp;</p>
<p>&nbsp;<a href="https://msdnshared.blob.core.windows.net/media/MSDNBlogsFS/prod.evol.blogs.msdn.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/01/64/03/0268.20.png" original-url="https://blogs.msdn.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-01-64-03/0268.20.png"><img style="width: 567px; height: 429px;" src="https://msdnshared.blob.core.windows.net/media/MSDNBlogsFS/prod.evol.blogs.msdn.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/01/64/03/0268.20.png" original-url="https://blogs.msdn.com/resized-image.ashx/__size/550x0/__key/communityserver-blogs-components-weblogfiles/00-00-01-64-03/0268.20.png" alt="" width="551" height="421" border="0" /></a></p>
<p>&nbsp;</p>
<p><span style="font-family: Calibri; font-size: small;">You can extend this simple app by add a Settings page to configure Celsius/Farenheit, stock symbol name, news source, locale etc.</span></p>
<p><span style="font-family: Calibri; font-size: small;">If there are ways to improve this app or areas you would like to hear more, please leave your comments below!</span></p>
<h3><span style="color: #2e74b5;"><span style="font-family: Calibri Light;">References</span></span></h3>
<ul>
<li>
<p>Project Siena tutorials/samples: <a href="https://www.microsoft.com/en-us/projectsiena/default.aspx"><span style="color: #0563c1;">https://www.microsoft.com/en-us/projectsiena/default.aspx</span></a></p>
</li>
<li>
<p>NYTimes developer API:&nbsp;<a href="https://developer.nytimes.com/"><span style="color: #0563c1;">https://developer.nytimes.com/</span></a> &nbsp;</p>
</li>
<li>
<p>OpenWeatherMap API: <a href="https://openweathermap.org/api"><span style="color: #0563c1;">https://openweathermap.org/api</span></a></p>
</li>
<li>
<p>REST APIs for stock chart from Yahoo Finance: <a href="https://bit.ly/1Cm1o5S"><span style="color: #0563c1;">https://bit.ly/1Cm1o5S</span></a></p>
</li>
</ul>
<p>&nbsp;</p>
<p>-Karthik</p>]]></content:encoded>
    </item>
    <item>
      <title>Release of my book - Getting started with BizTalk Services</title>
      <link>https://docs.microsoft.com/archive/blogs/karthikbharathy/release-of-book-getting-started-with-biztalk-services</link>
      <pubDate>Wed, 02 Apr 2014 03:29:04 GMT</pubDate>
      <dc:creator><![CDATA[Karthik_Bharathy [MSFT]]]></dc:creator>
      <guid
        isPermaLink="false">https://blogs.msdn.microsoft.com/karthikbharathy/2014/04/02/release-of-book-getting-started-with-biztalk-services/</guid>
      <description><![CDATA[It gives me great pleasure to share that the book Getting Started with BizTalk Services authored by...]]></description>
      <content:encoded><![CDATA[It gives me great pleasure to share that the book <a href="https://www.packtpub.com/getting-started-with-biztalk-services/book">Getting Started with BizTalk Services</a> authored by me and Jon Fancey, Integration MVP, was released on March 28!
<h1>About the book</h1>
This book is intended for those who want to understand BizTalk Services, what it can do, and how to build integration solutions using it in their organizations.

This is a practical book that acts as a clear and concise introduction to BizTalk Services. Full of real-world scenarios, each area of BizTalk Services is explained in detail, essentially enabling you to smoothly design your own integration solutions with minimal effort.

<a href="https://msdnshared.blob.core.windows.net/media/MSDNBlogsFS/prod.evol.blogs.msdn.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/01/64/03/metablogapi/3107.clip_image001_47611BD6.jpg"><img width="362" height="445" title="clip_image001" alt="clip_image001" src="https://msdnshared.blob.core.windows.net/media/MSDNBlogsFS/prod.evol.blogs.msdn.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/01/64/03/metablogapi/6281.clip_image001_thumb_1F50FD68.jpg" border="0" /></a>

The book is divided into eight chapters:
<ul>
 	<li>Chapter 1: Hello BizTalk Services – gives an overview of the cloud integration technology</li>
 	<li>Chapter 2: Messages and Transforms – talks about transforms and its capabilities</li>
 	<li>Chapter 3: Bridges – talks about Bridge as a key messaging artifact</li>
 	<li>Chapter 4: Enterprise Application Integration – discusses EAI concepts and examples</li>
 	<li>Chapter 5: Business-to-business Integration – discusses B2B concepts and examples</li>
 	<li>Chapter 6: API – discusses programmatic access to BizTalk Services</li>
 	<li>Chapter 7: Tracking and Troubleshooting – talks about the errors and tools to troubleshoot common problems</li>
 	<li>Chapter 8: Moving to BizTalk Services – talks about migration from Server to Services</li>
</ul>
<strong></strong>
<h1>Sample Chapter and Ordering</h1>
The sample chapter 3 is available <a href="https://tinyurl.com/wabsbook">here</a> for reading!

You can order the complete eBook and/or the hard copy from
<ul>
 	<li><a href="https://www.amazon.com/dp/178217740X/?tag=packtpubli-20">Amazon US</a></li>
 	<li><a href="https://www.amazon.co.uk/dp/178217740X/?tag=packtpubli-21">Amazon UK</a></li>
 	<li><a href="https://my.safaribooksonline.com/9781782177401?cid=packt-cat-readnow-9781782177401">Safari</a></li>
 	<li><a href="https://www.barnesandnoble.com/w/getting-started-with-biztalk-services-jon-fancey/1118624158?ean=9781782177401">Barnes &amp; Noble</a></li>
 	<li><a href="https://www.packtpub.com/getting-started-with-biztalk-services/book">Packt</a></li>
</ul>
<ul></ul>
<h1>Forewords</h1>
Scott Guthrie and Vivek Dalvi have written the forewords for the book
If you have any questions/feedback on the book, feel free to reach out to me through my blog/twitter.

<strong></strong>

<strong>-Karthik Bharathy</strong>

<em>You can also follow me on Twitter @<a href="https://twitter.com/kb_chirps">kb_chirps</a> for quicker updates on BizTalk </em>]]></content:encoded>
    </item>
    <item>
      <title>HIX in BizTalk Server</title>
      <link>https://docs.microsoft.com/archive/blogs/karthikbharathy/hix-in-biztalk-server</link>
      <pubDate>Wed, 12 Mar 2014 10:32:00 GMT</pubDate>
      <dc:creator><![CDATA[Karthik_Bharathy [MSFT]]]></dc:creator>
      <guid
        isPermaLink="false">https://blogs.msdn.microsoft.com/karthikbharathy/2014/03/12/hix-in-biztalk-server/</guid>
      <description><![CDATA[A quick background on HIX: In March 2010, US President Obama signed two reforms one known as the...]]></description>
      <content:encoded><![CDATA[<p>A quick background on HIX: In March 2010, US President Obama signed two reforms one known as the &ldquo;Patient Protection and Affordable Care Act&rdquo; (PPACA) and the other known as Health Care and Education Reconciliation Act of 2010. Collectively these are referred to as Affordable Care Act or simply ACA. The reform is intended to reduce the overall costs of preventive care to individuals and governments and make healthcare accessible/affordable to all US citizens. Put simply, Health Insurance Exchange (HIX) offers an online marketplace for individuals and small businesses to purchase Qualified Health Plans (QHP) from various insurance companies to ensure the prices are fair and competitive to individuals and small businesses. ACA enables US states to build a such an exchanges as run by the State (State Based Exchanges or SBE), partner with one or more other states, or have the federal government build and run the Exchange or Marketplace (Federally Facilitated Exchange or FFE). You can read more about HIX from pointers in the References section.</p>
<p>From the technical side of things, there are two key EDI transactions which enable the exchange of information during enrolment and remittance by the user with a FFE or SBE. Below are both the flows:</p>
<h1>Enrollment using EDI 834</h1>
<p>In EDI 834, the ST03/GS08 segment remains <strong>005010X220A1</strong> after HIPAA Errata installation. The existing schema in BizTalk Server 2010 and later for HIPAA 834 can be used for HIX interactions.</p>
<p>For 834, the flow is as follow:</p>
<ul>
<li>Individual logs-in to the FFE website, compares plans and selects a plan (QHP)</li>
<li>Individual or a broker on their behalf may also update member information, cancel, terminate or change an existing health plan</li>
<li>For the above updates, FFE will send the 834 transaction with enrollment information to the QHP provider</li>
<li>QHP Issuer responds back with a TA1 and 999 acknowledgements to confirm the transaction</li>
<li>QHP Issuer also responds back with 834 Confirmation transaction</li>
<li>With SBE, the SBE sends a copy of the 834 notification to the FFE</li>
</ul>
<h1>Remittance using EDI HIX 820</h1>
<p>The current transaction used to communicate payment-related information, the HIPAA ASC X12 <strong>005010X218 </strong>(820), cannot provide the program-level payment information and does not meet the business requirements of the Affordable Care Act. As a result, the ASC X12 standards body has finalized the ASC X12 <strong>005010X306 </strong>(820), referred to as the "HIX 820" for use with remittance.</p>
<p>For 820, the flow is as follows:</p>
<ul><!--StartFragment-->
<li>Individual initiates a payment towards a plan</li>
<li>The exchange will send a 820 transaction with remittance information/premiums from the individual to the QHP provider</li>
<li>QHP Issuer responds back with a TA1 and 999 acknowledgement to confirm the transaction</li>
<!--EndFragment--></ul>
<p>BizTalk Server 2013 ships the new HIX 820 schema in the CU2 update from <a title="https://support.microsoft.com/kb/2892599" href="https://support.microsoft.com/kb/2892599">https://support.microsoft.com/kb/2892599</a>. For earlier versions including BizTalk Server 2009 and BizTalk Server 2010, the schemas can be obtained by contacting Microsoft Customer Support Services per <a title="https://support.microsoft.com/kb/2882453" href="https://support.microsoft.com/kb/2882453">https://support.microsoft.com/kb/2882453</a>.</p>
<h1>References</h1>
<ul>
<li><a href="https://www.healthcare.gov">https://www.healthcare.gov</a></li>
<li><a title="https://marketplace.cms.gov/index.html" href="https://marketplace.cms.gov/index.html">https://marketplace.cms.gov/index.html</a></li>
<li><a title="https://obamacarefacts.com" href="https://obamacarefacts.com">https://obamacarefacts.com</a></li>
</ul>
<p><strong>-Karthik Bharathy</strong></p>
<p><em>You can also follow me on Twitter @<a href="https://twitter.com/kb_chirps">kb_chirps</a> for quicker updates or read my book on "<a href="https://www.amazon.com/dp/178217740X/?tag=packtpubli-20">Getting Started with BizTalk Services</a>" (pre-order from <a href="https://www.packtpub.com/getting-started-with-biztalk-services/book">here</a>)</em></p>]]></content:encoded>
    </item>
    <item>
      <title>BizTalk TPM OM API – Part 2</title>
      <link>https://docs.microsoft.com/archive/blogs/karthikbharathy/biztalk-tpm-om-api-part-2</link>
      <pubDate>Fri, 07 Mar 2014 02:13:00 GMT</pubDate>
      <dc:creator><![CDATA[Karthik_Bharathy [MSFT]]]></dc:creator>
      <guid
        isPermaLink="false">https://blogs.msdn.microsoft.com/karthikbharathy/2014/03/07/biztalk-tpm-om-api-part-2/</guid>
      <description><![CDATA[This is a two-part series on using TPM OM API in BizTalk Services. In Part 1, we discussed the TPM...]]></description>
      <content:encoded><![CDATA[<div class="WordSection1" style="background: #f2f2f2; border-width: 1pt medium; border-style: solid none; border-color: windowtext currentColor; padding: 1pt 0in; mso-element: para-border-div; mso-border-top-alt: solid windowtext .5pt; mso-border-bottom-alt: solid windowtext .5pt; mso-background-themecolor: background1; mso-background-themeshade: 242;">
<p class="MsoNormal" style="background: #f2f2f2; padding: 0in; border: currentColor; mso-border-top-alt: solid windowtext .5pt; mso-border-bottom-alt: solid windowtext .5pt; mso-background-themecolor: background1; mso-background-themeshade: 242; mso-padding-alt: 1.0pt 0in 1.0pt 0in;"><em style="mso-bidi-font-style: normal;"><span style="mso-ansi-language: EN-IN;" lang="EN-IN">This is a two-part series on using TPM OM API in BizTalk Services. In <a title="TPM OM API Part 1" href="https://blogs.msdn.com/b/karthikbharathy/archive/2014/03/06/biztalk-tpm-om-api-part-1.aspx">Part 1</a>, we discussed the TPM model and in Part 2, we will use the model in a sample walkthrough.</span></em></p>
</div>
<p class="MsoNormal"><span style="mso-ansi-language: EN-IN;" lang="EN-IN"><br />We saw the TPM model in the earlier post. Let&rsquo;s now look at creating a Partner and querying the result using OM API. </span><span style="mso-ansi-language: EN-IN;" lang="EN-IN">TPM OM OData source is hosted at <a href="https://%3cdeploymentName%3e.biztalk.windows.net/default/$partnermanagement">https://&lt;deploymentName&gt;.biztalk.windows.net/default/$partnermanagement</a> where &lt;deploymentName&gt; is the name of your BizTalk Services deployment. The metadata of the datasource represents the EDM data model for OData in XML. This can be obtained by adding the $metadata to the query. <br /></span><span style="mso-ansi-language: EN-IN;" lang="EN-IN"><br />For example, type the URL in the browser <a href="https://%3cdeploymentName%3e.biztalk.windows.net/default/$partnermanagement/$metadata">https://&lt;deploymentName&gt;.biztalk.windows.net/default/$partnermanagement/$metadata</a> to see the TPM objects, navigation properties and associations as below. </span></p>
<p class="MsoListParagraph"><span style="mso-ansi-language: EN-IN;"><span style="mso-spacerun: yes;">&nbsp;<a href="https://msdnshared.blob.core.windows.net/media/MSDNBlogsFS/prod.evol.blogs.msdn.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/01/64/03/4442.tpmomapi_1.bmp" original-url="https://blogs.msdn.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-01-64-03/4442.tpmomapi_5F00_1.bmp"><img style="vertical-align: middle;" title="TPM OM Odata metadata" src="https://msdnshared.blob.core.windows.net/media/MSDNBlogsFS/prod.evol.blogs.msdn.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/01/64/03/4442.tpmomapi_1.bmp" original-url="https://blogs.msdn.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-01-64-03/4442.tpmomapi_5F00_1.bmp" alt="TPM OM Odata metadata" width="1033" height="834" /></a></span></span></p>
<p class="MsoNormal"><span style="mso-ansi-language: EN-IN;" lang="EN-IN">Let&rsquo;s connect to this OData source from C# to build a simple application. For the complete source code, please refer to the MSDN Code Gallery link below.<br /><br /></span><span style="mso-ansi-language: EN-IN;" lang="EN-IN">1. Install WCF Data Services 5.3.0 <a href="https://nuget.org/packages/Microsoft.Data.Services/5.3.0">https://nuget.org/packages/Microsoft.Data.Services/5.3.0</a> on your client machine<br /><br /></span><span style="mso-ansi-language: EN-IN;" lang="EN-IN">2. From Visual Studio, create an empty C# project. Right click on Service References in Solution Explorer and choose Add Service Reference&hellip;</span></p>
<p class="MsoListParagraphCxSpMiddle"><span style="mso-no-proof: yes;">&nbsp;<a href="https://msdnshared.blob.core.windows.net/media/MSDNBlogsFS/prod.evol.blogs.msdn.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/01/64/03/2570.tpmomapi_3.bmp" original-url="https://blogs.msdn.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-01-64-03/2570.tpmomapi_5F00_3.bmp"><img src="https://msdnshared.blob.core.windows.net/media/MSDNBlogsFS/prod.evol.blogs.msdn.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/01/64/03/2570.tpmomapi_3.bmp" original-url="https://blogs.msdn.com/resized-image.ashx/__size/294x191/__key/communityserver-blogs-components-weblogfiles/00-00-01-64-03/2570.tpmomapi_5F00_3.bmp" alt="" border="0" /></a></span><span style="mso-ansi-language: EN-IN;" lang="EN-IN">&nbsp;</span></p>
<p class="MsoListParagraphCxSpMiddle" style="text-indent: -0.25in; mso-list: l1 level1 lfo2;"><span style="mso-ansi-language: EN-IN; mso-bidi-font-family: Calibri; mso-bidi-theme-font: minor-latin;" lang="EN-IN"><span style="mso-list: Ignore;">3.<span style="font: 7pt/normal 'Times New Roman'; font-size-adjust: none; font-stretch: normal;">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; </span></span></span><span style="mso-ansi-language: EN-IN;" lang="EN-IN">3. Type the $metadata URL in the Address field and hit Go. You will see the TpmContext in the Services. Rename the Namespace to TpmServiceReference</span></p>
<p class="MsoListParagraphCxSpMiddle"><span style="mso-no-proof: yes;">&nbsp;<a href="https://msdnshared.blob.core.windows.net/media/MSDNBlogsFS/prod.evol.blogs.msdn.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/01/64/03/1425.tpmomapi_2.bmp" original-url="https://blogs.msdn.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-01-64-03/1425.tpmomapi_5F00_2.bmp"><img src="https://msdnshared.blob.core.windows.net/media/MSDNBlogsFS/prod.evol.blogs.msdn.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/01/64/03/1425.tpmomapi_2.bmp" original-url="https://blogs.msdn.com/resized-image.ashx/__size/550x512/__key/communityserver-blogs-components-weblogfiles/00-00-01-64-03/1425.tpmomapi_5F00_2.bmp" alt="" border="0" /></a></span><span style="mso-ansi-language: EN-IN;" lang="EN-IN">&nbsp;</span></p>
<p class="MsoListParagraphCxSpMiddle" style="line-height: normal; text-indent: -0.25in; margin-bottom: 0pt; mso-add-space: auto; mso-list: l1 level1 lfo2; mso-layout-grid-align: none;"><span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-fareast-font-family: Consolas; mso-highlight: white;"><span style="mso-list: Ignore;">4.<span style="font: 7pt/normal 'Times New Roman'; font-size-adjust: none; font-stretch: normal;">&nbsp;&nbsp;&nbsp;&nbsp; </span></span></span><span style="mso-ansi-language: EN-IN;" lang="EN-IN">4. Add the directive </span><span style="background: white; color: blue; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">using</span><span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"> &lt;yournamespace&gt;.TpmServiceReference; </span></p>
<p class="MsoListParagraphCxSpMiddle"><span style="mso-ansi-language: EN-IN;" lang="EN-IN">&nbsp;</span><span style="mso-ansi-language: EN-IN;" lang="EN-IN">Now in order to query the service we need three things &ndash; </span></p>
<p class="MsoListParagraphCxSpMiddle" style="text-indent: -0.25in; margin-left: 1in; mso-add-space: auto; mso-list: l1 level2 lfo2;"><span style="mso-ansi-language: EN-IN;" lang="EN-IN">Query ACS to get the authorization token for the endpoint</span></p>
<p class="MsoListParagraphCxSpMiddle" style="text-indent: -0.25in; margin-left: 1in; mso-add-space: auto; mso-list: l1 level2 lfo2;"><span style="mso-ansi-language: EN-IN;" lang="EN-IN">Initialize the TpmContext with the OData source URL </span></p>
<p class="MsoListParagraphCxSpMiddle" style="text-indent: -0.25in; margin-left: 1in; mso-add-space: auto; mso-list: l1 level2 lfo2;"><span style="mso-ansi-language: EN-IN;" lang="EN-IN">Add an event handler that passes this token as part of the header for every GET/POST call</span></p>
<p class="MsoListParagraphCxSpMiddle" style="text-indent: -0.25in; margin-left: 1in; mso-add-space: auto; mso-list: l1 level2 lfo2;"><span style="mso-ansi-language: EN-IN;" lang="EN-IN">Add the logic to query the OData service<br /></span><span style="mso-ansi-language: EN-IN;" lang="EN-IN">&nbsp;</span></p>
<p class="MsoListParagraphCxSpMiddle" style="text-indent: -0.25in; mso-list: l1 level1 lfo2;"><span style="mso-ansi-language: EN-IN; mso-bidi-font-family: Calibri; mso-bidi-theme-font: minor-latin;" lang="EN-IN"><span style="mso-list: Ignore;">5&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 5. </span></span><span style="mso-ansi-language: EN-IN;" lang="EN-IN">Get the ACS details of your deployment &ndash; Go the Windows Azure Management Portal, BizTalk Services node and click on Connection Information and note down the details.</span></p>
<p class="MsoListParagraphCxSpMiddle"><span style="mso-no-proof: yes;">&nbsp;<a href="https://msdnshared.blob.core.windows.net/media/MSDNBlogsFS/prod.evol.blogs.msdn.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/01/64/03/1185.tpmomapi_4.bmp" original-url="https://blogs.msdn.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-01-64-03/1185.tpmomapi_5F00_4.bmp"><img title="Azure Management portal command bar" src="https://msdnshared.blob.core.windows.net/media/MSDNBlogsFS/prod.evol.blogs.msdn.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/01/64/03/1185.tpmomapi_4.bmp" original-url="https://blogs.msdn.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-01-64-03/1185.tpmomapi_5F00_4.bmp" alt="Azure Management portal command bar" width="1161" height="59" /></a></span></p>
<p class="MsoListParagraphCxSpLast" style="text-indent: -0.25in; mso-list: l1 level1 lfo2;"><span style="mso-ansi-language: EN-IN; mso-bidi-font-family: Calibri; mso-bidi-theme-font: minor-latin;" lang="EN-IN"><span style="mso-list: Ignore;"><span style="font: 7pt/normal 'Times New Roman'; font-size-adjust: none; font-stretch: normal;">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; </span></span></span><span style="mso-ansi-language: EN-IN;" lang="EN-IN">6. Query ACS for a token &ndash; use variables for ACS address, issuer name, issuer secret and the deployment address to which the token is queried for.</span></p>
<div class="WordSection1">
<table class="MsoTableGrid" style="border: currentColor; margin-left: 0.5in; border-collapse: collapse; mso-padding-alt: 0in 5.4pt 0in 5.4pt; mso-border-alt: solid windowtext .5pt; mso-yfti-tbllook: 1184;" border="1" cellspacing="0" cellpadding="0">
<tbody>
<tr style="mso-yfti-irow: 0; mso-yfti-firstrow: yes; mso-yfti-lastrow: yes;">
<td style="padding: 0in 5.4pt; border: 1pt solid windowtext; width: 656.6pt; mso-border-alt: solid windowtext .5pt;" valign="top" width="875">
<p class="MsoNormal" style="line-height: normal; margin-bottom: 0pt; mso-layout-grid-align: none;"><span style="background: white; color: blue; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">private</span><span style="background: white; color: blue; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">static</span><span style="background: white; color: blue; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">string</span><span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"> GetAcsToken(</span><span style="background: white; color: blue; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">string</span><span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"> acsAddress, </span><span style="background: white; color: blue; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">string</span><span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"> issuerName, </span><span style="background: white; color: blue; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">string</span><span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"> issuerKey, </span><span style="background: white; color: blue; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">string</span><span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"> appliesToAddress)</span></p>
<p class="MsoNormal" style="line-height: normal; margin-bottom: 0pt; mso-layout-grid-align: none;"><span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">{</span></p>
<p class="MsoNormal" style="margin: 0in 0in 0pt 0.25in; line-height: normal; mso-layout-grid-align: none;"><span style="background: white; color: blue; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">using</span><span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"> (</span><span style="background: white; color: #2b91af; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">WebClient</span><span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"> client = </span><span style="background: white; color: blue; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">new</span><span style="background: white; color: #2b91af; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">WebClient</span><span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">())</span></p>
<p class="MsoNormal" style="margin: 0in 0in 0pt 0.25in; line-height: normal; mso-layout-grid-align: none;"><span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">{</span></p>
<p class="MsoNormal" style="margin: 0in 0in 0pt 0.25in; line-height: normal; mso-layout-grid-align: none;"><span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"><span style="mso-spacerun: yes;">&nbsp;&nbsp; </span>client.BaseAddress = acsAddress;</span></p>
<p class="MsoNormal" style="margin: 0in 0in 0pt 0.25in; line-height: normal; mso-layout-grid-align: none;"><span style="background: white; color: #2b91af; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"><span style="mso-spacerun: yes;">&nbsp;&nbsp; </span>NameValueCollection</span><span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"> values = </span><span style="background: white; color: blue; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">new</span><span style="background: white; color: #2b91af; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">NameValueCollection</span><span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">();</span></p>
<p class="MsoNormal" style="margin: 0in 0in 0pt 0.25in; line-height: normal; mso-layout-grid-align: none;"><span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"><span style="mso-spacerun: yes;">&nbsp;&nbsp; </span>values.Add(</span><span style="background: white; color: #a31515; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">"wrap_name"</span><span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">, issuerName);</span></p>
<p class="MsoNormal" style="margin: 0in 0in 0pt 0.25in; line-height: normal; mso-layout-grid-align: none;"><span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"><span style="mso-spacerun: yes;">&nbsp;&nbsp; </span>values.Add(</span><span style="background: white; color: #a31515; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">"wrap_password"</span><span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">, issuerKey);</span></p>
<p class="MsoNormal" style="margin: 0in 0in 0pt 0.25in; line-height: normal; mso-layout-grid-align: none;"><span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"><span style="mso-spacerun: yes;">&nbsp;&nbsp; </span>values.Add(</span><span style="background: white; color: #a31515; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">"wrap_scope"</span><span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">, appliesToAddress);</span></p>
<p class="MsoNormal" style="margin: 0in 0in 0pt 0.25in; line-height: normal; mso-layout-grid-align: none;"><span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">&nbsp;</span></p>
<p class="MsoNormal" style="margin: 0in 0in 0pt 0.25in; line-height: normal; mso-layout-grid-align: none;"><span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"><span style="mso-spacerun: yes;">&nbsp; </span><span style="mso-spacerun: yes;">&nbsp;</span></span><span style="background: white; color: blue; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">byte</span><span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">[] responseBytes = client.UploadValues(</span><span style="background: white; color: #a31515; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">"WRAPv0.9/"</span><span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">, </span><span style="background: white; color: #a31515; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">"POST"</span><span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">, values);</span></p>
<p class="MsoNormal" style="margin: 0in 0in 0pt 0.25in; line-height: normal; mso-layout-grid-align: none;"><span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">&nbsp;</span></p>
<p class="MsoNormal" style="margin: 0in 0in 0pt 0.25in; line-height: normal; mso-layout-grid-align: none;"><span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"><span style="mso-spacerun: yes;">&nbsp;&nbsp; </span></span><span style="background: white; color: blue; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">string</span><span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"> response = </span><span style="background: white; color: #2b91af; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">Encoding</span><span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">.UTF8.GetString(responseBytes);</span></p>
<p class="MsoNormal" style="margin: 0in 0in 0pt 0.25in; line-height: normal; mso-layout-grid-align: none;"><span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">&nbsp;</span></p>
<p class="MsoNormal" style="margin: 0in 0in 0pt 0.25in; line-height: normal; mso-layout-grid-align: none;"><span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"><span style="mso-spacerun: yes;">&nbsp;&nbsp; </span></span><span style="background: white; color: green; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">// Extract the SWT token and return it.</span></p>
<p class="MsoNormal" style="margin: 0in 0in 0pt 0.25in; line-height: normal; mso-layout-grid-align: none;"><span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"><span style="mso-spacerun: yes;">&nbsp;&nbsp; </span></span><span style="background: white; color: blue; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">return</span><span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"> response</span></p>
<p class="MsoNormal" style="margin: 0in 0in 0pt 0.25in; line-height: normal; mso-layout-grid-align: none;"><span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"><span style="mso-spacerun: yes;">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; </span>.Split(</span><span style="background: white; color: #a31515; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">'&amp;'</span><span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">)</span></p>
<p class="MsoNormal" style="margin: 0in 0in 0pt 0.25in; line-height: normal; mso-layout-grid-align: none;"><span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"><span style="mso-spacerun: yes;">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; </span>.Single(value =&gt; value.StartsWith(</span><span style="background: white; color: #a31515; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">"wrap_access_token="</span><span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">, </span><span style="background: white; color: #2b91af; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">StringComparison</span><span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">.OrdinalIgnoreCase))</span></p>
<p class="MsoNormal" style="margin: 0in 0in 0pt 0.25in; line-height: normal; mso-layout-grid-align: none;"><span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"><span style="mso-spacerun: yes;">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; </span>.Split(</span><span style="background: white; color: #a31515; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">'='</span><span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">)[1];</span></p>
<p class="MsoNormal" style="margin: 0in 0in 0pt 0.25in; line-height: normal; mso-layout-grid-align: none;"><span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">}</span></p>
<p class="MsoNormal"><span style="background: white; color: black; line-height: 115%; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">}</span></p>
</td>
</tr>
</tbody>
</table>
</div>
<p class="MsoListParagraphCxSpFirst"><span style="mso-ansi-language: EN-IN;" lang="EN-IN">&nbsp;</span></p>
<p class="MsoListParagraphCxSpLast" style="text-indent: -0.25in; mso-list: l1 level1 lfo2;"><span style="mso-ansi-language: EN-IN; mso-bidi-font-family: Calibri; mso-bidi-theme-font: minor-latin;" lang="EN-IN"><span style="mso-list: Ignore;">7.<span style="font: 7pt/normal 'Times New Roman'; font-size-adjust: none; font-stretch: normal;">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; </span></span></span><span style="mso-ansi-language: EN-IN;" lang="EN-IN">7. Initialize the TpmContext with the base URL of the OData source (this will not contain the /$metadata). Also add the event handler to stamp the ACS token to the header</span></p>
<div class="WordSection1">
<table class="MsoTableGrid" style="border: currentColor; margin-left: 0.5in; border-collapse: collapse; mso-padding-alt: 0in 5.4pt 0in 5.4pt; mso-border-alt: solid windowtext .5pt; mso-yfti-tbllook: 1184;" border="1" cellspacing="0" cellpadding="0">
<tbody>
<tr style="mso-yfti-irow: 0; mso-yfti-firstrow: yes; mso-yfti-lastrow: yes;">
<td style="padding: 0in 5.4pt; border: 1pt solid windowtext; width: 6.65in; mso-border-alt: solid windowtext .5pt;" valign="top" width="638">
<p class="MsoNormal" style="margin: 0in 0in 0pt 0.25in; line-height: normal; mso-layout-grid-align: none;"><span style="background: white; color: #2b91af; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">TpmContext</span><span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"> context = </span><span style="background: white; color: blue; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">new</span><span style="background: white; color: #2b91af; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">TpmContext</span><span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">(</span><span style="background: white; color: blue; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">new</span><span style="background: white; color: #2b91af; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">Uri</span><span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">(baseUrl));</span></p>
<p class="MsoNormal" style="margin: 0in 0in 0pt 0.25in; line-height: normal; mso-layout-grid-align: none;"><span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">context.SendingRequest += </span><span style="background: white; color: blue; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">new</span><span style="background: white; color: #2b91af; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">EventHandler</span><span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">&lt;</span><span style="background: white; color: #2b91af; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">SendingRequestEventArgs</span><span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">&gt;(context_SendingRequest);</span></p>
<p class="MsoNormal" style="margin: 0in 0in 0pt 0.25in; line-height: normal; mso-layout-grid-align: none;"><span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"><span style="mso-spacerun: yes;">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; </span>context.SaveChangesDefaultOptions = </span><span style="background: white; color: #2b91af; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">SaveChangesOptions</span><span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">.Batch;</span></p>
<p class="MsoNormal" style="margin-left: 0.25in;"><span style="background: white; color: black; line-height: 115%; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">context.IgnoreMissingProperties = </span><span style="background: white; color: blue; line-height: 115%; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">true</span><span style="background: white; color: black; line-height: 115%; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">;</span></p>
</td>
</tr>
</tbody>
</table>
</div>
<p class="MsoListParagraphCxSpFirst"><span style="mso-ansi-language: EN-IN;" lang="EN-IN">&nbsp;</span></p>
<p class="MsoListParagraphCxSpLast" style="text-indent: -0.25in; mso-list: l1 level1 lfo2;"><span style="mso-ansi-language: EN-IN; mso-bidi-font-family: Calibri; mso-bidi-theme-font: minor-latin;" lang="EN-IN"><span style="mso-list: Ignore;">8.<span style="font: 7pt/normal 'Times New Roman'; font-size-adjust: none; font-stretch: normal;">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; </span></span></span><span style="mso-ansi-language: EN-IN;" lang="EN-IN">8. Add an event handler</span></p>
<div class="WordSection1">
<table class="MsoTableGrid" style="border: currentColor; margin-left: 0.5in; border-collapse: collapse; mso-padding-alt: 0in 5.4pt 0in 5.4pt; mso-border-alt: solid windowtext .5pt; mso-yfti-tbllook: 1184;" border="1" cellspacing="0" cellpadding="0">
<tbody>
<tr style="mso-yfti-irow: 0; mso-yfti-firstrow: yes; mso-yfti-lastrow: yes;">
<td style="padding: 0in 5.4pt; border: 1pt solid windowtext; width: 6.65in; mso-border-alt: solid windowtext .5pt;" valign="top" width="638">
<p class="MsoNormal" style="line-height: normal; margin-bottom: 0pt; mso-layout-grid-align: none;"><span style="background: white; color: blue; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">private</span><span style="background: white; color: blue; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">static</span><span style="background: white; color: blue; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">void</span><span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"> context_SendingRequest(</span><span style="background: white; color: blue; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">object</span><span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"> sender, </span><span style="background: white; color: #2b91af; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">SendingRequestEventArgs</span><span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"> e)<span style="mso-spacerun: yes;">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; </span>{</span></p>
<p class="MsoNormal" style="margin: 0in 0in 0pt 0.25in; line-height: normal; mso-layout-grid-align: none;"><span style="background: white; color: green; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">// add timestamp expiration to fetch token only when necessary</span></p>
<p class="MsoNormal" style="margin: 0in 0in 0pt 0.25in; line-height: normal; mso-layout-grid-align: none;"><span style="background: white; color: blue; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">string</span><span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"> token = GetAcsToken(BaseUrl);</span></p>
<p class="MsoNormal" style="margin: 0in 0in 0pt 0.25in; line-height: normal; mso-layout-grid-align: none;"><span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">&nbsp;</span></p>
<p class="MsoNormal" style="margin: 0in 0in 0pt 0.25in; line-height: normal; mso-layout-grid-align: none;"><span style="background: white; color: blue; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">var</span><span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"> request = (</span><span style="background: white; color: #2b91af; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">HttpWebRequest</span><span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">)e.Request;</span></p>
<p class="MsoNormal" style="margin: 0in 0in 0pt 0.25in; line-height: normal; mso-layout-grid-align: none;"><span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">request.Headers[</span><span style="background: white; color: #2b91af; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">HttpRequestHeader</span><span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">.Authorization] = </span><span style="background: white; color: #a31515; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">"WRAP access_token=\""</span><span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"> +</span></p>
<p class="MsoNormal" style="margin: 0in 0in 0pt 0.25in; line-height: normal; mso-layout-grid-align: none;"><span style="background: white; color: #2b91af; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">HttpUtility</span><span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">.UrlDecode(token) + </span><span style="background: white; color: #a31515; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">"\""</span><span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">;</span></p>
<p class="MsoNormal" style="margin: 0in 0in 0pt 0.25in; line-height: normal; mso-layout-grid-align: none;"><span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">&nbsp;</span></p>
<p class="MsoNormal" style="margin: 0in 0in 0pt 0.25in; line-height: normal; mso-layout-grid-align: none;"><span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">request.Headers[</span><span style="background: white; color: #a31515; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">"x-ms-version"</span><span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">] = </span><span style="background: white; color: #a31515; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">"1.2"</span><span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">;</span></p>
<p class="MsoNormal" style="line-height: normal; margin-bottom: 0pt; mso-layout-grid-align: none;"><span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">}</span></p>
</td>
</tr>
</tbody>
</table>
</div>
<p class="MsoListParagraphCxSpFirst"><span style="mso-ansi-language: EN-IN;" lang="EN-IN">&nbsp;</span></p>
<p class="MsoListParagraphCxSpMiddle"><strong style="mso-bidi-font-weight: normal;"><span style="mso-ansi-language: EN-IN;" lang="EN-IN">Note</span></strong><span style="mso-ansi-language: EN-IN;" lang="EN-IN">: </span><span style="background: white; color: #a31515; line-height: 115%; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">x-ms-version</span><span style="mso-ansi-language: EN-IN;"> <span lang="EN-IN">is a mandatory header and indicates the version of the TPM OM API OData service. 1.2 here is the version for the BizTalk Services February update</span></span></p>
<p class="MsoListParagraphCxSpMiddle"><span style="mso-ansi-language: EN-IN; mso-bidi-font-family: Calibri; mso-bidi-theme-font: minor-latin;" lang="EN-IN"><span style="mso-list: Ignore;">&nbsp;9.<span style="font: 7pt/normal 'Times New Roman'; font-size-adjust: none; font-stretch: normal;">&nbsp;&nbsp;&nbsp;</span></span></span><span style="mso-ansi-language: EN-IN;" lang="EN-IN">You can now use CRUD operations. Here is a sample to create a Partner and Profile. Note the use of SetLink using navigation properties. </span></p>
<div class="WordSection1">
<table class="MsoTableGrid" style="border: currentColor; margin-left: 0.5in; border-collapse: collapse; mso-padding-alt: 0in 5.4pt 0in 5.4pt; mso-border-alt: solid windowtext .5pt; mso-yfti-tbllook: 1184;" border="1" cellspacing="0" cellpadding="0">
<tbody>
<tr style="mso-yfti-irow: 0; mso-yfti-firstrow: yes; mso-yfti-lastrow: yes;">
<td style="padding: 0in 5.4pt; border: 1pt solid windowtext; width: 6.65in; mso-border-alt: solid windowtext .5pt;" valign="top" width="638">
<p class="MsoNormal" style="line-height: normal; margin-bottom: 0pt; mso-layout-grid-align: none;"><span style="background: white; color: green; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">//Create partner A</span></p>
<p class="MsoNormal" style="line-height: normal; margin-bottom: 0pt; mso-layout-grid-align: none;"><span style="background: white; color: blue; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">var</span><span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"> partnerA = </span><span style="background: white; color: blue; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">new</span><span style="background: white; color: #2b91af; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">Partner</span><span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">() { Name = </span><span style="background: white; color: #a31515; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">"PartnerA"</span><span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">, Description = </span><span style="background: white; color: #a31515; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">"DescriptionA"</span><span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"> };</span></p>
<p class="MsoNormal" style="line-height: normal; margin-bottom: 0pt; mso-layout-grid-align: none;"><span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">context.AddToPartners(partnerA);</span></p>
<p class="MsoNormal"><span style="background: white; color: black; line-height: 115%; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">context.SaveChanges()</span><span style="color: black; line-height: 115%; font-family: Consolas; font-size: 9.5pt;">;</span></p>
<p class="MsoNormal" style="line-height: normal; margin-bottom: 0pt; mso-layout-grid-align: none;"><span style="background: white; color: green; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">//Create new BusinessProfile for partnerA</span></p>
<p class="MsoNormal" style="line-height: normal; margin-bottom: 0pt; mso-layout-grid-align: none;"><span style="background: white; color: blue; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">var</span><span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"> profileA = </span><span style="background: white; color: blue; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">new</span><span style="background: white; color: #2b91af; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">BusinessProfile</span><span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">() { Name = </span><span style="background: white; color: #a31515; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">"ProfileA"</span><span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">, Description = </span><span style="background: white; color: #a31515; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">"DescriptionA"</span><span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"> };</span></p>
<p class="MsoNormal" style="line-height: normal; margin-bottom: 0pt; mso-layout-grid-align: none;"><span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">context.AddToBusinessProfiles(profileA);</span></p>
<p class="MsoNormal" style="line-height: normal; margin-bottom: 0pt; mso-layout-grid-align: none;"><span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">context.SetLink(profileA, </span><span style="background: white; color: #a31515; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">"Partner"</span><span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">, partnerA);</span></p>
<p class="MsoNormal" style="line-height: normal; margin-bottom: 0pt; mso-layout-grid-align: none;"><span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">context.SaveChanges();</span></p>
</td>
</tr>
</tbody>
</table>
</div>
<p class="MsoListParagraphCxSpFirst"><span style="mso-ansi-language: EN-IN;" lang="EN-IN">&nbsp;</span></p>
<p class="MsoListParagraphCxSpLast" style="text-indent: -0.25in; mso-list: l1 level1 lfo2;"><span style="mso-ansi-language: EN-IN; mso-bidi-font-family: Calibri; mso-bidi-theme-font: minor-latin;" lang="EN-IN"><span style="mso-list: Ignore;">10.<span style="font: 7pt/normal 'Times New Roman'; font-size-adjust: none; font-stretch: normal;">&nbsp;&nbsp;&nbsp; </span></span></span><span style="mso-ansi-language: EN-IN;" lang="EN-IN">10. You can also use Linq to query the data</span></p>
<div class="WordSection1">
<table class="MsoTableGrid" style="border: currentColor; margin-left: 0.5in; border-collapse: collapse; mso-padding-alt: 0in 5.4pt 0in 5.4pt; mso-border-alt: solid windowtext .5pt; mso-yfti-tbllook: 1184;" border="1" cellspacing="0" cellpadding="0">
<tbody>
<tr style="mso-yfti-irow: 0; mso-yfti-firstrow: yes; mso-yfti-lastrow: yes;">
<td style="padding: 0in 5.4pt; border: 1pt solid windowtext; width: 6.65in; mso-border-alt: solid windowtext .5pt;" valign="top" width="638">
<p class="MsoNormal" style="line-height: normal; margin-bottom: 0pt; mso-layout-grid-align: none;"><span style="background: white; color: green; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">// Query the list of all partners</span></p>
<p class="MsoNormal" style="line-height: normal; margin-bottom: 0pt; mso-layout-grid-align: none;"><span style="background: white; color: blue; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">var</span><span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"> allPartners = </span><span style="background: white; color: blue; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">from</span><span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"> p </span><span style="background: white; color: blue; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">in</span><span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"> context.Partners</span></p>
<p class="MsoNormal" style="line-height: normal; margin-bottom: 0pt; mso-layout-grid-align: none;"><span style="background: white; color: blue; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">orderby</span><span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"> p.Description</span></p>
<p class="MsoNormal" style="line-height: normal; margin-bottom: 0pt; mso-layout-grid-align: none;"><span style="background: white; color: blue; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">select</span><span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"> p;</span></p>
</td>
</tr>
</tbody>
</table>
</div>
<p class="MsoNormal"><span style="mso-ansi-language: EN-IN;" lang="EN-IN">&nbsp;</span></p>
<p class="MsoNormal"><span style="mso-ansi-language: EN-IN;" lang="EN-IN">Compile and run the application to create the partner and also see the list of existing partners. Note the MSDN Code Gallery sample contains code to add X12, EDIFACT and AS2 agreements as well. After creation of agreements from TPM OM API, the agreements are in Draft state. You need to go to the BizTalk Services portal to edit the agreement, add Transform and Route settings and then deployment the agreement.<br /><br /></span></p>
<p class="MsoNormal"><strong style="mso-bidi-font-weight: normal;"><span style="mso-ansi-language: EN-IN;" lang="EN-IN">References</span></strong></p>
<ul>
<li>
<div class="MsoListParagraphCxSpFirst" style="text-indent: -0.25in; mso-list: l0 level1 lfo4;"><span style="font-family: Symbol; mso-ansi-language: EN-IN; mso-fareast-font-family: Symbol; mso-bidi-font-family: Symbol;" lang="EN-IN"><span style="mso-list: Ignore;">&middot;<span style="font: 7pt/normal 'Times New Roman'; font-size-adjust: none; font-stretch: normal;">&nbsp;&nbsp;&nbsp;</span></span></span><span style="mso-ansi-language: EN-IN;" lang="EN-IN"><a href="https://code.msdn.microsoft.com/windowsazure/Windows-Azure-BizTalk-EDI-3a361cef">MSDN Code Gallery OM API sample</a></span></div>
</li>
<li>
<div class="MsoListParagraphCxSpMiddle" style="text-indent: -0.25in; mso-list: l0 level1 lfo4;"><span style="font-family: Symbol; mso-ansi-language: EN-IN; mso-fareast-font-family: Symbol; mso-bidi-font-family: Symbol;" lang="EN-IN"><span style="mso-list: Ignore;">&middot;<span style="font: 7pt/normal 'Times New Roman'; font-size-adjust: none; font-stretch: normal;">&nbsp;&nbsp;&nbsp;</span></span></span><span style="mso-ansi-language: EN-IN;" lang="EN-IN"><a href="https://msdn.microsoft.com/en-us/library/windowsazure/dn232369.aspx">OM API REST Reference</a></span></div>
</li>
<li>
<div class="MsoListParagraphCxSpLast" style="text-indent: -0.25in; mso-list: l0 level1 lfo4;"><span style="font-family: Symbol; mso-ansi-language: EN-IN; mso-fareast-font-family: Symbol; mso-bidi-font-family: Symbol;" lang="EN-IN"><span style="mso-list: Ignore;">&middot;<span style="font: 7pt/normal 'Times New Roman'; font-size-adjust: none; font-stretch: normal;">&nbsp;&nbsp;&nbsp;</span></span></span><span style="mso-ansi-language: EN-IN;" lang="EN-IN"><a href="https://msdn.microsoft.com/en-us/library/cc668792%28v=vs.110%29.aspx">WCF Data Services</a></span></div>
</li>
</ul>
<p class="MsoListParagraphCxSpLast" style="text-indent: -0.25in; mso-list: l0 level1 lfo4;"><span style="mso-ansi-language: EN-IN;" lang="EN-IN">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<br /></span><strong>-Karthik Bharathy</strong></p>
<p><em>You can also follow me on Twitter @<a href="https://twitter.com/kb_chirps">kb_chirps</a>&nbsp;for quicker updates on BizTalk or read my book on "<a href="https://www.amazon.com/dp/178217740X/?tag=packtpubli-20">Getting Started with BizTalk Services</a>" (pre-order from <a href="https://www.packtpub.com/getting-started-with-biztalk-services/book">here</a>)</em></p>
<p class="MsoListParagraphCxSpLast" style="text-indent: -0.25in; mso-list: l0 level1 lfo4;">&nbsp;</p>]]></content:encoded>
    </item>
    <item>
      <title>BizTalk TPM OM API – Part 1</title>
      <link>https://docs.microsoft.com/archive/blogs/karthikbharathy/biztalk-tpm-om-api-part-1</link>
      <pubDate>Thu, 06 Mar 2014 02:22:00 GMT</pubDate>
      <dc:creator><![CDATA[Karthik_Bharathy [MSFT]]]></dc:creator>
      <guid
        isPermaLink="false">https://blogs.msdn.microsoft.com/karthikbharathy/2014/03/06/biztalk-tpm-om-api-part-1/</guid>
      <description><![CDATA[This is a two-part series on using TPM OM API in BizTalk Services. In Part 1, we discuss the TPM...]]></description>
      <content:encoded><![CDATA[<div class="WordSection1">
<div style="background: #f2f2f2; border-width: 1pt medium; border-style: solid none; border-color: windowtext currentColor; padding: 1pt 0in; mso-element: para-border-div; mso-border-top-alt: solid windowtext .5pt; mso-border-bottom-alt: solid windowtext .5pt; mso-background-themecolor: background1; mso-background-themeshade: 242;">
<p class="MsoNormal" style="background: #f2f2f2; padding: 0in; border: currentColor; mso-border-top-alt: solid windowtext .5pt; mso-border-bottom-alt: solid windowtext .5pt; mso-background-themecolor: background1; mso-background-themeshade: 242; mso-padding-alt: 1.0pt 0in 1.0pt 0in;"><em style="mso-bidi-font-style: normal;"><span style="mso-ansi-language: EN-IN;" lang="EN-IN">This is a two-part series on using TPM OM API in BizTalk Services. In Part 1, we discuss the TPM model and in <a title="TPM OM API Part 2" href="https://blogs.msdn.com/b/karthikbharathy/archive/2014/03/07/biztalk-tpm-om-api-part-2.aspx">Part 2</a>, we use this model in a sample walkthrough.</span></em></p>
</div>
<p class="MsoNormal"><span style="mso-ansi-language: EN-IN;" lang="EN-IN"><br />B</span><span style="mso-ansi-language: EN-IN;" lang="EN-IN">2B customers define trading relationships between partners using technical agreements. BizTalk Services provides B2B capabilities to manage this relationship using the BizTalk Services portal or through API. Trading partner management API is used to manage the lifecycle of an agreement programmatically. The true power of the API is realized when one can dynamically change the behaviour of an agreement at runtime.<br /><br /></span><span style="mso-ansi-language: EN-IN;" lang="EN-IN">Think of a scenario where B2B partners need to comply with a new mandate, say by switching from &ldquo;:&rdquo; to &ldquo;;&rdquo;separator in X12 messages. Or consider the scenario when you are sending test messages to agreements in the stage environment and you would like to move the agreements to the production environment. In either scenario, BizTalk Services portal is useful if you there are less than 5 agreements to be updated. However if the change is across 100 or even 1000 agreements, it would be helpful to automate the updates. <br /><br /></span><span style="mso-ansi-language: EN-IN;" lang="EN-IN">Before we go further, let&rsquo;s look at the object model in its basic form. From the diagram below, there are Partners who trade with each other, their businesses (profiles) which exchange data on a pre-negotiated agreement and data adheres to some protocol (settings) like EDIFACT or X12 depending on the region.<br /><br /></span></p>
<p class="MsoNormal"><span style="mso-ansi-language: EN-IN;" lang="EN-IN"><a href="https://msdnshared.blob.core.windows.net/media/MSDNBlogsFS/prod.evol.blogs.msdn.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/01/64/03/2313.simplemodel.bmp" original-url="https://blogs.msdn.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-01-64-03/2313.simplemodel.bmp"><img src="https://msdnshared.blob.core.windows.net/media/MSDNBlogsFS/prod.evol.blogs.msdn.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/01/64/03/2313.simplemodel.bmp" original-url="https://blogs.msdn.com/resized-image.ashx/__size/550x0/__key/communityserver-blogs-components-weblogfiles/00-00-01-64-03/2313.simplemodel.bmp" alt="" width="437" height="124" border="0" /></a></span></p>
<p class="MsoNormal"><span style="mso-ansi-language: EN-IN;" lang="EN-IN"><br />The TPM model is exposed for consumption through WCF Data Services, a .NET framework that enables the model to be accessed over Open Data Protocol (OData). Let&rsquo;s also briefly look at how WCF Data Services are used. </span><span style="mso-ansi-language: EN-IN;" lang="EN-IN">WCF Data Services are stateless but the state of the client is maintained in </span><span class="SpellE"><span style="font-family: Consolas; mso-ansi-language: EN-IN;" lang="EN-IN">DataServiceContext</span></span><span style="mso-ansi-language: EN-IN;" lang="EN-IN">. In our case, </span><span class="SpellE"><span style="font-family: Consolas; mso-ansi-language: EN-IN;" lang="EN-IN">TpmContext</span></span><span style="mso-ansi-language: EN-IN;" lang="EN-IN"> inherits </span><span class="SpellE"><span style="font-family: Consolas; mso-ansi-language: EN-IN;" lang="EN-IN">DataServiceContext</span></span><span style="mso-ansi-language: EN-IN;" lang="EN-IN">. All CRUD operations to the OM will be carried out using the </span><span class="SpellE"><span style="font-family: Consolas; mso-ansi-language: EN-IN;" lang="EN-IN">TpmContext</span></span><span style="mso-ansi-language: EN-IN;" lang="EN-IN"> object which exposes a set of object collections of the TPM OM. </span><span class="SpellE"><span style="font-family: Consolas; mso-ansi-language: EN-IN;" lang="EN-IN">TpmContext</span></span><span style="mso-ansi-language: EN-IN;" lang="EN-IN"> also exposes two important methods </span><span class="SpellE"><span style="font-family: Consolas; mso-ansi-language: EN-IN;" lang="EN-IN">setLink</span></span><span style="mso-ansi-language: EN-IN;" lang="EN-IN"> and </span><span class="SpellE"><span style="font-family: Consolas; mso-ansi-language: EN-IN;" lang="EN-IN">AddLink</span></span><span style="mso-ansi-language: EN-IN;" lang="EN-IN"> for managing relationships between objects. The methods accept the source and destination object and the navigation property name between the objects. When the relationship between objects is 1-N, then use </span><span class="SpellE"><span style="font-family: Consolas; mso-ansi-language: EN-IN;" lang="EN-IN">AddLink</span></span><span style="mso-ansi-language: EN-IN;" lang="EN-IN"> else when the relationship is N-1 or 1-1 use the </span><span class="SpellE"><span style="font-family: Consolas; mso-ansi-language: EN-IN;" lang="EN-IN">SetLink</span></span><span style="mso-ansi-language: EN-IN;" lang="EN-IN"> method. For example, one Partnership can contain one specific Partner (use </span><span class="SpellE"><span style="font-family: Consolas; mso-ansi-language: EN-IN;" lang="EN-IN">SetLink</span></span><span style="mso-ansi-language: EN-IN;" lang="EN-IN">) while one Partner can be part of multiple Partnerships (use </span><span class="SpellE"><span style="font-family: Consolas; mso-ansi-language: EN-IN;" lang="EN-IN">AddLink</span></span><span style="mso-ansi-language: EN-IN;" lang="EN-IN">). Both are shown in the code snippet below:<br /><br /></span></p>
<p class="MsoNormal" style="line-height: normal; margin-bottom: 0pt; mso-layout-grid-align: none;"><span class="SpellE"><span class="GramE"><span style="background: white; color: blue; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">var</span></span></span><span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"> partnership = </span><span style="background: white; color: blue; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">new</span><span style="background: white; color: #2b91af; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">Partnership</span><span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">();<br /></span><span class="SpellE"><span class="GramE"><span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">context.AddToPartnerships</span></span></span><span class="GramE"><span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">(</span></span><span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">partnership);<br /></span><span class="SpellE"><span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">partnership.PartnerA</span></span><span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"> = <span class="SpellE">partnerA</span>;<br /></span><span class="SpellE"><span class="GramE"><span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">context.SetLink</span></span></span><span class="GramE"><span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">(</span></span><span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">partnership, </span><span style="background: white; color: #a31515; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">"<span class="SpellE">PartnerA</span>"</span><span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">, <span class="SpellE">partnerA</span>); </span><span style="background: white; color: green; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">// navigation property PartnerA<br /></span><span class="SpellE"><span class="GramE"><span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">partnerA.PartnershipsAsA.Add</span></span></span><span class="GramE"><span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">(</span></span><span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">partnership);<br /></span><span class="SpellE"><span class="GramE"><span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">context.AddLink</span></span></span><span class="GramE"><span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">(</span></span><span class="SpellE"><span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">partnerA</span></span><span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">, </span><span style="background: white; color: #a31515; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">"<span class="SpellE">PartnershipsAsA</span>"</span><span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">, partnership); </span><span style="background: white; color: green; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">// navigation property PartnershipAsA<br /></span><span class="SpellE"><span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">partnership.PartnerB</span></span><span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"> = <span class="SpellE">partnerB</span>;<br /></span><span class="SpellE"><span class="GramE"><span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">context.SetLink</span></span></span><span class="GramE"><span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">(</span></span><span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">partnership, </span><span style="background: white; color: #a31515; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">"<span class="SpellE">PartnerB</span>"</span><span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">, <span class="SpellE">partnerB</span>); </span><span style="background: white; color: green; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">// navigation property PartnerB<br /></span><span class="SpellE"><span class="GramE"><span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">partnerB.PartnershipsAsB.Add</span></span></span><span class="GramE"><span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">(</span></span><span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">partnership);<br /></span><span class="SpellE"><span class="GramE"><span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">context.AddLink</span></span></span><span class="GramE"><span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">(</span></span><span class="SpellE"><span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">partnerB</span></span><span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">, </span><span style="background: white; color: #a31515; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">"<span class="SpellE">PartnershipsAsB</span>"</span><span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">, partnership); </span><span style="background: white; color: green; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">// navigation property PartnershipAsB<br /></span><span class="SpellE"><span class="GramE"><span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">context.SaveChanges</span></span></span><span class="GramE"><span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">(</span></span><span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">);</span></p>
<p class="MsoNormal"><span style="mso-ansi-language: EN-IN;" lang="EN-IN">&nbsp;</span></p>
<p class="MsoNormal"><span style="mso-ansi-language: EN-IN;" lang="EN-IN">Now once we know the complete model, we can tie the objects and their navigation properties and use it to update the model. let&rsquo;s look at the complete model:</span></p>
<p class="MsoNormal">&nbsp;<a href="https://msdnshared.blob.core.windows.net/media/MSDNBlogsFS/prod.evol.blogs.msdn.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/01/64/03/5153.detailedmodel.bmp" original-url="https://blogs.msdn.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-01-64-03/5153.detailedmodel.bmp"><img style="margin: 10px; vertical-align: middle;" title="TPM OM model" src="https://msdnshared.blob.core.windows.net/media/MSDNBlogsFS/prod.evol.blogs.msdn.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/01/64/03/5153.detailedmodel.bmp" original-url="https://blogs.msdn.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-01-64-03/5153.detailedmodel.bmp" alt="TPM OM model (in detail)" width="1032" height="540" /></a></p>
<p class="MsoNormal"><span style="mso-ansi-language: EN-IN;" lang="EN-IN"><br /><br />The objects in the model are explained in the table below:</span></p>
<table class="MsoTableLightShading" style="border: currentColor; width: 759px; height: 531px; border-collapse: collapse; mso-border-top-alt: solid black 1.0pt; mso-border-bottom-alt: solid black 1.0pt; mso-padding-alt: 0in 5.4pt 0in 5.4pt; mso-border-top-themecolor: text1; mso-border-bottom-themecolor: text1; mso-yfti-tbllook: 1568;" border="1" cellspacing="0" cellpadding="0">
<tbody>
<tr style="mso-yfti-irow: -1; mso-yfti-firstrow: yes;">
<td style="border-width: 1pt medium; border-style: solid none; border-color: black currentColor; padding: 0in 5.4pt; width: 35.65pt; mso-border-top-themecolor: text1; mso-border-bottom-themecolor: text1;" valign="top" width="48">
<p class="MsoNormal" style="line-height: normal; margin-bottom: 0pt; mso-yfti-cnfc: 1;"><strong><span style="color: black; mso-ansi-language: EN-IN; mso-themecolor: text1; mso-themeshade: 191;" lang="EN-IN">#</span></strong></p>
</td>
<td style="border-width: 1pt medium; border-style: solid none; border-color: black currentColor; padding: 0in 5.4pt; width: 137.25pt; mso-border-top-themecolor: text1; mso-border-bottom-themecolor: text1;" valign="top" width="183">
<p class="MsoNormal" style="line-height: normal; margin-bottom: 0pt; mso-yfti-cnfc: 1;"><strong><span style="color: black; mso-ansi-language: EN-IN; mso-themecolor: text1; mso-themeshade: 191;" lang="EN-IN">TPM Object</span></strong></p>
</td>
<td style="border-width: 1pt medium; border-style: solid none; border-color: black currentColor; padding: 0in 5.4pt; width: 305.9pt; mso-border-top-themecolor: text1; mso-border-bottom-themecolor: text1;" valign="top" width="408">
<p class="MsoNormal" style="line-height: normal; margin-bottom: 0pt; mso-yfti-cnfc: 1;"><strong><span style="color: black; mso-ansi-language: EN-IN; mso-themecolor: text1; mso-themeshade: 191;" lang="EN-IN">Description</span></strong></p>
</td>
</tr>
<tr style="mso-yfti-irow: 0;">
<td style="padding: 0in 5.4pt; border: currentColor; width: 35.65pt;" valign="top" width="48">
<p class="MsoNormal" style="line-height: normal; margin-bottom: 0pt;"><span style="color: black; mso-ansi-language: EN-IN; mso-themecolor: text1; mso-themeshade: 191;" lang="EN-IN">1</span></p>
</td>
<td style="padding: 0in 5.4pt; border: currentColor; width: 137.25pt;" valign="top" width="183">
<p class="MsoNormal" style="line-height: normal; margin-bottom: 0pt;"><span class="SpellE"><span style="color: black; font-family: Consolas; mso-ansi-language: EN-IN; mso-themecolor: text1; mso-themeshade: 191;" lang="EN-IN">TpmContext</span></span></p>
</td>
<td style="padding: 0in 5.4pt; border: currentColor; width: 305.9pt;" valign="top" width="408">
<p class="MsoNormal" style="line-height: normal; margin-bottom: 0pt;"><span style="color: black; mso-ansi-language: EN-IN; mso-themecolor: text1; mso-themeshade: 191;" lang="EN-IN">WCF <span class="SpellE">DataServiceContext</span> object on client to make OM API calls to service</span></p>
</td>
</tr>
<tr style="mso-yfti-irow: 1;">
<td style="padding: 0in 5.4pt; border: currentColor; width: 35.65pt;" valign="top" width="48">
<p class="MsoNormal" style="line-height: normal; margin-bottom: 0pt;"><span style="color: black; mso-ansi-language: EN-IN; mso-themecolor: text1; mso-themeshade: 191;" lang="EN-IN">2</span></p>
</td>
<td style="padding: 0in 5.4pt; border: currentColor; width: 137.25pt;" valign="top" width="183">
<p class="MsoNormal" style="line-height: normal; margin-bottom: 0pt;"><span style="color: black; font-family: Consolas; mso-ansi-language: EN-IN; mso-themecolor: text1; mso-themeshade: 191;" lang="EN-IN">Partner</span></p>
</td>
<td style="padding: 0in 5.4pt; border: currentColor; width: 305.9pt;" valign="top" width="408">
<p class="MsoNormal" style="line-height: normal; margin-bottom: 0pt;"><span style="color: black; mso-ansi-language: EN-IN; mso-themecolor: text1; mso-themeshade: 191;" lang="EN-IN">Company participating in a trading partner relationship</span></p>
</td>
</tr>
<tr style="mso-yfti-irow: 2;">
<td style="padding: 0in 5.4pt; border: currentColor; width: 35.65pt;" valign="top" width="48">
<p class="MsoNormal" style="line-height: normal; margin-bottom: 0pt;"><span style="color: black; mso-ansi-language: EN-IN; mso-themecolor: text1; mso-themeshade: 191;" lang="EN-IN">3</span></p>
</td>
<td style="padding: 0in 5.4pt; border: currentColor; width: 137.25pt;" valign="top" width="183">
<p class="MsoNormal" style="line-height: normal; margin-bottom: 0pt;"><span class="SpellE"><span style="color: black; font-family: Consolas; mso-ansi-language: EN-IN; mso-themecolor: text1; mso-themeshade: 191;" lang="EN-IN">BusinessProfile</span></span></p>
</td>
<td style="padding: 0in 5.4pt; border: currentColor; width: 305.9pt;" valign="top" width="408">
<p class="MsoNormal" style="line-height: normal; margin-bottom: 0pt;"><span style="color: black; mso-ansi-language: EN-IN; mso-themecolor: text1; mso-themeshade: 191;" lang="EN-IN">Business within the company</span></p>
</td>
</tr>
<tr style="mso-yfti-irow: 3;">
<td style="padding: 0in 5.4pt; border: currentColor; width: 35.65pt;" valign="top" width="48">
<p class="MsoNormal" style="line-height: normal; margin-bottom: 0pt;"><span style="color: black; mso-ansi-language: EN-IN; mso-themecolor: text1; mso-themeshade: 191;" lang="EN-IN">4</span></p>
</td>
<td style="padding: 0in 5.4pt; border: currentColor; width: 137.25pt;" valign="top" width="183">
<p class="MsoNormal" style="line-height: normal; margin-bottom: 0pt;"><span style="color: black; font-family: Consolas; mso-ansi-language: EN-IN; mso-themecolor: text1; mso-themeshade: 191;" lang="EN-IN">Partnership</span></p>
</td>
<td style="padding: 0in 5.4pt; border: currentColor; width: 305.9pt;" valign="top" width="408">
<p class="MsoNormal" style="line-height: normal; margin-bottom: 0pt;"><span style="color: black; mso-ansi-language: EN-IN; mso-themecolor: text1; mso-themeshade: 191;" lang="EN-IN">One or more agreements between two partners constitute a partnership</span></p>
</td>
</tr>
<tr style="mso-yfti-irow: 4;">
<td style="padding: 0in 5.4pt; border: currentColor; width: 35.65pt;" valign="top" width="48">
<p class="MsoNormal" style="line-height: normal; margin-bottom: 0pt;"><span style="color: black; mso-ansi-language: EN-IN; mso-themecolor: text1; mso-themeshade: 191;" lang="EN-IN">5</span></p>
</td>
<td style="padding: 0in 5.4pt; border: currentColor; width: 137.25pt;" valign="top" width="183">
<p class="MsoNormal" style="line-height: normal; margin-bottom: 0pt;"><span class="SpellE"><span style="color: black; font-family: Consolas; mso-ansi-language: EN-IN; mso-themecolor: text1; mso-themeshade: 191;" lang="EN-IN">BusinessIdentity</span></span></p>
</td>
<td style="padding: 0in 5.4pt; border: currentColor; width: 305.9pt;" valign="top" width="408">
<p class="MsoNormal" style="line-height: normal; margin-bottom: 0pt;"><span style="color: black; mso-ansi-language: EN-IN; mso-themecolor: text1; mso-themeshade: 191;" lang="EN-IN">Identifier and it value of either the sender or receiver (abstract)</span></p>
</td>
</tr>
<tr style="mso-yfti-irow: 5;">
<td style="padding: 0in 5.4pt; border: currentColor; width: 35.65pt;" valign="top" width="48">
<p class="MsoNormal" style="line-height: normal; margin-bottom: 0pt;"><span style="color: black; mso-ansi-language: EN-IN; mso-themecolor: text1; mso-themeshade: 191;" lang="EN-IN">6</span></p>
</td>
<td style="padding: 0in 5.4pt; border: currentColor; width: 137.25pt;" valign="top" width="183">
<p class="MsoNormal" style="line-height: normal; margin-bottom: 0pt;"><span class="SpellE"><span style="color: black; font-family: Consolas; mso-ansi-language: EN-IN; mso-themecolor: text1; mso-themeshade: 191;" lang="EN-IN">QualifierIdentity</span></span></p>
</td>
<td style="padding: 0in 5.4pt; border: currentColor; width: 305.9pt;" valign="top" width="408">
<p class="MsoNormal" style="line-height: normal; margin-bottom: 0pt;"><span style="color: black; mso-ansi-language: EN-IN; mso-themecolor: text1; mso-themeshade: 191;" lang="EN-IN">Realization of <span class="SpellE">BusinessIdentity</span> for X12, EDIFACT, AS2</span></p>
</td>
</tr>
<tr style="mso-yfti-irow: 6;">
<td style="padding: 0in 5.4pt; border: currentColor; width: 35.65pt;" valign="top" width="48">
<p class="MsoNormal" style="line-height: normal; margin-bottom: 0pt;"><span style="color: black; mso-ansi-language: EN-IN; mso-themecolor: text1; mso-themeshade: 191;" lang="EN-IN">7</span></p>
</td>
<td style="padding: 0in 5.4pt; border: currentColor; width: 137.25pt;" valign="top" width="183">
<p class="MsoNormal" style="line-height: normal; margin-bottom: 0pt;"><span style="color: black; font-family: Consolas; mso-ansi-language: EN-IN; mso-themecolor: text1; mso-themeshade: 191;" lang="EN-IN">Agreement</span></p>
</td>
<td style="padding: 0in 5.4pt; border: currentColor; width: 305.9pt;" valign="top" width="408">
<p class="MsoNormal" style="line-height: normal; margin-bottom: 0pt;"><span style="color: black; mso-ansi-language: EN-IN; mso-themecolor: text1; mso-themeshade: 191;" lang="EN-IN">Technical agreement settings between two business profiles</span></p>
</td>
</tr>
<tr style="mso-yfti-irow: 7;">
<td style="padding: 0in 5.4pt; border: currentColor; width: 35.65pt;" valign="top" width="48">
<p class="MsoNormal" style="line-height: normal; margin-bottom: 0pt;"><span style="color: black; mso-ansi-language: EN-IN; mso-themecolor: text1; mso-themeshade: 191;" lang="EN-IN">8</span></p>
</td>
<td style="padding: 0in 5.4pt; border: currentColor; width: 137.25pt;" valign="top" width="183">
<p class="MsoNormal" style="line-height: normal; margin-bottom: 0pt;"><span class="SpellE"><span style="color: black; font-family: Consolas; mso-ansi-language: EN-IN; mso-themecolor: text1; mso-themeshade: 191;" lang="EN-IN">OnewayAgreement</span></span></p>
</td>
<td style="padding: 0in 5.4pt; border: currentColor; width: 305.9pt;" valign="top" width="408">
<p class="MsoNormal" style="line-height: normal; margin-bottom: 0pt;"><span style="color: black; mso-ansi-language: EN-IN; mso-themecolor: text1; mso-themeshade: 191;" lang="EN-IN">Either send or receive direction of the agreement</span></p>
</td>
</tr>
<tr style="mso-yfti-irow: 8;">
<td style="padding: 0in 5.4pt; border: currentColor; width: 35.65pt;" valign="top" width="48">
<p class="MsoNormal" style="line-height: normal; margin-bottom: 0pt;"><span style="color: black; mso-ansi-language: EN-IN; mso-themecolor: text1; mso-themeshade: 191;" lang="EN-IN">9</span></p>
</td>
<td style="padding: 0in 5.4pt; border: currentColor; width: 137.25pt;" valign="top" width="183">
<p class="MsoNormal" style="line-height: normal; margin-bottom: 0pt;"><span class="SpellE"><span style="color: black; font-family: Consolas; mso-ansi-language: EN-IN; mso-themecolor: text1; mso-themeshade: 191;" lang="EN-IN">ProtocolSettings</span></span></p>
</td>
<td style="padding: 0in 5.4pt; border: currentColor; width: 305.9pt;" valign="top" width="408">
<p class="MsoNormal" style="line-height: normal; margin-bottom: 0pt;"><span style="color: black; mso-ansi-language: EN-IN; mso-themecolor: text1; mso-themeshade: 191;" lang="EN-IN">Settings specific to a one way agreement</span></p>
</td>
</tr>
<tr style="mso-yfti-irow: 9;">
<td style="padding: 0in 5.4pt; border: currentColor; width: 35.65pt;" valign="top" width="48">
<p class="MsoNormal" style="line-height: normal; margin-bottom: 0pt;"><span style="color: black; mso-ansi-language: EN-IN; mso-themecolor: text1; mso-themeshade: 191;" lang="EN-IN">10</span></p>
</td>
<td style="padding: 0in 5.4pt; border: currentColor; width: 137.25pt;" valign="top" width="183">
<p class="MsoNormal" style="line-height: normal; margin-bottom: 0pt;"><span style="color: black; font-family: Consolas; mso-ansi-language: EN-IN; mso-themecolor: text1; mso-themeshade: 191;" lang="EN-IN">X12ProtocolSettings</span></p>
</td>
<td style="padding: 0in 5.4pt; border: currentColor; width: 305.9pt;" valign="top" width="408">
<p class="MsoNormal" style="line-height: normal; margin-bottom: 0pt;"><span style="color: black; mso-ansi-language: EN-IN; mso-themecolor: text1; mso-themeshade: 191;" lang="EN-IN">Realization of Protocol settings for X12</span></p>
</td>
</tr>
<tr style="mso-yfti-irow: 10;">
<td style="padding: 0in 5.4pt; border: currentColor; width: 35.65pt;" valign="top" width="48">
<p class="MsoNormal" style="line-height: normal; margin-bottom: 0pt;"><span style="color: black; mso-ansi-language: EN-IN; mso-themecolor: text1; mso-themeshade: 191;" lang="EN-IN">11</span></p>
</td>
<td style="padding: 0in 5.4pt; border: currentColor; width: 137.25pt;" valign="top" width="183">
<p class="MsoNormal" style="line-height: normal; margin-bottom: 0pt;"><span style="color: black; font-family: Consolas; mso-ansi-language: EN-IN; mso-themecolor: text1; mso-themeshade: 191;" lang="EN-IN">X12EnvelopeOverrides</span></p>
</td>
<td style="padding: 0in 5.4pt; border: currentColor; width: 305.9pt;" valign="top" width="408">
<p class="MsoNormal" style="line-height: normal; margin-bottom: 0pt;"><span style="color: black; mso-ansi-language: EN-IN; mso-themecolor: text1; mso-themeshade: 191;" lang="EN-IN">Send side X12 envelope override settings</span></p>
</td>
</tr>
<tr style="mso-yfti-irow: 11;">
<td style="padding: 0in 5.4pt; border: currentColor; width: 35.65pt;" valign="top" width="48">
<p class="MsoNormal" style="line-height: normal; margin-bottom: 0pt;"><span style="color: black; mso-ansi-language: EN-IN; mso-themecolor: text1; mso-themeshade: 191;" lang="EN-IN">12</span></p>
</td>
<td style="padding: 0in 5.4pt; border: currentColor; width: 137.25pt;" valign="top" width="183">
<p class="MsoNormal" style="line-height: normal; margin-bottom: 0pt;"><span style="color: black; font-family: Consolas; mso-ansi-language: EN-IN; mso-themecolor: text1; mso-themeshade: 191;" lang="EN-IN">X12SchemaReferences</span></p>
</td>
<td style="padding: 0in 5.4pt; border: currentColor; width: 305.9pt;" valign="top" width="408">
<p class="MsoNormal" style="line-height: normal; margin-bottom: 0pt;"><span style="color: black; mso-ansi-language: EN-IN; mso-themecolor: text1; mso-themeshade: 191;" lang="EN-IN">Schemas referred to in the One-way agreement for X12</span></p>
</td>
</tr>
<tr style="mso-yfti-irow: 12;">
<td style="padding: 0in 5.4pt; border: currentColor; width: 35.65pt;" valign="top" width="48">
<p class="MsoNormal" style="line-height: normal; margin-bottom: 0pt;"><span style="color: black; mso-ansi-language: EN-IN; mso-themecolor: text1; mso-themeshade: 191;" lang="EN-IN">13</span></p>
</td>
<td style="padding: 0in 5.4pt; border: currentColor; width: 137.25pt;" valign="top" width="183">
<p class="MsoNormal" style="line-height: normal; margin-bottom: 0pt;"><span style="color: black; font-family: Consolas; mso-ansi-language: EN-IN; mso-themecolor: text1; mso-themeshade: 191;" lang="EN-IN">X12ValidationOverrides</span></p>
</td>
<td style="padding: 0in 5.4pt; border: currentColor; width: 305.9pt;" valign="top" width="408">
<p class="MsoNormal" style="line-height: normal; margin-bottom: 0pt;"><span style="color: black; mso-ansi-language: EN-IN; mso-themecolor: text1; mso-themeshade: 191;" lang="EN-IN">Validation override settings for one way X12 agreement</span></p>
</td>
</tr>
<tr style="mso-yfti-irow: 13;">
<td style="padding: 0in 5.4pt; border: currentColor; width: 35.65pt;" valign="top" width="48">
<p class="MsoNormal" style="line-height: normal; margin-bottom: 0pt;"><span style="color: black; mso-ansi-language: EN-IN; mso-themecolor: text1; mso-themeshade: 191;" lang="EN-IN">14</span></p>
</td>
<td style="padding: 0in 5.4pt; border: currentColor; width: 137.25pt;" valign="top" width="183">
<p class="MsoNormal" style="line-height: normal; margin-bottom: 0pt;"><span class="SpellE"><span style="color: black; font-family: Consolas; mso-ansi-language: EN-IN; mso-themecolor: text1; mso-themeshade: 191;" lang="EN-IN">BatchDescription</span></span></p>
</td>
<td style="padding: 0in 5.4pt; border: currentColor; width: 305.9pt;" valign="top" width="408">
<p class="MsoNormal" style="line-height: normal; margin-bottom: 0pt;"><span style="color: black; mso-ansi-language: EN-IN; mso-themecolor: text1; mso-themeshade: 191;" lang="EN-IN">Batch configuration for the one way agreement (X12 Send or EDIFACT send)</span></p>
</td>
</tr>
<tr style="mso-yfti-irow: 14;">
<td style="padding: 0in 5.4pt; border: currentColor; width: 35.65pt;" valign="top" width="48">
<p class="MsoNormal" style="line-height: normal; margin-bottom: 0pt;"><span style="color: black; mso-ansi-language: EN-IN; mso-themecolor: text1; mso-themeshade: 191;" lang="EN-IN">15</span></p>
</td>
<td style="padding: 0in 5.4pt; border: currentColor; width: 137.25pt;" valign="top" width="183">
<p class="MsoNormal" style="line-height: normal; margin-bottom: 0pt;"><span class="SpellE"><span style="color: black; font-family: Consolas; mso-ansi-language: EN-IN; mso-themecolor: text1; mso-themeshade: 191;" lang="EN-IN">EDIFACTProtocolSettings</span></span></p>
</td>
<td style="padding: 0in 5.4pt; border: currentColor; width: 305.9pt;" valign="top" width="408">
<p class="MsoNormal" style="line-height: normal; margin-bottom: 0pt;"><span style="color: black; mso-ansi-language: EN-IN; mso-themecolor: text1; mso-themeshade: 191;" lang="EN-IN">Realization of Protocol settings for EDIFACT</span></p>
</td>
</tr>
<tr style="mso-yfti-irow: 15;">
<td style="padding: 0in 5.4pt; border: currentColor; width: 35.65pt;" valign="top" width="48">
<p class="MsoNormal" style="line-height: normal; margin-bottom: 0pt;"><span style="color: black; mso-ansi-language: EN-IN; mso-themecolor: text1; mso-themeshade: 191;" lang="EN-IN">16</span></p>
</td>
<td style="padding: 0in 5.4pt; border: currentColor; width: 137.25pt;" valign="top" width="183">
<p class="MsoNormal" style="line-height: normal; margin-bottom: 0pt;"><span class="SpellE"><span style="color: black; font-family: Consolas; mso-ansi-language: EN-IN; mso-themecolor: text1; mso-themeshade: 191;" lang="EN-IN">EDIFACTEnvelopeOverrides</span></span></p>
</td>
<td style="padding: 0in 5.4pt; border: currentColor; width: 305.9pt;" valign="top" width="408">
<p class="MsoNormal" style="line-height: normal; margin-bottom: 0pt;"><span style="color: black; mso-ansi-language: EN-IN; mso-themecolor: text1; mso-themeshade: 191;" lang="EN-IN">Send side EDIFACT envelope override settings</span></p>
</td>
</tr>
<tr style="mso-yfti-irow: 16;">
<td style="padding: 0in 5.4pt; border: currentColor; width: 35.65pt;" valign="top" width="48">
<p class="MsoNormal" style="line-height: normal; margin-bottom: 0pt;"><span style="color: black; mso-ansi-language: EN-IN; mso-themecolor: text1; mso-themeshade: 191;" lang="EN-IN">17</span></p>
</td>
<td style="padding: 0in 5.4pt; border: currentColor; width: 137.25pt;" valign="top" width="183">
<p class="MsoNormal" style="line-height: normal; margin-bottom: 0pt;"><span class="SpellE"><span style="color: black; font-family: Consolas; mso-ansi-language: EN-IN; mso-themecolor: text1; mso-themeshade: 191;" lang="EN-IN">EDIFACTSchemaReferences</span></span></p>
</td>
<td style="padding: 0in 5.4pt; border: currentColor; width: 305.9pt;" valign="top" width="408">
<p class="MsoNormal" style="line-height: normal; margin-bottom: 0pt;"><span style="color: black; mso-ansi-language: EN-IN; mso-themecolor: text1; mso-themeshade: 191;" lang="EN-IN">Schemas referred to in the One-way agreement for EDIFACT</span></p>
</td>
</tr>
<tr style="mso-yfti-irow: 17;">
<td style="padding: 0in 5.4pt; border: currentColor; width: 35.65pt;" valign="top" width="48">
<p class="MsoNormal" style="line-height: normal; margin-bottom: 0pt;"><span style="color: black; mso-ansi-language: EN-IN; mso-themecolor: text1; mso-themeshade: 191;" lang="EN-IN">18</span></p>
</td>
<td style="padding: 0in 5.4pt; border: currentColor; width: 137.25pt;" valign="top" width="183">
<p class="MsoNormal" style="line-height: normal; margin-bottom: 0pt;"><span class="SpellE"><span style="color: black; font-family: Consolas; mso-ansi-language: EN-IN; mso-themecolor: text1; mso-themeshade: 191;" lang="EN-IN">EDIFACTValidationOverrides</span></span></p>
</td>
<td style="padding: 0in 5.4pt; border: currentColor; width: 305.9pt;" valign="top" width="408">
<p class="MsoNormal" style="line-height: normal; margin-bottom: 0pt;"><span style="color: black; mso-ansi-language: EN-IN; mso-themecolor: text1; mso-themeshade: 191;" lang="EN-IN">Validation override settings for one way EDIFACT agreement</span></p>
</td>
</tr>
<tr style="mso-yfti-irow: 18;">
<td style="padding: 0in 5.4pt; border: currentColor; width: 35.65pt;" valign="top" width="48">
<p class="MsoNormal" style="line-height: normal; margin-bottom: 0pt;"><span style="color: black; mso-ansi-language: EN-IN; mso-themecolor: text1; mso-themeshade: 191;" lang="EN-IN">19</span></p>
</td>
<td style="padding: 0in 5.4pt; border: currentColor; width: 137.25pt;" valign="top" width="183">
<p class="MsoNormal" style="line-height: normal; margin-bottom: 0pt;"><span style="color: black; font-family: Consolas; mso-ansi-language: EN-IN; mso-themecolor: text1; mso-themeshade: 191;" lang="EN-IN">AS2ProtocolSettings</span></p>
</td>
<td style="padding: 0in 5.4pt; border: currentColor; width: 305.9pt;" valign="top" width="408">
<p class="MsoNormal" style="line-height: normal; margin-bottom: 0pt;"><span style="color: black; mso-ansi-language: EN-IN; mso-themecolor: text1; mso-themeshade: 191;" lang="EN-IN">Realization of Protocol settings for AS2</span></p>
</td>
</tr>
<tr style="mso-yfti-irow: 19;">
<td style="padding: 0in 5.4pt; border: currentColor; width: 35.65pt;" valign="top" width="48">
<p class="MsoNormal" style="line-height: normal; margin-bottom: 0pt;"><span style="color: black; mso-ansi-language: EN-IN; mso-themecolor: text1; mso-themeshade: 191;" lang="EN-IN">20</span></p>
</td>
<td style="padding: 0in 5.4pt; border: currentColor; width: 137.25pt;" valign="top" width="183">
<p class="MsoNormal" style="line-height: normal; margin-bottom: 0pt;"><span style="color: black; font-family: Consolas; mso-ansi-language: EN-IN; mso-themecolor: text1; mso-themeshade: 191;" lang="EN-IN">Contact</span></p>
</td>
<td style="padding: 0in 5.4pt; border: currentColor; width: 305.9pt;" valign="top" width="408">
<p class="MsoNormal" style="line-height: normal; margin-bottom: 0pt;"><span style="color: black; mso-ansi-language: EN-IN; mso-themecolor: text1; mso-themeshade: 191;" lang="EN-IN">Contact information of person, tied to Profile and Agreement</span></p>
</td>
</tr>
<tr style="mso-yfti-irow: 20; mso-yfti-lastrow: yes;">
<td style="border-width: medium medium 1pt; border-style: none none solid; border-color: currentColor currentColor black; padding: 0in 5.4pt; width: 35.65pt; mso-border-bottom-themecolor: text1;" valign="top" width="48">
<p class="MsoNormal" style="line-height: normal; margin-bottom: 0pt;"><span style="color: black; mso-ansi-language: EN-IN; mso-themecolor: text1; mso-themeshade: 191;" lang="EN-IN">21</span></p>
</td>
<td style="border-width: medium medium 1pt; border-style: none none solid; border-color: currentColor currentColor black; padding: 0in 5.4pt; width: 137.25pt; mso-border-bottom-themecolor: text1;" valign="top" width="183">
<p class="MsoNormal" style="line-height: normal; margin-bottom: 0pt;"><span class="SpellE"><span style="color: black; font-family: Consolas; mso-ansi-language: EN-IN; mso-themecolor: text1; mso-themeshade: 191;" lang="EN-IN">CustomSettings</span></span></p>
</td>
<td style="border-width: medium medium 1pt; border-style: none none solid; border-color: currentColor currentColor black; padding: 0in 5.4pt; width: 305.9pt; mso-border-bottom-themecolor: text1;" valign="top" width="408">
<p class="MsoNormal" style="line-height: normal; margin-bottom: 0pt;"><span style="color: black; mso-ansi-language: EN-IN; mso-themecolor: text1; mso-themeshade: 191;" lang="EN-IN">Custom name-value pairs that can stored for an agreement or profile</span></p>
</td>
</tr>
</tbody>
</table>
<p class="MsoNormal"><span style="mso-ansi-language: EN-IN;" lang="EN-IN">Note all X12, EDIFACT, AS2 specific objects are shown in the table. The objects have to be created or updated, added to the <span class="SpellE">TpmContext</span> and the corresponding navigation property must also be updated using <span class="SpellE">setLink</span> or <span class="SpellE">addLink</span> in code for CRUD operations with OM API. </span><span style="mso-ansi-language: EN-IN;" lang="EN-IN">Now that we have the background, in Part 2 let&rsquo;s put things in action and write a sample application using the API.<br /><br /></span></p>
<p class="MsoNormal"><strong><span style="mso-ansi-language: EN-IN;" lang="EN-IN">-Karthik Bharathy</span></strong></p>
<p class="MsoNormal"><em><span style="mso-ansi-language: EN-IN;" lang="EN-IN">You can also follow me on Twitter @<a href="https://twitter.com/kb_chirps">kb_chirps</a>&nbsp;for quicker updates on BizTalk or read my book on "<a href="https://www.amazon.com/dp/178217740X/?tag=packtpubli-20">Getting Started with BizTalk Services</a>" (pre-order from <a href="https://www.packtpub.com/getting-started-with-biztalk-services/book">here</a>)</span></em></p>
</div>]]></content:encoded>
    </item>
  </channel>
</rss>