Purchase your Section 508 Compliance Support guide now!

Purchase your Section 508 Compliance Support guide now!

Cognos 8 SDK -- conversation context

The conversation context defines the class for the state information of each asynchronous operation. Information contained by instances of this class is used by the dispatcher to properly route requests in the same asynchronous operation to the appropriate Simple Object Access Protocol (SOAP) node.

If it is not empty, it will cause the report server to associate some other queries that resulted to "not found" failure.  

            static void setUpHeader( reportService1 c8RS, string user, string pass, string name )

            {

                  // Scrub the header to remove the conversation context.

                  if( c8RS.biBusHeaderValue != null )

                  {

                        if( c8RS.biBusHeaderValue.tracking != null )                     

                              if( c8RS.biBusHeaderValue.tracking.conversationContext != null )                            

                                    c8RS.biBusHeaderValue.tracking.conversationContext = null;                                          

                        return;

                  }

                                    ……

                        }