The SIF® Zone
creating, assimilating, and promoting excellence in SIF® agent development

Setting up configuration file to access zones

rated by 0 users
Not Answered This post has 0 verified answers | 1 Reply | 2 Followers

Top 50 Contributor
4 Posts
Points 100
Gregg posted on 06-29-2009 6:11

I have reviewed the documentation that came with the .NET ADK (SIFWorks ADK Developer's Guide.pdf), but I cannot find anywhere in there concerning how to construct the configuration file, which it advocates to use.  Could you point me to where in the documentation I can find this?  There is a reference to errors that could occur during initialization, but no remedy for these errors.  The configuration file that I am attempting to use was lifted from a sample project and modified for my set up.

 

Basically, I don't understand what information is needed to connect to a zone, nor the way I can tell whether a connection is successful.  The code I have derives from your sample projects, and differs from your published documentation.  In fact, your published documentation contains references to

methods (like "getZoneFactory") that I cannot find anywhere in the ADK. The code does compile, but does not connect, so I am missing something, but don't have the information I need to troubleshoot.

 

Note that I am writing in VB.Net.

  • | Post Points: 25

All Replies

Top 10 Contributor
215 Posts
Points 5,055

The example agents are the best way to learn the basics of the ADK.

The Mappings example uses a config file. It loads it using the AgentConfig class. If you look inside the config in that example, you will see an example of a zone that has been added. You can add additional <zone/> nodes just like the one in the example.

We don't have very many VB.Net examples. You will need to look at the C# examples for details.

Andrew Elmhorst
Chief Architect
Edustructures 

  • | Post Points: 5
Page 1 of 1 (2 items) | RSS
Copyright ©2006-2009 sifzone.com
Sponsored by Edustructures
We Connect the Systems that Power Education
 
SIF and Schools Interoperability Framework are trademarks of the Schools Interoperability Framework Association.