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

.NET ADK reports error [Category=1; Code=6]

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

Top 50 Contributor
3 Posts
Points 55
Mark posted on 11-25-2009 3:32

Hi,

I am using the .NET ADK and the ADK is reporting the following error while processing a message:

2009-11-25 11:06:51,901 DEBUG [ADK.Agent$ZIS3_SCH_NLS4237]   MsgId: F36911843D2942CB80337BD6F809E2A6
2009-11-25 11:06:51,964 ERROR [ADK.Agent$ZIS3_SCH_NLS4237] SIFException in QueryResults message handler for SIF_Response
SIF_Response missing mandatory element: [Category=1; Code=6] SIF_Response missing mandatory element. SIF_ObjectData is a required element of SIF_Response
2009-11-25 11:06:51,995 DEBUG [ADK.Agent$ZIS3_SCH_NLS4237] Send SIF_Ack (Status = none; 1 Error)
2009-11-25 11:06:51,995 DEBUG [ADK.Agent$ZIS3_SCH_NLS4237] [Category=1; Code=6] SIF_Response missing mandatory element: SIF_ObjectData is a required element of SIF_Response

As far as I can see the message (shown below is valid) as a SIF_Response message must have a SIF_Error OR SIF_ObjectData OR SIF_ExtendedQueryResults element. In this case it has a SIF_Error element. Can anyone confirm whether it the sending agent or the ADK that is misbehaving?

 

<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
<SIF_Message Version="2.1" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://www.sifinfo.org/uk/infrastructure/2.x">
<SIF_Response>
<SIF_Header>
<SIF_MsgId>39F48733B9E24F8E81D47DA101C1EB4B</SIF_MsgId>
<SIF_Timestamp>2009-11-25T11:02:08.2841714Z</SIF_Timestamp>
<SIF_Security>
<SIF_SecureChannel>
<SIF_AuthenticationLevel>0</SIF_AuthenticationLevel>
<SIF_EncryptionLevel>0</SIF_EncryptionLevel>
</SIF_SecureChannel>
</SIF_Security>
<SIF_SourceId>MIS_NLS4237</SIF_SourceId>
<SIF_DestinationId>ILMSubscribeAgent</SIF_DestinationId>
</SIF_Header>
<SIF_RequestMsgId>C7BD78667BA045D5AAD366549A1BF9E7</SIF_RequestMsgId>
<SIF_PacketNumber>1</SIF_PacketNumber>
<SIF_MorePackets>No</SIF_MorePackets>
<SIF_Error>
<SIF_Category>12</SIF_Category>
<SIF_Code>1</SIF_Code>
<SIF_Desc>Agent could not process the SIF_Request at this time</SIF_Desc>
<SIF_ExtendedDesc>Exception in Publisher.onRequest message handler:</SIF_ExtendedDesc>
</SIF_Error>
</SIF_Response>
</SIF_Message>

 

 

All Replies

Top 10 Contributor
215 Posts
Points 5,055

The message you are showing is different than the one the ADK is having trouble parsing. It is having trouble parsing a message with the MsgId of "F36911843D2942CB80337BD6F809E2A6". Do you have a copy of that message?

Andrew Elmhorst
Chief Architect
Edustructures 

  • | Post Points: 25
Top 50 Contributor
3 Posts
Points 55

No, but I can duplicate the problem at will. Here is another message and log extract:

<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
<SIF_Message Version="2.1" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://www.sifinfo.org/uk/infrastructure/2.x">
<SIF_Response>
<SIF_Header>
<SIF_MsgId>756B532149B64D4DAB0481DD78BC64EF</SIF_MsgId>
<SIF_Timestamp>2009-11-25T15:30:57.9517878Z</SIF_Timestamp>
<SIF_Security>
<SIF_SecureChannel>
<SIF_AuthenticationLevel>0</SIF_AuthenticationLevel>
<SIF_EncryptionLevel>0</SIF_EncryptionLevel>
</SIF_SecureChannel>
</SIF_Security>
<SIF_SourceId>MIS_NLS4237</SIF_SourceId>
<SIF_DestinationId>ILMSubscribeAgent</SIF_DestinationId>
</SIF_Header>
<SIF_RequestMsgId>E0C67A302A5C454597A8014ED05AFB0B</SIF_RequestMsgId>
<SIF_PacketNumber>1</SIF_PacketNumber>
<SIF_MorePackets>No</SIF_MorePackets>
<SIF_Error>
<SIF_Category>12</SIF_Category>
<SIF_Code>1</SIF_Code>
<SIF_Desc>Agent could not process the SIF_Request at this time</SIF_Desc>
<SIF_ExtendedDesc>Exception in Publisher.onRequest message handler:</SIF_ExtendedDesc>
</SIF_Error>
</SIF_Response>
</SIF_Message>


2009-11-25 15:32:25,303 DEBUG [ADK.Agent$ZIS3_SCH_NLS4237]   MsgId: 756B532149B64D4DAB0481DD78BC64EF
2009-11-25 15:32:25,303 ERROR [ADK.Agent$ZIS3_SCH_NLS4237] SIFException in QueryResults message handler for SIF_Response
SIF_Response missing mandatory element: [Category=1; Code=6] SIF_Response missing mandatory element. SIF_ObjectData is a required element of SIF_Response
2009-11-25 15:32:25,303 DEBUG [ADK.Agent$ZIS3_SCH_NLS4237] Send SIF_Ack (Status = none; 1 Error)
2009-11-25 15:32:25,303 DEBUG [ADK.Agent$ZIS3_SCH_NLS4237] [Category=1; Code=6] SIF_Response missing mandatory element: SIF_ObjectData is a required element of SIF_Response
2009-11-25 15:32:25,303 DEBUG [ADK.Agent$ZIS3_SCH_NLS4237]   MsgId: 85A6FAACF312498384C41E1CC42C5FED
2009-11-25 15:32:25,303 DEBUG [ADK.Agent$ZIS3_SCH_NLS4237]   OrgId: 756B532149B64D4DAB0481DD78BC64EF

Thanks,

Mark

 

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