[phpsoa] Re: WSDL and extends

2008-01-02 Thread Graham Charters
Hi, Sorry for not getting back to you sooner. Extends is not something I'm aware of being supported. The SCA_AnnotationReader uses get_class_methods to return the methods which the class may expose (depends on whether they're public or are restricted using an interface). I haven't tried it

[phpsoa] Re: WSDL and extends

2008-01-02 Thread Graham Charters
OK, so I should have tried it before responding Get_class_methods does include methods from parent classes. I've just tried the following example: filename: DerivedClass.php ?php include 'SCA/SCA.php'; class ParentClass { public function method1() {} } /** * My service using

[phpsoa] Re: WSDL and extends

2008-01-02 Thread Graham Charters
Hi, What you're seeing is a consequence of the php internals design, in that a derived class is not processed at compile-time. I encountered this when adding the ability to control service methods through an interface. You can get round the problem by moving the include for SCA.php to after