Merge branch '0.1'
This commit is contained in:
commit
bd2508f854
|
@ -14,8 +14,8 @@
|
||||||
namespace BeSimple\SoapClient;
|
namespace BeSimple\SoapClient;
|
||||||
|
|
||||||
use BeSimple\SoapCommon\SoapKernel as CommonSoapKernel;
|
use BeSimple\SoapCommon\SoapKernel as CommonSoapKernel;
|
||||||
use BeSimple\SoapCommon\SoapRequest;
|
use BeSimple\SoapCommon\SoapRequest as CommonSoapRequest;
|
||||||
use BeSimple\SoapCommon\SoapResponse;
|
use BeSimple\SoapCommon\SoapResponse as CommonSoapResponse;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* SoapKernel for Client.
|
* SoapKernel for Client.
|
||||||
|
@ -27,7 +27,7 @@ class SoapKernel extends CommonSoapKernel
|
||||||
/**
|
/**
|
||||||
* {@inheritDoc}
|
* {@inheritDoc}
|
||||||
*/
|
*/
|
||||||
public function filterRequest(SoapRequest $request)
|
public function filterRequest(CommonSoapRequest $request)
|
||||||
{
|
{
|
||||||
$request->setAttachments($this->attachments);
|
$request->setAttachments($this->attachments);
|
||||||
$this->attachments = array();
|
$this->attachments = array();
|
||||||
|
@ -38,10 +38,10 @@ class SoapKernel extends CommonSoapKernel
|
||||||
/**
|
/**
|
||||||
* {@inheritDoc}
|
* {@inheritDoc}
|
||||||
*/
|
*/
|
||||||
public function filterResponse(SoapResponse $response)
|
public function filterResponse(CommonSoapResponse $response)
|
||||||
{
|
{
|
||||||
parent::filterResponse($response);
|
parent::filterResponse($response);
|
||||||
|
|
||||||
$this->attachments = $response->getAttachments();
|
$this->attachments = $response->getAttachments();
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
@ -14,8 +14,8 @@
|
||||||
namespace BeSimple\SoapServer;
|
namespace BeSimple\SoapServer;
|
||||||
|
|
||||||
use BeSimple\SoapCommon\SoapKernel as CommonSoapKernel;
|
use BeSimple\SoapCommon\SoapKernel as CommonSoapKernel;
|
||||||
use BeSimple\SoapCommon\SoapRequest;
|
use BeSimple\SoapCommon\SoapRequest as CommonSoapRequest;
|
||||||
use BeSimple\SoapCommon\SoapResponse;
|
use BeSimple\SoapCommon\SoapResponse as CommonSoapResponse;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* SoapKernel for Server.
|
* SoapKernel for Server.
|
||||||
|
@ -27,7 +27,7 @@ class SoapKernel extends CommonSoapKernel
|
||||||
/**
|
/**
|
||||||
* {@inheritDoc}
|
* {@inheritDoc}
|
||||||
*/
|
*/
|
||||||
public function filterRequest(SoapRequest $request)
|
public function filterRequest(CommonSoapRequest $request)
|
||||||
{
|
{
|
||||||
parent::filterRequest($request);
|
parent::filterRequest($request);
|
||||||
|
|
||||||
|
@ -37,11 +37,11 @@ class SoapKernel extends CommonSoapKernel
|
||||||
/**
|
/**
|
||||||
* {@inheritDoc}
|
* {@inheritDoc}
|
||||||
*/
|
*/
|
||||||
public function filterResponse(SoapResponse $response)
|
public function filterResponse(CommonSoapResponse $response)
|
||||||
{
|
{
|
||||||
$response->setAttachments($this->attachments);
|
$response->setAttachments($this->attachments);
|
||||||
$this->attachments = array();
|
$this->attachments = array();
|
||||||
|
|
||||||
parent::filterResponse($response);
|
parent::filterResponse($response);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue