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

Trouble parsing a student section enrollment object

rated by 0 users
Not Answered This post has 0 verified answers | 0 Replies | 1 Follower

Top 25 Contributor
8 Posts
Points 100
bthread posted on 02-04-2010 17:58

I'm using the .NET ADK, version 2.3.0.4.  When I try to parse a StudentSectionEnrollment xml object from from the ZIS, I don't get an error, but the object is just empty.  I'm curious if anyone knows why that would be?

I've setup a simple example in which I can duplicate the problem.  The variable _obj below is empty after the parse.

Here's the string I'm getting from the ZIS:
-------------------
<StudentSectionEnrollment xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" RefId="F45BE432251147C2A7EAB97D16589860" StudentPersonalRefId="87275136481A41D5B9C76F6FCE34E6E9" SectionInfoRefId="D330327CED5345B0BE0C9829F464331F" SchoolYear="2010" />
--------------------

Here's the code for the simple example:
--------------------
Adk.Initialize(SifVersion.SIF20r1, SdoLibraryType.All)
Dim _p As SifParser = SifParser.NewInstance
Dim _obj As StudentSectionEnrollment = _p.Parse(Me.txtInput.Text, Nothing) 
--------------------

Thanks for the help.

  • | Post Points: 5
Page 1 of 1 (1 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.