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: F36911843D2942CB80337BD6F809E2A62009-11-25 11:06:51,964 ERROR [ADK.Agent$ZIS3_SCH_NLS4237] SIFException in QueryResults message handler for SIF_ResponseSIF_Response missing mandatory element: [Category=1; Code=6] SIF_Response missing mandatory element. SIF_ObjectData is a required element of SIF_Response2009-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>
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 ElmhorstChief ArchitectEdustructures
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: 756B532149B64D4DAB0481DD78BC64EF2009-11-25 15:32:25,303 ERROR [ADK.Agent$ZIS3_SCH_NLS4237] SIFException in QueryResults message handler for SIF_ResponseSIF_Response missing mandatory element: [Category=1; Code=6] SIF_Response missing mandatory element. SIF_ObjectData is a required element of SIF_Response2009-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_Response2009-11-25 15:32:25,303 DEBUG [ADK.Agent$ZIS3_SCH_NLS4237] MsgId: 85A6FAACF312498384C41E1CC42C5FED2009-11-25 15:32:25,303 DEBUG [ADK.Agent$ZIS3_SCH_NLS4237] OrgId: 756B532149B64D4DAB0481DD78BC64EF
Thanks,
Mark