COGNOiSe.com - The IBM Cognos Community

IBM Cognos 8 Platform => COGNOS 8 => SDK => Topic started by: JokersSmile on 24 Jun 2008 04:02:29 PM

Title: Cognos 8 SDK PHP
Post by: JokersSmile on 24 Jun 2008 04:02:29 PM
Is it possible to make calls to the Cognos webservice using PHP? I've been trying for a day or two to get it to login and i keep an error saying the client did something wrong?

I'm using PHP 5 and NuSoap to make the soap calls.

Has anyone been able to use PHP to make calls to cognos?
Title: Re: Cognos 8 SDK PHP
Post by: lindero on 25 Jun 2008 05:56:26 AM
Hi JokerSmile,

well, Cognos8 communicates via WebService. The WebServce architecture is platform and OS independant. So you are able to call methods by any programm language. That's the answer for the question, if it is possible, but I Haven't done it by myself. Maybe there is a class generator which can create classes based on the wsdl file provided by the Congnos installation.

Hope this helps a little bit.

cheers.
Title: Re: Cognos 8 SDK PHP
Post by: JokersSmile on 02 Jul 2008 10:58:48 AM
Just a note for anyone trying to use PHP with cognos 8. It does work. I've used nusoap to parse the wsdl file and it creates a class structure to call the web service. So far all I've gotten it to do is log in. Their are some issues with nusoap so I'll probably end up writing another soap class to handle my function calls.