1 Reply Latest reply on Aug 4, 2009 6:42 AM by sudhirm-rRcgag

    Error during service introspection php and wamp


      Hello guys .. I'm new at flex . i install flash builder 4 . Evrything goes fine till i create a php service by import a php class .




      class ClassRules {


          private $connection;


          private function connect() {
              // TODO Establish the database connection
              // Sample code
                    $this->connection = odbc_connect('ora_ice', 'ice','tiger');


          public function getAllRules() {
                    $sql = "SELECT * FROM die_rule";
                    $result = odbc_exec($this->connection, $sql);
                    $rows = array();
                    while ($row = odbc_fetch_array($result)) {
                            $rows[] = $row;
                    return $rows;    


      When Zend is install then it gives an error


      There was an error during service introspection.
      Server error


      File "ora.php" does not exist or class "ora" was not found in the file
      #0 C:\Program Files\wamp\www\ZendFramework\library\Zend\Amf\Adobe\Introspector.php(95): Zend_Loader::loadClass('ora', Array)
      #1 [internal function]: Zend_Amf_Adobe_Introspector->introspect('ora', Array)
      #2 [internal function]: ReflectionMethod->invokeArgs(Object(Zend_Amf_Adobe_Introspector), Array)
      #3 C:\Program Files\wamp\www\ZendFramework\library\Zend\Server\Reflection\Function\Abstract.php(368): call_user_func_array(Array, Array)
      #4 [internal function]: Zend_Server_Reflection_Function_Abstract->__call('invokeArgs', Array)
      #5 C:\Program Files\wamp\www\ZendFramework\library\Zend\Amf\Server.php(335): Zend_Server_Reflection_Method->invokeArgs(Object(Zend_Amf_Adobe_Introspector), Array)
      #6 C:\Program Files\wamp\www\ZendFramework\library\Zend\Amf\Server.php(526): Zend_Amf_Server->_dispatch('introspect', Array, 'Zend_Amf_Adobe_...')
      #7 C:\Program Files\wamp\www\ZendFramework\library\Zend\Amf\Server.php(602): Zend_Amf_Server->_handle(Object(Zend_Amf_Request_Http))
      #8 C:\Program Files\wamp\www\MyProj-debug\gateway.php(47): Zend_Amf_Server->handle()
      #9 {main}



      Please help me . ...



      Shrikant Patil