Re: [SOAP] some soap focus

From: Date: Mon, 14 Apr 2003 08:54:51 +0000
Subject: Re: [SOAP] some soap focus
References: 1 2 3 4 5  Groups: php.soap 
Request: Send a blank email to php-soap+get-551@lists.php.net to get a copy of this message
First of all, a small fix to package.xml: Index: package.xml =================================================================== RCS file: /repository/pear/SOAP/package.xml,v retrieving revision 1.26 diff -u -r1.26 package.xml --- package.xml 13 Apr 2003 22:14:15 -0000 1.26 +++ package.xml 14 Apr 2003 08:47:53 -0000 @@ -55,7 +55,7 @@ <file role="doc" name="tcp_client.php"/> <file role="doc" name="tcp_server.php"/> <file role="doc" name="tcp_daemon.pl"/> - <file role="doc" name="wsdl_client.pl"/> + <file role="doc" name="wsdl_client.php"/> <dir name="amazon"> <file role="doc" name="amazon.php"/> <file role="doc" name="amazon_soap.php"/> Quoting Shane Caraveo <shane@caraveo.com>: > Jan Schneider wrote: > > > > > Where can I specify what method to use instead of either a global > function > > or a method of the server class? How do you create a soap server with > > method names that are reserved words in php? > > > > Jan. > > Ok, the current cvs now has function aliases, you can see an example of > it in example/example_server.php. Aliases work with either class > methods or functions. That looks pretty interesting and is a great step towards dynamically created SOAP servers. Is there any way to either pass the original (soap) method name as a parameter to this aliased function/method or to get the method's name by a method or property from the server class? This would allow us to define a method dispatcher that can handle an arbitrary set of methods/functions. If I currently want to create a dynamic server that has its methods defined at runtime, I need to create a proxy class with a huge eval() call. That works but isn't very elegant. Jan. -- http://www.horde.org - The Horde Project http://www.ammma.de - discover your knowledge http://www.tip4all.de - Deine private Tippgemeinschaft

« previous php.soap (#551) next »