my client is implementing Cognos Mashup Service ( CMS ) and utilizing in several reports gauge charts;
when invoking via CMS the gauge charts are not generated, only a red cross;
how can client get the gauge charts via CMS ?
I am not sure if this might be related to the LDX formate. My suspcion comes from entry ".. some formating.. " in the following article:
Relative performance comparisons between Cognos URL and Cognos Mashup Service
"... The Mashup Service transforms all IBM Cognos 8 content into a single format called Layout Data ( LDX) format.
This format allows you to customize the presentation of IBM Cognos8 content using a simple API .... The LDX format captures the logical structure of the content, as well as some formatting information. For example, list grouping, crosstab dimensions, data values and styling information are represented in an LDX instance. ... "
Thanks in advance for any input - much appreciated
NOTICE: developerWorks Community will be offline May 29-30, 2015 while we upgrade to the latest version of IBM Connections. For more information, read our upgrade FAQ.
This topic has been locked.
4 replies Latest Post - 2012-06-21T13:34:29Z by KCamp
Pinned topic CMS : gauge charts do not show - a red cross is shown
Answered question This question has been answered.
Unanswered question This question has not been answered yet.
Updated on 2012-06-21T13:34:29Z at 2012-06-21T13:34:29Z by KCamp
KCamp 27000108YJ20 PostsACCEPTED ANSWER
Re: CMS : gauge charts do not show - a red cross is shown2012-06-20T16:48:35Z in response to SylviaValentinaIf you're consuming the LDX, the chart image is a relative URL like ?abcs.... This needs to be appended to the Cognos Gateway URL to be able to retrieve the image.
If you're consuming the HTML output, the complete URL will be constructed. However, you need to be authenticated to retrieve at the client end. I.e, here's a situation where you might hit this. If you have say a JSP that makes a request to CMS (authenticated), retrieves an HTML fragement and adds it to the JSP's dynamically generated HTML, when a client browser hits the JSP you'll get a red X because the browser isn't authenticated with Cognos.
The solution to this depends on the architecture of your app, and the version of Cognos you are going against. Without knowing more I can't provide a recommendation.
SylviaValentina 27000214GF3 PostsACCEPTED ANSWER
Re: CMS : gauge charts do not show - a red cross is shown2012-06-21T11:27:28Z in response to SylviaValentinaHi KCamp,
many thanks for your input - I think you might have hit the problem. Client did continue testing: by manually changing the URI generated the GaugeChart + Formating work - question is now how to "generate" the correct URI automatically - here the details:
1.) CMS URI used:
a) red cross=bad;
b) styles not applied=bad;
-> cogserver.log shows:
reportDataService Failure <messages><message><messageString>RDS-ERR-1022 The request received by Report Data Service is not valid.</messageString></message> <trace>com.cognos.ccs.exceptions.CCSGeneralException: REQUEST_ERROR at com.cognos.ccs.service.CommandSession.extractSourceTypeID(Unknown Source) at com.cognos.ccs.service.CommandSession.processFormMessage(Unknown Source)
2.) client applied the following steps:
> verify source code of the page
> verify URI requests with Httpwatch
-> conclusion: here is the error: to call the gauge chart following URI is generated:
> port 0
> after the cognos_module TWO forward slash ( "//" )
updating the URI manually to:
> pointing to APLICATIONSERVER
> without : port 0
> after the cognos_module only ONE forward slash ( "/" )
->> EFFECT: GOOD = gauge chart is correctly generated + formats applied;
Many thanks for any input - much appreciated
KCamp 27000108YJ20 PostsACCEPTED ANSWER
Re: CMS : gauge charts do not show - a red cross is shown2012-06-21T13:34:29Z in response to SylviaValentinaThis looks like a bug, I would log this with IBM Cognos customer support. Mashups should have generated the correct URL for you, but it looks like the generation is not happening correctly in your client's particular environment.