COGNOiSe.com - The IBM Cognos Community

IBM Cognos Analytics Platform => Cognos Analytics => Mashup Services => Topic started by: dougp on 02 Oct 2020 02:16:21 PM

Title: CMS in 11.1.7
Post by: dougp 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?
Title: Re: CMS in 11.1.7
Post by: DaHammer on 04 Oct 2020 07:34:00 PM
It is still a thing and works without special install.
Title: Re: CMS in 11.1.7
Post by: dougp 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:
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.
Title: Re: CMS in 11.1.7
Post by: DaHammer on 06 Oct 2020 08:32:10 AM
"When attempting to update the WebReferenceURL", could you be more specific
Title: Re: CMS in 11.1.7
Post by: dougp 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.
Title: Re: CMS in 11.1.7
Post by: DaHammer on 08 Oct 2020 07:28:23 PM
It is still there, just tested.
Title: Re: CMS in 11.1.7
Post by: dougp 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?
Title: Re: CMS in 11.1.7
Post by: DaHammer 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.
Title: Re: CMS in 11.1.7
Post by: dougp 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.