[wsf-c-dev] [PHP] Supporting SoapServer::handle()'s optional parameter

Samisa Abeysinghe samisa at wso2.com
Sun Feb 11 18:44:46 PST 2007


SOAP ext's SoapServer::handle() takes an optional parameter soap_request.
If the SOAP request argument is omitted, the request is supposed to be 
in the $HTTP_RAW_POST_DATA PHP variable.
IMHO, 99% of the time, handle() would be used without any parameters. 
However we cannot rule out the possibility of using the parameter; 
especially that can be useful in testing.

In WSService, we always assume that the request would come through the 
transport. So we do not have any parameters to WSService::request().
Looks like we would have to add an optional parameter to request().

Samisa...

-- 
Samisa Abeysinghe : http://www.wso2.org/ (WSO2 Oxygen Tank - Web Services Developers' Portal)





More information about the Wsf-c-dev mailing list