[wsf-c-dev] [jira] Resolved: (WSFPHP-268) PHP Notices using WSDL Generation

Dimuthu Gamage (JIRA) jira at wso2.org
Sat May 3 18:48:17 PDT 2008


     [ https://wso2.org/jira/browse/WSFPHP-268?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Dimuthu Gamage resolved WSFPHP-268.
-----------------------------------

      Assignee: Dimuthu Gamage
    Resolution: Fixed

Yea, These particular places are fixed in the latest svn.

> PHP Notices using WSDL Generation
> ---------------------------------
>
>                 Key: WSFPHP-268
>                 URL: https://wso2.org/jira/browse/WSFPHP-268
>             Project: WSO2 WSF/PHP
>          Issue Type: Bug
>          Components: WSDL Generation 
>    Affects Versions: Current (nightly)
>         Environment: FreeBSD 6.2 / 5.2.5
>            Reporter: Fred Cohen
>            Assignee: Dimuthu Gamage
>            Priority: Minor
>
> When running samples/wsdl_generation/doclit_service.php  php spits out notices every time its called:
> [Fri May 02 15:19:16 2008] [error] [client 10.1.106.62] PHP Notice:  Undefined variable: service in wsf_wsdl.php on line 306
> [Fri May 02 15:19:16 2008] [error] [client 10.1.106.62] PHP Notice:  Undefined variable: port in wsf_wsdl.php on line 306
> [Fri May 02 15:19:16 2008] [error] [client 10.1.106.62] PHP Notice:  Undefined index:  class_name in wsf_wsdl.php on line 358
> [Fri May 02 15:19:16 2008] [error] [client 10.1.106.62] PHP Notice:  Undefined index:  classmap in wsf_wsdl.php on line 359
> I'd suggest changing wsf_wsdl.php line :358-359 from
> $class_name = $parameters["class_name"];
> $class_map = $parameters["classmap"];
> To
> $class_name = isset($parameters['class_name']) ? $parameters['class_name'] : false;
> $class_map = isset($parameters['classmap']) ? $parameters['classmap'] : false;
> The $service and $port variables on line 306 are just not defined at all. 

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: https://wso2.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        



More information about the Wsf-c-dev mailing list