Learn how easy it is to sync an existing GitHub or Google Code repo to a SourceForge project! See Demo

Close

WSDL link created incorrectly for some sites

2010-07-22
2013-06-06
  • Greg Miernicki
    Greg Miernicki
    2010-07-22

    In the Sahana Agasti codebase, each module of the site is allowed its own individual soap server. There is one main index.php controller for the entire framework. So, in order to access the individual module's soap server, you must append variables to the index.php specifying which module to access. Example:

    http://somesite.gov/~gmiernicki/sahanaDev/www/index.php?stream=soap&mod=ws&act=reg&wbsmod=pls&wsdl

    So, you cannot access the wsdl from the link provided in the codebase which uses PHP_SELF. Instead, you should use REQUEST_URI to get the parameters when forming this link.

    I have posted a diff patch below to correct this:

    5429c5429
    <                               <p>View the <a href="'.$PHP_SELF.'?wsdl">WSDL</a> for the service.
    --
    >