If you are unable to create a new account, please email support@bspsoftware.com

 

News:

MetaManager - Administrative Tools for IBM Cognos
Pricing starting at $2,100
Download Now    Learn More

Main Menu

wsdl file and cognos settings

Started by Cannondale23, 02 Jul 2012 10:38:53 AM

Previous topic - Next topic

Cannondale23

We are trying to use the cognos SDK to access reports from an external web application using PHP. Using the built-in php functionality, we are able to successfully get a WSDL file from cognos, however the address contained inside the file points to 'localhost'. Therefore any subsequent requests made to cognos from within PHP fail because all requests are then made to localhost rather than the cognos server.

Is there any setting in cognos to set the address that gets put into the WSDL file? If so, are there any problems you can foresee if we change this setting?

Thanks in advance for your help.


- <wsdl:service name="AuthService">
- <wsdl:port name="AuthServicePort" binding="tns:AuthServiceBinding">
  <soap:address location="http://localhost:80/ibmcognos/cgi-bin/cognos.cgi" />
  </wsdl:port>
  </wsdl:service>
  </wsdl:definitions>

sir_jeroen

have you tried changing the gateway Uri in Cognos Configuration?

Rahul Ganguli

Hi,

Handling this in PHP itself (replacing localhost with servername) should solve the issue.

Regards,
Rahul