<?xml version="1.0" encoding="UTF-8" ?>
<?xml-stylesheet type="text/xsl" href="http://sifzone.com/sifzonecs20085/utility/FeedStylesheets/rss.xsl" media="screen"?><rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:slash="http://purl.org/rss/1.0/modules/slash/" xmlns:wfw="http://wellformedweb.org/CommentAPI/"><channel><title>General SIF Agent forums</title><link>http://sifzone.com/sifzonecs20085/forums/37.aspx</link><description>A catch-all forum for SIF Agents that do not have their own forum. Forums will be added for agents only by permission of the agent's owner. If you would like a forum for your agent here, please send a private message to &lt;script type="text/javascript" language="javascript"&gt;
&lt;!--
// eMail Obfuscator Script 2.1 by Tim Williams - freeware
{
 	coded = "ROFJE@2JMXDEN.PDF"
		cipher = "aZbYcXdWeVfUgThSiRjQkPlOmNnMoLpKqJrIsHtGuFvEwDxCyBzA1234567890"
		shift=coded.length
		link=""
		for (i=0; i&lt;coded.length; i++){
			if (cipher.indexOf(coded.charAt(i))==-1){
				ltr=coded.charAt(i)
				link+=(ltr)
			}
			else {     
				ltr = (cipher.indexOf(coded.charAt(i))-shift+cipher.length) % cipher.length
				link+=(cipher.charAt(ltr))
			}				
    }
			document.write("&lt;a href='mailto:"+link+"'&gt;the Admin&lt;/a&gt;")
    }
//--&gt;
&lt;/script&gt;
&lt;noscript&gt;
&lt;p&gt;Sorry, but a Javascript-enabled browser is required to email me.&lt;/p&gt;
&lt;/noscript&gt;</description><dc:language /><generator>CommunityServer 2008.5 SP1 (Build: 31106.3070)</generator><item><title>Re: Connection to Non Edustructures ZIS</title><link>http://sifzone.com/sifzonecs20085/forums/thread/1632.aspx</link><pubDate>Sat, 27 Feb 2010 01:16:37 GMT</pubDate><guid isPermaLink="false">21093a07-8b3d-42db-8cbf-3350fcbf5496:1632</guid><dc:creator>xvinh.nguyen</dc:creator><slash:comments>0</slash:comments><comments>http://sifzone.com/sifzonecs20085/forums/thread/1632.aspx</comments><wfw:commentRss>http://sifzone.com/sifzonecs20085/forums/commentrss.aspx?SectionID=37&amp;PostID=1632</wfw:commentRss><description>&lt;p&gt;Hi Jonathan,&lt;/p&gt;
&lt;p&gt;Thanks for the excerpt. You are correct, the /zone is mandatory and added on by the framework.&lt;/p&gt;
&lt;p&gt;I finally got the &amp;nbsp;agent and the zone to connect, setting the properties mention at the bottom.&lt;/p&gt;
&lt;p&gt;It is ironic that such a key point is at the very end of the dev guide!&lt;/p&gt;
&lt;p&gt;Thanks for your help.&lt;/p&gt;
&lt;p&gt;Regards,&lt;/p&gt;
&lt;p&gt;Vinh.&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>Re: Connection to Non Edustructures ZIS</title><link>http://sifzone.com/sifzonecs20085/forums/thread/1629.aspx</link><pubDate>Fri, 26 Feb 2010 17:41:34 GMT</pubDate><guid isPermaLink="false">21093a07-8b3d-42db-8cbf-3350fcbf5496:1629</guid><dc:creator>Jonathan Nelson</dc:creator><slash:comments>0</slash:comments><comments>http://sifzone.com/sifzonecs20085/forums/thread/1629.aspx</comments><wfw:commentRss>http://sifzone.com/sifzonecs20085/forums/commentrss.aspx?SectionID=37&amp;PostID=1629</wfw:commentRss><description>&lt;p&gt;Hi Vihn,&lt;/p&gt;
&lt;p&gt;I believe the answer is that you can control everything except for &amp;#39; /zone&amp;#39;.&lt;/p&gt;
&lt;p&gt;Here is an excerpt from the ADK Developer&amp;#39;s Guide which I believe explains the ADK&amp;#39;s behavior:&lt;/p&gt;
&lt;p&gt;SIF_URL Hostname &amp;amp; Port&lt;br /&gt;When registering with a zone in Push mode, the ADK binds to a local IP address and&lt;br /&gt;port to listen for incoming messages from the zone integration server. It uses the Host&lt;br /&gt;and Port properties from the TransportProperties object when binding the socket. You&lt;br /&gt;set these values by obtaining the HttpProperties object from the agent and then call-&lt;br /&gt;ing the setHost and setPort methods as needed. The SIF_Protocol/SIF_URL ele-&lt;br /&gt;ment included with each zone&amp;rsquo;s SIF_Register message is automatically prepared by&lt;br /&gt;the ADK in the following format, using these same hostname and port values.&lt;br /&gt;protocol://host:port/zone/ZoneId&lt;br /&gt;&lt;br /&gt;Consider the following code in an agent&amp;rsquo;s initialize method:&lt;br /&gt;// Set the messaging mode to Push&lt;br /&gt;AgentProperties props = getProperties();&lt;br /&gt;props.setMessagingMode( AgentProperties.PUSH_MODE );&lt;br /&gt;// Set up the HTTP properties&lt;br /&gt;HttpProperties http = getDefaultHttpProperties();&lt;br /&gt;http.setHost( &amp;ldquo;agent.edustructures.com&amp;rdquo; );&lt;br /&gt;http.setPort( 12345 );&lt;br /&gt;&lt;br /&gt;// Connect to a zone&lt;br /&gt;Zone testZone = getZoneFactory().getInstance(&lt;br /&gt;&amp;ldquo;Test&amp;rdquo;, &amp;ldquo;http://zis:7080/Test&amp;rdquo;);&lt;br /&gt;testZone.connect( ADKFlags.PROV_REGISTER );&lt;br /&gt;&lt;br /&gt;When connecting to the zone, the ADK would bind to the port 12345 on the local ma-&lt;br /&gt;chine at address &amp;ldquo;agent.edustructures.com&amp;rdquo;. The SIF_Register/SIF_Protocol/SIF_URL&lt;br /&gt;element sent to the zone would be formatted as follows:&lt;br /&gt;&amp;lt;SIF_URL&amp;gt;http://agent.edustructures.com:12345/zone/Test&amp;lt;/SIF_URL&amp;gt;&lt;br /&gt;&lt;br /&gt;In some cases it is necessary to specify a different SIF_URL hostname and port than&lt;br /&gt;those used to bind the local socket. With the 1.5 version of the ADK you can achieve&lt;br /&gt;this by calling two new methods of the HttpTransport class: setPushHost and set-&lt;br /&gt;PushPort.&lt;br /&gt;For example,&lt;br /&gt;HttpProperties http = getDefaultHttpProperties();&lt;br /&gt;http.setHost( &amp;ldquo;localhost&amp;rdquo; );&lt;br /&gt;http.setPushHost( &amp;ldquo;agents01.edustructures.com&amp;rdquo; );&lt;br /&gt;http.setPort( 12345 );&lt;br /&gt;http.setPushPort( 12345 );&lt;br /&gt;&lt;br /&gt;This code would cause the agent to bind on the local address &amp;ldquo;localhost:12345&amp;rdquo;, but&lt;br /&gt;would send a SIF_URL value with &amp;ldquo;agents01.edustructures.com:12345&amp;rdquo; as the host-&lt;br /&gt;name and port the zone integration server will use to contact the agent.&lt;br /&gt;&amp;lt;SIF_URL&amp;gt;http://agent01.edustructures.com:12345/zone/Test&amp;lt;/SIF_URL&amp;gt;&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Jon&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>Re: Connection to Non Edustructures ZIS</title><link>http://sifzone.com/sifzonecs20085/forums/thread/1624.aspx</link><pubDate>Thu, 25 Feb 2010 19:03:17 GMT</pubDate><guid isPermaLink="false">21093a07-8b3d-42db-8cbf-3350fcbf5496:1624</guid><dc:creator>xvinh.nguyen</dc:creator><slash:comments>0</slash:comments><comments>http://sifzone.com/sifzonecs20085/forums/thread/1624.aspx</comments><wfw:commentRss>http://sifzone.com/sifzonecs20085/forums/commentrss.aspx?SectionID=37&amp;PostID=1624</wfw:commentRss><description>&lt;p&gt;Hi Jonathan,&lt;/p&gt;
&lt;p&gt;Thanks for the response. I am wording it incorrectly.&lt;/p&gt;
&lt;p&gt;I can connect to the ZIS ok, the URL which i am sending to the ZIS for it to know where to send the push messages has the /Zone/100 appended. But I think this could be a Jetty web server setting, as it needs a httpcontext.&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Regards,&lt;/p&gt;
&lt;p&gt;Vinh&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>Re: Connection to Non Edustructures ZIS</title><link>http://sifzone.com/sifzonecs20085/forums/thread/1623.aspx</link><pubDate>Thu, 25 Feb 2010 17:20:37 GMT</pubDate><guid isPermaLink="false">21093a07-8b3d-42db-8cbf-3350fcbf5496:1623</guid><dc:creator>Jonathan Nelson</dc:creator><slash:comments>0</slash:comments><comments>http://sifzone.com/sifzonecs20085/forums/thread/1623.aspx</comments><wfw:commentRss>http://sifzone.com/sifzonecs20085/forums/commentrss.aspx?SectionID=37&amp;PostID=1623</wfw:commentRss><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;Are you using an agent.cfg file?&amp;nbsp; If you are you should see an element like:&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;zone id=&amp;quot;Zone1&amp;quot; template=&amp;quot;Default&amp;quot; url=&amp;quot;http://localhost:7080/Zone1&amp;quot; /&amp;gt;&lt;/p&gt;
&lt;p&gt;where your url is defined.&amp;nbsp; You should be able to set this to whatever is required.&lt;/p&gt;
&lt;p&gt;In this example, Agents connect to this zone via theURL:&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; http://127.0.1.1:7080/Zone1&lt;/p&gt;
&lt;p&gt;Does this help?&lt;/p&gt;
&lt;p&gt;Jon&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>Connection to Non Edustructures ZIS</title><link>http://sifzone.com/sifzonecs20085/forums/thread/1621.aspx</link><pubDate>Thu, 25 Feb 2010 00:15:08 GMT</pubDate><guid isPermaLink="false">21093a07-8b3d-42db-8cbf-3350fcbf5496:1621</guid><dc:creator>xvinh.nguyen</dc:creator><slash:comments>0</slash:comments><comments>http://sifzone.com/sifzonecs20085/forums/thread/1621.aspx</comments><wfw:commentRss>http://sifzone.com/sifzonecs20085/forums/commentrss.aspx?SectionID=37&amp;PostID=1621</wfw:commentRss><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;Using the ADK, I am trying to connect via push to a non Edustructures ZIS, and zone. The URL the ZIS is receiving has /zone/zoneId attached. Somewhere along the line, the ADK has appened to my URL and port. i.e. https://myulr:8000/zone/100&lt;/p&gt;
&lt;p&gt;Is there away to stop it doing this?&lt;/p&gt;
&lt;p&gt;Regards,&lt;/p&gt;
&lt;p&gt;Vinh.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>