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

James Clark james at wso2.com
Sun Feb 11 23:48:02 PST 2007


On Mon, 2007-02-12 at 08:44 +0600, Samisa Abeysinghe wrote:
> 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().

You mean reply(), right?

This sounds reasonable to me.  What exactly does the optional argument
contain?  A string containing a MIME message including header plus
entity body?

James

> Samisa...
> 





More information about the Wsf-c-dev mailing list