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

<channel>
	<title>TechBlog &#187; Protocol</title>
	<atom:link href="http://techblog.byllemos.com/tag/protocol/feed/" rel="self" type="application/rss+xml" />
	<link>http://techblog.byllemos.com</link>
	<description>Accelerating into the Future with Wisdom about Technology! Ingrid Byllemos</description>
	<lastBuildDate>Tue, 05 Jan 2010 00:04:42 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.0.1</generator>
		<item>
		<title>Navision Net Type &#8211; Netbeui or Tcp?</title>
		<link>http://techblog.byllemos.com/2008/12/what-to-use-as-net-type-netbeui-or-tcp/</link>
		<comments>http://techblog.byllemos.com/2008/12/what-to-use-as-net-type-netbeui-or-tcp/#comments</comments>
		<pubDate>Sun, 14 Dec 2008 20:26:02 +0000</pubDate>
		<dc:creator>iby</dc:creator>
				<category><![CDATA[Basics]]></category>
		<category><![CDATA[Navision]]></category>
		<category><![CDATA[Net Type]]></category>
		<category><![CDATA[Protocol]]></category>

		<guid isPermaLink="false">http://techblog.byllemos.com/?p=111</guid>
		<description><![CDATA[<p>A funny thing happened to me some weeks ago &#8211; there I discovered that some times it is better to use Netbeui than TCP as Net type when using Navision.<br />
<span id="more-111"></span><br />
In my company, we are building Pollers;&#8230;</p>]]></description>
			<content:encoded><![CDATA[<p>A funny thing happened to me some weeks ago &#8211; there I discovered that some times it is better to use Netbeui than TCP as Net type when using Navision.<br />
<span id="more-111"></span><br />
In my company, we are building Pollers; a Poller is a codeunit that is listening to message queues and sending responses back. In a test environment a request would take approx. 100ms &#8211; but when implementing the same changes to a production environment a request would take approx. 3/4000ms. </p>
<p>A request is sending a message through msmq to Navision, and then receiving a response from Navision. </p>
<p>At first we though that this was cause by using bad keys, so we used client monitor to analyze the Poller &#8211; but no, this was not the case.</p>
<p>Another cause could be that the production environment has more users and thereby also more load &#8211; but again, the production server was not loaded so much that a request should take so much more time.</p>
<p>Then by lucky coincidence we tried to change the net type of the client &#8211; and now we saw a difference. Suddenly a request on the production environment only took approx. 3/400 ms &#8211; which is in the accepted time range.</p>
<p>So in this case it was better to use Netbeui than TCP even though Navision does not recommend the use of Netbeui.</p>
<p>So why is Netbeui faster than TCP? A reason could be that Netbeui uses smaller packets than TCP, and they will therefor travel faster since they have less overhead and have less to read.</p>
<p>I would though not recommend always to use Netbeui, because a Netbeui packet does not include logical destination address, only a name. The Netbeui protocol cannot be routed &#8211; this means that communication between hosts is limited to occurring within a single non-routed network, and is thereby not well suited for large networks.</p>
<p>But again – in this case Netbeui was a better choice.</p>
]]></content:encoded>
			<wfw:commentRss>http://techblog.byllemos.com/2008/12/what-to-use-as-net-type-netbeui-or-tcp/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Starting Navision from another application</title>
		<link>http://techblog.byllemos.com/2008/03/starting-navision-from-another-application/</link>
		<comments>http://techblog.byllemos.com/2008/03/starting-navision-from-another-application/#comments</comments>
		<pubDate>Mon, 03 Mar 2008 21:56:47 +0000</pubDate>
		<dc:creator>iby</dc:creator>
				<category><![CDATA[Navision]]></category>
		<category><![CDATA[Protocol]]></category>
		<category><![CDATA[Url]]></category>

		<guid isPermaLink="false">http://techblog.byllemos.com/?p=42</guid>
		<description><![CDATA[<p>From Navision 3.xx it is possible to use a kind of protocol for starting / calling a Navision Client.</p>
<p>The syntax for starting a Navision Client is:</p>
<blockquote><p>navision://client/run</p></blockquote>
<p>A call like this, in a browser, would start or activate a&#8230;</p>]]></description>
			<content:encoded><![CDATA[<p>From Navision 3.xx it is possible to use a kind of protocol for starting / calling a Navision Client.</p>
<p>The syntax for starting a Navision Client is:</p>
<blockquote><p>navision://client/run</p></blockquote>
<p>A call like this, in a browser, would start or activate a Navision Client.  This call thou would prompt the user for login, password etc. So to simplify the user interaction, it is also possible to pass on some parameters.<br />
<span id="more-42"></span><br />
Possible parameters are:</p>
<blockquote>
<table>
<tr>
<td width="100"><font size="2">company</font></td>
<td><font size="2">The company that should be open when starting the Navision Client</font></td>
</tr>
<tr>
<td><font size="2">database</font></td>
<td><font size="2">Database Name</font></td>
</tr>
<tr>
<td><font size="2">servername</font></td>
<td><font size="2">Server Name for the server you wants to connect to</font></td>
</tr>
<tr>
<td><font size="2">servertype</font></td>
<td><font size="2">Is it a native or mssql server?</font></td>
</tr>
<tr>
<td><font size="2">target</font></td>
<td><font size="2">Which object has to be activated. Ex. a Form18 &#8211; the syntax is [objecttype][objectno]</font></td>
</tr>
<tr>
<td><font size="2">view</font></td>
<td><font size="2">View (Filters) for the object, that will be activated with the target property</font></td>
</tr>
</table>
</blockquote>
<p>A complete url call could look like this:</p>
<blockquote><p>navision://client/run?servername=<strong>myserver</strong>&amp;<br />
<blankspace>&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;</blankspace>database=<strong>mydb</strong>&amp;<br />
<blankspace>&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;</blankspace>company=<strong>mycompany</strong>&amp;<br />
<blankspace>&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;</blankspace>servertype=<strong>mssql</strong>&amp;<br />
<blankspace>&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;</blankspace>target=<strong>Form18</strong>&amp;<br />
<blankspace>&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;</blankspace>view=<strong>SORTING(No.)  WHERE (No.=FILTER(132))</strong></p></blockquote>
<p>Remember when using a Navision protocol, it would be an advantage using windows authentification (windows login) for Navision &#8211; else your users would be prompted for username/password. Alternative you have to make sure, that a client already is running, before using the protocol.</p>
]]></content:encoded>
			<wfw:commentRss>http://techblog.byllemos.com/2008/03/starting-navision-from-another-application/feed/</wfw:commentRss>
		<slash:comments>4</slash:comments>
		</item>
	</channel>
</rss>

