[jira] Created: (WSFPHP-405) Improvement Exceptions handling

classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view

[jira] Created: (WSFPHP-405) Improvement Exceptions handling

JIRA jira@wso2.org
Improvement Exceptions handling

                 Key: WSFPHP-405
                 URL: https://wso2.org/jira/browse/WSFPHP-405
             Project: WSO2 WSF/PHP
          Issue Type: Improvement
          Components: WSClient, WSDL Generation , WSDL Mode, WSService
    Affects Versions: 2.0.0
            Reporter: alexey baranov

When you call a non-existent address service does not thrown any exceptions. It is bad style.

For example the following cod does not produse any warning or exception.

$wsclient = new WSClient( array(
"wsdl" => "ExamResult.wsdl",
"to" => "http://localhost/INVALIDE_SERVICE_URL.php"));    //INVALIDE URL

$proxy = $wsclient->getProxy();

$ret_val = $proxy->INVALIDE_OPERATION_NAME(array("studentName" => "Hiro",   //INVALIDE OPERATION NAME
"subject" => "Maths",
"year" => 2007,
"semester" => "2"));

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


Wsf-c-dev mailing list
[hidden email]