$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.