what are the chances that soap extension will have the (optional) ability to
return output from SoapServer::handle instead of echoing it with http headers? current version makes it impossible to create soap server other than httpd-based (even more - it
s impossible to create server for not
httpd-linked sapi). if there is a way to do this - give me some directions
please.
thanks
rash
ps. yes, i know there is soap server class in pear :]
Citeren Robert Janeczek rashid@ds.pg.gda.pl:
what are the chances that soap extension will have the (optional) ability to
return output from SoapServer::handle instead of echoing it with http headers? current version makes it impossible to create soap server other than httpd-based (even more - it
s impossible to create server for not
httpd-linked sapi). if there is a way to do this - give me some directions
please.
thanks
Take a look at ob_start()
,ob_get_contents() and ob_end_clean()
functions. These
make it possible to capture the output.
To call a webservice handle from a not HTTP request you can manually set the
$HTTP_RAW_POST_DATA var with the contents of a mail or any other communication
protocol.
Kind regards,
David
rash
ps. yes, i know there is soap server class in pear :]
--
This message was sent using IMP, the Internet Messaging Program.
Take a look at
ob_start()
,ob_get_contents() andob_end_clean()
functions. These make it possible to capture the output.
To call a webservice handle from a not HTTP request you can manually
set the $HTTP_RAW_POST_DATA var with the contents of a mail or any
other communication protocol.
thanks, it worked :)
rash
Hi Robert,
It is possible to grab output with output control functions.
`ob_start()`;
$server->handle($request);
$response = `ob_get_contents()`;
`ob_end_clean()`;
Thanks. Dmitry.
-----Original Message-----
From: Robert Janeczek [mailto:rashid@ds.pg.gda.pl]
Sent: Sunday, October 03, 2004 13:33
To: internals@lists.php.net
Subject: [PHP-DEV] any chance for feature in soap extension?what are the chances that soap extension will have the
(optional) ability to return output from SoapServer::handle
instead of echoing it with http headers? current version makes it impossible to create soap server other than httpd-based (even more - it
s impossible to create server for
not httpd-linked sapi). if there is a way to do this - give
me some directions please. thanksrash
ps. yes, i know there is soap server class in pear :]