Hello,
We have just started our compliance testing, using the SIF Test Harness, for our client application and have had intermittent problems. One of the main issues seems to be that the last response to our query request is never completed, where the method OnQueryResults is not fired, even though it appears the test harness has provided a response. This doesn't occur with all the objects, rather it seems to occur only on the last object that was queried.
The other issue we've ran into is a failure message stating that version 2.3 is not supported, yet we are only using the SIF Framework 2.2. I'm not sure what to do at this point and was wondering if you could provide some insight. Our application simply performs a query on a series of SIF Data Objects and waits for a response before packaging up the data in another format and sending it to another application for a client of ours. I have also provided other details about our application that maybe helpful. Thanks.
Library: SIFWorks ADK for .Net, US Edition, Release Build (2.2.02)
SIF Framework: 2.2
SIF Data Objects Queried:
The following message is a response to our query of the StaffPersonal object that doesn't seem to trigger the OnQueryRequest method in our application.
Response
<SIF_Message xmlns="http://www.sifinfo.org/infrastructure/2.x" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" Version="2.3"> <SIF_Response> <SIF_Header> <SIF_MsgId>8C0FEA308CEB11DE9D92AED6033804B6</SIF_MsgId> <SIF_Timestamp>2009-08-19T14:10:16.275-05:00</SIF_Timestamp> <SIF_SourceId>Agent77EAE6E08CEB11DE9D929F957076B7A0</SIF_SourceId> <SIF_DestinationId>InstantAlertSIFAgent</SIF_DestinationId> </SIF_Header> <SIF_RequestMsgId>D9EC4B0CA6AC4273B6810F9F8EA119AC</SIF_RequestMsgId> <SIF_PacketNumber>1</SIF_PacketNumber> <SIF_MorePackets>No</SIF_MorePackets> <SIF_ObjectData> <StaffPersonal RefId="B2A14DA0508D11DE96ABB097D5FF4539"> <LocalId>B2A14DA</LocalId> <Name Type="04"> <LastName>Wilson</LastName> <FirstName>Patrick</FirstName> </Name> </StaffPersonal> </SIF_ObjectData> </SIF_Response></SIF_Message>This message is the query request sent to the SIF Test Harness.Request<SIF_Message xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://www.sifinfo.org/infrastructure/2.x" Version="2.0r1"> <SIF_Request> <SIF_Header> <SIF_MsgId>D9EC4B0CA6AC4273B6810F9F8EA119AC</SIF_MsgId> <SIF_Timestamp>2009-08-19T18:10:19.2611372Z</SIF_Timestamp> <SIF_Security> <SIF_SecureChannel> <SIF_AuthenticationLevel>0</SIF_AuthenticationLevel> <SIF_EncryptionLevel>0</SIF_EncryptionLevel> </SIF_SecureChannel> </SIF_Security> <SIF_SourceId>InstantAlertSIFAgent</SIF_SourceId> <SIF_Contexts> <SIF_Context>SIF_Default</SIF_Context> </SIF_Contexts> </SIF_Header> <SIF_Version>2.*</SIF_Version> <SIF_MaxBufferSize>32000</SIF_MaxBufferSize> <SIF_Query> <SIF_QueryObject ObjectName="StaffPersonal"> <SIF_Element>@RefId</SIF_Element> <SIF_Element>Name</SIF_Element> <SIF_Element>Demographics</SIF_Element> <SIF_Element>EmailList</SIF_Element> <SIF_Element>PhoneNumberList</SIF_Element> <SIF_Element>LocalId</SIF_Element> </SIF_QueryObject> </SIF_Query> </SIF_Request></SIF_Message>
I would guess that the two issues you list are related. If you are using the 2.2 version of the ADK, it cannot parse SIF objects created in the SIF 2.3 specification. The SIF test harness will occassionally send a SIF 2.3 object, which the ADK cannot parse, thus never reaching you on QueryResults message handler.
I would recommend downloading the latest ADK (I believe 2.2.2). That release supports the 2.3 spec and should allow you to complete your testing.
Andrew ElmhorstChief ArchitectEdustructures