564005da93
Soap Server and Client were breaking binary files during transfer due to invalid Mime Message Parser. Now is it working fine with no errors, but the message parser is about to be rewritten into a better form.
57 lines
1.1 KiB
PHP
57 lines
1.1 KiB
PHP
<?php
|
|
|
|
namespace BeSimple\SoapClient;
|
|
|
|
use BeSimple\SoapCommon\SoapRequest;
|
|
use BeSimple\SoapCommon\SoapResponse as CommonSoapResponse;
|
|
|
|
class SoapResponse extends CommonSoapResponse
|
|
{
|
|
/** @var mixed */
|
|
protected $responseObject;
|
|
/** @var SoapResponseTracingData */
|
|
protected $tracingData;
|
|
/** @var SoapRequest */
|
|
protected $request;
|
|
|
|
public function getResponseContent()
|
|
{
|
|
return $this->getContent();
|
|
}
|
|
|
|
public function getResponseObject()
|
|
{
|
|
return $this->responseObject;
|
|
}
|
|
|
|
public function setResponseObject($responseObject)
|
|
{
|
|
$this->responseObject = $responseObject;
|
|
}
|
|
|
|
public function hasTracingData()
|
|
{
|
|
return $this->tracingData !== null;
|
|
}
|
|
|
|
public function getTracingData()
|
|
{
|
|
return $this->tracingData;
|
|
}
|
|
|
|
public function setTracingData(SoapResponseTracingData $tracingData)
|
|
{
|
|
$this->tracingData = $tracingData;
|
|
}
|
|
|
|
public function setRequest(SoapRequest $request)
|
|
{
|
|
$this->request = $request;
|
|
}
|
|
|
|
public function getRequest()
|
|
{
|
|
return $this->request;
|
|
}
|
|
}
|