Re: any chance for feature in soap extension?
| From: | D dot Kingma at jool dot nl | Date: | Sun, 03 Oct 2004 11:51:11 +0000 |
| Subject: | Re: any chance for feature in soap extension? | ||
| References: | 1 | Groups: | php.internals |
| Request: | Send a blank email to internals+get-13116@lists.php.net to get a copy of this message | ||
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 echo`ing 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 :]
>
> --
> PHP Internals - PHP Runtime Development Mailing List
> To unsubscribe, visit: http://www.php.net/unsub.php
>
>
----------------------------------------------------------------
This message was sent using IMP, the Internet Messaging Program.