Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

introductory help #2

Open
rztgers opened this issue Mar 18, 2013 · 1 comment
Open

introductory help #2

rztgers opened this issue Mar 18, 2013 · 1 comment

Comments

@rztgers
Copy link

rztgers commented Mar 18, 2013

I am a new developer and I want to learn how to access data in our ZIS. Can someone point me to a simple unit test where I can retrieve StudentPersonal info using a studentId?

@rafidzal
Copy link
Contributor

The SIF Common Framework has some demos that you can use for this. For instance, if you download the framework, update the appropriate *.cfg files to reference your ZIS URL and build it in Visual Studio (Express), you can run the a demo Publisher and Subscriber (which by default publish/subscribe to StudentPersonal). Scripts for running the demos can be found in the Scripts/bat directory.

For instance, in one command window run the script "Publishing.XmlString UseCases\UseCase001.PublishingAgent.cfg". In another, run the script "Subscribing.Print UseCases\UseCase001.SubscribingAgent.cfg". Based upon the configuration (in the *.cfg files), this use case should simply send a StudentPersonal change event from the Publisher to the Subscriber (1 event only).

You can browse the demo code to see what needs to be implemented, and also the configuration files to find an appropriate example for your needs.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants