COGNOiSe.com - The IBM Cognos Community

IBM Cognos Analytics Platform => Cognos Analytics => SDK => Topic started by: Eag. E on 08 Nov 2019 09:11:37 AM

Title: SOAP Fault: CM-REQ-4342 err msg found when running sdk QueryCM Sample
Post by: Eag. E on 08 Nov 2019 09:11:37 AM
I tried to run QueryCM.java in my eclipse, with all sdk/libs set, and I have configured the proper namespace/username/psw/searchpath. But I got the:
--
SOAP Fault:
CM-REQ-4342
--

It is wired that I have run2.bat (with QueryCMUI.java) which works fine on the same machine. I don't know if you have met the thing before. Thanks
Title: Re: SOAP Fault: CM-REQ-4342 err msg found when running sdk QueryCM Sample
Post by: Andrei I on 11 Nov 2019 09:40:17 AM
Please make sure to use Namespace ID (not a Namespace Name)
You can get it either from Admin Console (see attached) or from Cognos Configuration.

If you used Cognos Analytics Easy Install then Namespace Name is "Cognos Users"
and Namespace ID is "CognosEx"