Extending the SoapServer class

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Morning all,

	I'm trying to find out how the SoapServer class handles a soap request
and how it calls the required method/function and weather or not this
can be intercepted/overridden.

	I want to extend the SoapServer class so that I can intercept the
request at the point just before the requested method is actioned.  I'm
trying to look for a way to extend the SoapServer class so that I know
what method is being requested so that I can then check the application
configuration settings and see if that function has been specifically
disabled and if so throw a SoapFault. I know I could implement this
check in the requested methods directly but I really want a global way
of checking and disabling request methods.

	I could probably override the $soapServer->handle() method but I would
then have to look at the raw soap request to find out what method was
being called and then call the original handle() function after which
would then look at the raw soap request again and handle as required. I
want to avoid having to process the raw soap request twice if I can.

	Also if anybody has a complete class overview diagram for the
SoapServer class then that would also be useful.

- --
Regards,
	William Bailey.
	Pro-Net Internet Services Ltd.
	http://www.pro-net.co.uk/
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.1 (MingW32)

iD8DBQFCOVlFzSfrYDJMXmERAihFAJ9Zdjsge4HGyRAwrdo+HCqv62vJMACgg8Uz
c3GZW/HUS95piqOadnCkfJM=
=xRDm
-----END PGP SIGNATURE-----

-- 
PHP Soap Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php


[Index of Archives]     [PHP Home]     [PHP Users]     [Kernel Newbies]     [PHP Database]     [Yosemite]

  Powered by Linux