moved client specific code to SoapClient

This commit is contained in:
Andreas Schamberger 2012-04-29 20:26:00 +02:00
parent 9b912a51b2
commit 587e421dca

View File

@ -113,9 +113,6 @@ class SoapKernel
*/ */
public function filterRequest(SoapRequest $request) public function filterRequest(SoapRequest $request)
{ {
$request->setAttachments($this->attachments);
$this->attachments = array();
foreach ($this->requestFilters as $filter) { foreach ($this->requestFilters as $filter) {
$filter->filterRequest($request); $filter->filterRequest($request);
} }
@ -131,7 +128,5 @@ class SoapKernel
foreach ($this->responseFilters as $filter) { foreach ($this->responseFilters as $filter) {
$filter->filterResponse($response); $filter->filterResponse($response);
} }
$this->attachments = $response->getAttachments();
} }
} }