Author Topic: CMS in 11.1.7  (Read 884 times)

Offline dougp

  • Statesman
  • ******
  • Join Date: Jul 2014
  • Posts: 651
  • Forum Citizenship: +24/-1
CMS in 11.1.7
« on: 02 Oct 2020 02:16:21 pm »
Does Cognos Mashup Service work in Cognos 11.1.7?  Does it require a separate install?

I see the documentation (https://www.ibm.com/support/knowledgecenter/en/SSEP7J_11.1.0/com.ibm.swg.ba.cognos.ca_dg_cms.doc/c_cms_new_chnged_dep_10_1_0.html#new_chnged_dep_10_1_0) doesn't include any changes since 10.2.2.

Is CMS still a thing?  Or must all former CMS apps be converted to use the new REST API?

Offline DaHammer

  • Full Member
  • ***
  • Join Date: Jun 2016
  • Posts: 14
  • Forum Citizenship: +0/-0
Re: CMS in 11.1.7
« Reply #1 on: 04 Oct 2020 07:34:00 pm »
It is still a thing and works without special install.

Offline dougp

  • Statesman
  • ******
  • Join Date: Jul 2014
  • Posts: 651
  • Forum Citizenship: +24/-1
Re: CMS in 11.1.7
« Reply #2 on: 05 Oct 2020 11:37:23 am »
We're using:
Cognos 11.0.13 or 11.1.7
Windows Server
IIS
SSL
Single sign on using an external directory namespace
C#

Mashup Service works in 11.0.13, but in 11.1.7...

When I navigate to https://<servername>:9300/bi/v1/disp/rds/wsdl I see XML.

When attempting to update the WebReferenceURL to the same value in the service I get:
Code: [Select]
The HTML document does not contain Web service discovery information.
As far as I can tell, the configurations match between my 11.0.13 and 11.1.7 systems.

Offline DaHammer

  • Full Member
  • ***
  • Join Date: Jun 2016
  • Posts: 14
  • Forum Citizenship: +0/-0
Re: CMS in 11.1.7
« Reply #3 on: 06 Oct 2020 08:32:10 am »
"When attempting to update the WebReferenceURL", could you be more specific

Offline dougp

  • Statesman
  • ******
  • Join Date: Jul 2014
  • Posts: 651
  • Forum Citizenship: +24/-1
Re: CMS in 11.1.7
« Reply #4 on: 06 Oct 2020 10:05:55 am »
In Visual Studio with the project open, looking at the service, when I enter https://<servername>:9300/bi/v1/disp/rds/wsdl for the 11.1.7 server I want to test the application against, I get the error message.

Offline DaHammer

  • Full Member
  • ***
  • Join Date: Jun 2016
  • Posts: 14
  • Forum Citizenship: +0/-0
Re: CMS in 11.1.7
« Reply #5 on: 08 Oct 2020 07:28:23 pm »
It is still there, just tested.

Offline dougp

  • Statesman
  • ******
  • Join Date: Jul 2014
  • Posts: 651
  • Forum Citizenship: +24/-1
Re: CMS in 11.1.7
« Reply #6 on: 09 Oct 2020 10:54:45 am »
I think I found the problem that Visual Studio is having.  When I try to access the WSDL (https://<servername>:9300/bi/v1/disp/rds/wsdl), I get a login screen.  (had to clear the browser cache to see this.)  After logging in, I get the WSDL.  I think VS is expecting WSDL and doesn't know what to do with the login screen.

Can you think of any reason the WSDL would be behind a login screen?  ...why this may be happening for me if it's not for you?

Offline DaHammer

  • Full Member
  • ***
  • Join Date: Jun 2016
  • Posts: 14
  • Forum Citizenship: +0/-0
Re: CMS in 11.1.7
« Reply #7 on: 10 Oct 2020 09:28:15 am »
It's not happening to me because I just used a browser to get to the URL and am using Anonymous Authentication on my development rig. The URI is in the credential-protected zone of /bi/*, so without at least a CAF cookie, your request will fail. You could just grab .\templates\ccs\wsdl\rdsV3.wsdl for the same result and embed it as resource in your project. I used to do just that for MetaManager and other SDK applications.

Offline dougp

  • Statesman
  • ******
  • Join Date: Jul 2014
  • Posts: 651
  • Forum Citizenship: +24/-1
Re: CMS in 11.1.7
« Reply #8 on: 12 Oct 2020 10:19:29 am »
Thanks.  I'll try that.

That doesn't explain why it works in 11.0.13.  I don't allow anonymous access there either.