You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
$this->server = new Server();
$this->server->setWSDL($this->wsdl->getPath())->setClass(Received::class);
$this->server->handler()
If i use that works fine when i call $this->server->handler().
But when i want to get the response and process that before return, like:
$this->server = new Server();
$this->server->setWSDL($this->wsdl->getPath())->setClass(Received::class);
$this->server->setReturnResponse(true); // use return instead of echo in response.
$response = $this->server->handler();
echo $response; //this doesn't works
So when i call $response = $this->server->handler(), doesn't work anymore. Have no errors and have no responses. In postman i get "Could not get any response" and in SoapUI i get "".
if i put a dump('ANYTHING') before the call for "$this->server->handler()" works again.
$this->server = new Server();
$this->server->setWSDL($this->wsdl->getPath())->setClass(Received::class);
$this->server->setReturnResponse(true); // use return instead of echo in response.
dump('foobar');
$response = $this->server->handler();
echo $response; //this works
Hi!
I have a soap server like this:
If i use that works fine when i call $this->server->handler().
But when i want to get the response and process that before return, like:
So when i call $response = $this->server->handler(), doesn't work anymore. Have no errors and have no responses. In postman i get "Could not get any response" and in SoapUI i get "".
if i put a dump('ANYTHING') before the call for "$this->server->handler()" works again.
But my return brokes because that dump.
Anyone know what happening? And how i fix that?
I'm using PHP7.1 and Nginx on a Ubuntu.
Originally posted by @esilvajr at zendframework/zend-soap#45
The text was updated successfully, but these errors were encountered: