diff --git a/composer.json b/composer.json index f7524578..ed34f7bb 100644 --- a/composer.json +++ b/composer.json @@ -24,8 +24,8 @@ "ext-soap": "*", "ext-curl": "*", "ass/xmlsecurity": "~1.0", - "symfony/framework-bundle": "~2.0|~3.0", - "symfony/twig-bundle": "~2.0|~3.0", + "symfony/framework-bundle": "~3.1", + "symfony/twig-bundle": "~3.1", "zendframework/zend-mime": "2.1.*" }, "replace": { @@ -39,7 +39,7 @@ "ext-mcrypt": "*", "mikey179/vfsStream": "~1.0", "symfony/filesystem": "~2.0", - "symfony/process": "~2.3" + "symfony/process": "~3.1" }, "autoload": { "psr-0": { "BeSimple\\": "src/" } diff --git a/src/BeSimple/SoapBundle/BeSimpleSoapBundle.php b/src/BeSimple/SoapBundle/BeSimpleSoapBundle.php index 06797a87..9e67aede 100644 --- a/src/BeSimple/SoapBundle/BeSimpleSoapBundle.php +++ b/src/BeSimple/SoapBundle/BeSimpleSoapBundle.php @@ -10,8 +10,8 @@ namespace BeSimple\SoapBundle; -use BeSimple\SoapBundle\DependencyInjection\Compiler\WebServiceResolverPass; use BeSimple\SoapBundle\DependencyInjection\Compiler\TypeConverterPass; +use BeSimple\SoapBundle\DependencyInjection\Compiler\WebServiceResolverPass; use Symfony\Component\DependencyInjection\ContainerBuilder; use Symfony\Component\HttpKernel\Bundle\Bundle; diff --git a/src/BeSimple/SoapBundle/Controller/SoapWebServiceController.php b/src/BeSimple/SoapBundle/Controller/SoapWebServiceController.php index 29d08c36..b1a7ff06 100644 --- a/src/BeSimple/SoapBundle/Controller/SoapWebServiceController.php +++ b/src/BeSimple/SoapBundle/Controller/SoapWebServiceController.php @@ -16,8 +16,10 @@ use BeSimple\SoapBundle\Soap\SoapRequest; use BeSimple\SoapBundle\Soap\SoapResponse; use BeSimple\SoapServer\SoapServerBuilder; -use Symfony\Component\DependencyInjection\ContainerAware; +use Symfony\Component\DependencyInjection\ContainerAwareInterface; +use Symfony\Component\DependencyInjection\ContainerAwareTrait; use Symfony\Component\HttpFoundation\Request; +use Symfony\Component\HttpFoundation\RequestStack; use Symfony\Component\HttpFoundation\Response; use Symfony\Component\HttpKernel\Exception\FlattenException; use Symfony\Component\HttpKernel\Exception\NotFoundHttpException; @@ -28,8 +30,10 @@ * @author Christian Kerl * @author Francis Besset */ -class SoapWebServiceController extends ContainerAware +class SoapWebServiceController implements ContainerAwareInterface { + use ContainerAwareTrait; + /** * @var \SoapServer */ @@ -60,17 +64,16 @@ class SoapWebServiceController extends ContainerAware */ public function callAction($webservice) { - $webServiceContext = $this->getWebServiceContext($webservice); + $webServiceContext = $this->getWebServiceContext($webservice); $this->serviceBinder = $webServiceContext->getServiceBinder(); - $this->soapRequest = SoapRequest::createFromHttpRequest($this->container->get('request')); - $this->soapServer = $webServiceContext + $this->soapRequest = SoapRequest::createFromHttpRequest($this->container->get('request_stack')->getCurrentRequest()); + $this->soapServer = $webServiceContext ->getServerBuilder() ->withSoapVersion11() ->withHandler($this) - ->build() - ; + ->build(); ob_start(); $this->soapServer->handle($this->soapRequest->getSoapMessage()); @@ -94,8 +97,8 @@ public function definitionAction($webservice) true ) )); - - $request = $this->container->get('request'); + + $request = $this->container->get('request_stack')->getCurrentRequest(); $query = $request->query; if ($query->has('wsdl') || $query->has('WSDL')) { $request->setRequestFormat('wsdl'); @@ -107,9 +110,9 @@ public function definitionAction($webservice) /** * Converts an Exception to a SoapFault Response. * - * @param Request $request The request - * @param FlattenException $exception A FlattenException instance - * @param DebugLoggerInterface $logger A DebugLoggerInterface instance + * @param Request $request The request + * @param FlattenException $exception A FlattenException instance + * @param DebugLoggerInterface $logger A DebugLoggerInterface instance * * @return Response * @@ -121,13 +124,13 @@ public function exceptionAction(Request $request, FlattenException $exception, D throw new \LogicException(sprintf('The parameter "%s" is required in Request::$query parameter bag to generate the SoapFault.', '_besimple_soap_webservice'), null, $e); } - $view = 'TwigBundle:Exception:'.($this->container->get('kernel')->isDebug() ? 'exception' : 'error').'.txt.twig'; + $view = 'TwigBundle:Exception:' . ($this->container->get('kernel')->isDebug() ? 'exception' : 'error') . '.txt.twig'; $code = $exception->getStatusCode(); $details = $this->container->get('templating')->render($view, array( 'status_code' => $code, 'status_text' => isset(Response::$statusTexts[$code]) ? Response::$statusTexts[$code] : '', - 'exception' => $exception, - 'logger' => $logger, + 'exception' => $exception, + 'logger' => $logger, )); $handler = new ExceptionHandler($exception, $details); @@ -139,19 +142,18 @@ public function exceptionAction(Request $request, FlattenException $exception, D } $server = SoapServerBuilder::createWithDefaults() - ->withWsdl(__DIR__.'/../Handler/wsdl/exception.wsdl') + ->withWsdl(__DIR__ . '/../Handler/wsdl/exception.wsdl') ->withWsdlCacheNone() ->withHandler($handler) - ->build() - ; + ->build(); ob_start(); $server->handle( - ''. - ''. - ''. - ''. - ''. + '' . + '' . + '' . + '' . + '' . '' ); diff --git a/src/BeSimple/SoapBundle/DependencyInjection/BeSimpleSoapExtension.php b/src/BeSimple/SoapBundle/DependencyInjection/BeSimpleSoapExtension.php index ebb3623b..81ea5a84 100644 --- a/src/BeSimple/SoapBundle/DependencyInjection/BeSimpleSoapExtension.php +++ b/src/BeSimple/SoapBundle/DependencyInjection/BeSimpleSoapExtension.php @@ -18,8 +18,8 @@ use Symfony\Component\Config\FileLocator; use Symfony\Component\DependencyInjection\ContainerBuilder; use Symfony\Component\DependencyInjection\DefinitionDecorator; -use Symfony\Component\DependencyInjection\Reference; use Symfony\Component\DependencyInjection\Loader\XmlFileLoader; +use Symfony\Component\DependencyInjection\Reference; use Symfony\Component\HttpKernel\DependencyInjection\Extension; use Symfony\Component\HttpKernel\Kernel; diff --git a/src/BeSimple/SoapBundle/DependencyInjection/Compiler/TypeConverterPass.php b/src/BeSimple/SoapBundle/DependencyInjection/Compiler/TypeConverterPass.php index 828c9c93..ed4a2ba1 100644 --- a/src/BeSimple/SoapBundle/DependencyInjection/Compiler/TypeConverterPass.php +++ b/src/BeSimple/SoapBundle/DependencyInjection/Compiler/TypeConverterPass.php @@ -10,9 +10,9 @@ namespace BeSimple\SoapBundle\DependencyInjection\Compiler; -use Symfony\Component\DependencyInjection\Reference; -use Symfony\Component\DependencyInjection\ContainerBuilder; use Symfony\Component\DependencyInjection\Compiler\CompilerPassInterface; +use Symfony\Component\DependencyInjection\ContainerBuilder; +use Symfony\Component\DependencyInjection\Reference; /** * Adds tagged besimple.soap.converter services to besimple.soap.converter.repository service diff --git a/src/BeSimple/SoapBundle/DependencyInjection/Compiler/WebServiceResolverPass.php b/src/BeSimple/SoapBundle/DependencyInjection/Compiler/WebServiceResolverPass.php index 06bd7553..67cf7a7d 100644 --- a/src/BeSimple/SoapBundle/DependencyInjection/Compiler/WebServiceResolverPass.php +++ b/src/BeSimple/SoapBundle/DependencyInjection/Compiler/WebServiceResolverPass.php @@ -10,9 +10,9 @@ namespace BeSimple\SoapBundle\DependencyInjection\Compiler; -use Symfony\Component\DependencyInjection\Reference; -use Symfony\Component\DependencyInjection\ContainerBuilder; use Symfony\Component\DependencyInjection\Compiler\CompilerPassInterface; +use Symfony\Component\DependencyInjection\ContainerBuilder; +use Symfony\Component\DependencyInjection\Reference; /** * Adds tagged besimple.soap.definition.loader services to ebservice.definition.resolver service diff --git a/src/BeSimple/SoapBundle/Resources/config/routing/webservicecontroller.xml b/src/BeSimple/SoapBundle/Resources/config/routing/webservicecontroller.xml index 98e80e44..277e50e3 100644 --- a/src/BeSimple/SoapBundle/Resources/config/routing/webservicecontroller.xml +++ b/src/BeSimple/SoapBundle/Resources/config/routing/webservicecontroller.xml @@ -4,15 +4,13 @@ xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://symfony.com/schema/routing http://symfony.com/schema/routing/routing-1.0.xsd"> - + BeSimpleSoapBundle:SoapWebService:Call xml - POST - + BeSimpleSoapBundle:SoapWebService:Definition xml - GET diff --git a/src/BeSimple/SoapBundle/Resources/doc/soapserver/configuration.rst b/src/BeSimple/SoapBundle/Resources/doc/soapserver/configuration.rst index ee3c7bc7..0214df70 100644 --- a/src/BeSimple/SoapBundle/Resources/doc/soapserver/configuration.rst +++ b/src/BeSimple/SoapBundle/Resources/doc/soapserver/configuration.rst @@ -37,10 +37,13 @@ Annotations for Controllers namespace Acme\DemoBundle\Controller; use BeSimple\SoapBundle\ServiceDefinition\Annotation as Soap; - use Symfony\Component\DependencyInjection\ContainerAware; + use Symfony\Component\DependencyInjection\ContainerAwareInterface; + use Symfony\Component\DependencyInjection\ContainerAwareTrait; - class DemoController extends ContainerAware + class DemoController implements ContainerAwareInterface { + use ContainerAwareTrait; + /** * @Soap\Method("hello") * @Soap\Param("name", phpType = "string") diff --git a/src/BeSimple/SoapBundle/Resources/doc/soapserver/tutorial/array.rst b/src/BeSimple/SoapBundle/Resources/doc/soapserver/tutorial/array.rst index 7561d375..4c7d89f1 100644 --- a/src/BeSimple/SoapBundle/Resources/doc/soapserver/tutorial/array.rst +++ b/src/BeSimple/SoapBundle/Resources/doc/soapserver/tutorial/array.rst @@ -9,10 +9,13 @@ Controller namespace Acme\DemoBundle\Controller; use BeSimple\SoapBundle\ServiceDefinition\Annotation as Soap; - use Symfony\Component\DependencyInjection\ContainerAware; + use Symfony\Component\DependencyInjection\ContainerAwareInterface; + use Symfony\Component\DependencyInjection\ContainerAwareTrait; - class DemoController extends ContainerAware + class DemoController implements ContainerAwareInterface { + use ContainerAwareTrait; + /** * @Soap\Method("hello") * @Soap\Param("names", phpType = "string[]") diff --git a/src/BeSimple/SoapBundle/Resources/doc/soapserver/tutorial/associative_array.rst b/src/BeSimple/SoapBundle/Resources/doc/soapserver/tutorial/associative_array.rst index 045cb5be..2d8494e3 100644 --- a/src/BeSimple/SoapBundle/Resources/doc/soapserver/tutorial/associative_array.rst +++ b/src/BeSimple/SoapBundle/Resources/doc/soapserver/tutorial/associative_array.rst @@ -28,10 +28,13 @@ Controller namespace Acme\DemoBundle\Controller; use BeSimple\SoapBundle\ServiceDefinition\Annotation as Soap; - use Symfony\Component\DependencyInjection\ContainerAware; + use Symfony\Component\DependencyInjection\ContainerAwareInterface; + use Symfony\Component\DependencyInjection\ContainerAwareTrait; - class DemoController extends ContainerAware + class DemoController implements ContainerAwareInterface { + use ContainerAwareTrait; + /** * @Soap\Method("returnAssocArray") * @Soap\Result(phpType = "BeSimple\SoapCommon\Type\KeyValue\String[]") @@ -82,10 +85,13 @@ How to create my Associative Array? use Acme\DemoBundle\Entity\User; use BeSimple\SoapBundle\ServiceDefinition\Annotation as Soap; - use Symfony\Component\DependencyInjection\ContainerAware; + use Symfony\Component\DependencyInjection\ContainerAwareInterface; + use Symfony\Component\DependencyInjection\ContainerAwareTrait; - class DemoController extends ContainerAware + class DemoController implements ContainerAwareInterface { + use ContainerAwareTrait; + /** * @Soap\Method("getUsers") * @Soap\Result(phpType = "Acme\DemoBundle\Soap\Type\User[]") diff --git a/src/BeSimple/SoapBundle/Resources/doc/soapserver/tutorial/complex_type.rst b/src/BeSimple/SoapBundle/Resources/doc/soapserver/tutorial/complex_type.rst index 83892879..781cf901 100644 --- a/src/BeSimple/SoapBundle/Resources/doc/soapserver/tutorial/complex_type.rst +++ b/src/BeSimple/SoapBundle/Resources/doc/soapserver/tutorial/complex_type.rst @@ -15,10 +15,13 @@ Controller namespace Acme\DemoBundle\Controller; use BeSimple\SoapBundle\ServiceDefinition\Annotation as Soap; - use Symfony\Component\DependencyInjection\ContainerAware; + use Symfony\Component\DependencyInjection\ContainerAwareInterface; + use Symfony\Component\DependencyInjection\ContainerAwareTrait; - class DemoController extends ContainerAware + class DemoController implements ContainerAwareInterface { + use ContainerAwareTrait; + /** * @Soap\Method("getUser") * @Soap\Param("name", phpType = "string") diff --git a/src/BeSimple/SoapBundle/Resources/doc/soapserver/tutorial/header.rst b/src/BeSimple/SoapBundle/Resources/doc/soapserver/tutorial/header.rst index 6b731d71..30fe1e5e 100644 --- a/src/BeSimple/SoapBundle/Resources/doc/soapserver/tutorial/header.rst +++ b/src/BeSimple/SoapBundle/Resources/doc/soapserver/tutorial/header.rst @@ -9,10 +9,13 @@ Controller namespace Acme\DemoBundle\Controller; use BeSimple\SoapBundle\ServiceDefinition\Annotation as Soap; - use Symfony\Component\DependencyInjection\ContainerAware; + use Symfony\Component\DependencyInjection\ContainerAwareInterface; + use Symfony\Component\DependencyInjection\ContainerAwareTrait; - class DemoController extends ContainerAware + class DemoController implements ContainerAwareInterface { + use ContainerAwareTrait; + /** * @Soap\Method("hello") * @Soap\Header("api_key", phpType = "string") @@ -42,14 +45,16 @@ If you want use a header for all actions of your controller you can declare the namespace Acme\DemoBundle\Controller; use BeSimple\SoapBundle\ServiceDefinition\Annotation as Soap; - use Symfony\Component\DependencyInjection\ContainerAware; use Symfony\Component\DependencyInjection\ContainerInterface; + use Symfony\Component\DependencyInjection\ContainerAwareTrait; /** * @Soap\Header("api_key", phpType = "string") */ - class DemoController extends ContainerAware + class DemoController implements ContainerAwareInterface { + use ContainerAwareTrait; + /** * @Soap\Method("hello") * @Soap\Param("names", phpType = "string[]") diff --git a/src/BeSimple/SoapBundle/ServiceDefinition/Loader/AnnotationClassLoader.php b/src/BeSimple/SoapBundle/ServiceDefinition/Loader/AnnotationClassLoader.php index dcd15002..bd131eee 100644 --- a/src/BeSimple/SoapBundle/ServiceDefinition/Loader/AnnotationClassLoader.php +++ b/src/BeSimple/SoapBundle/ServiceDefinition/Loader/AnnotationClassLoader.php @@ -12,8 +12,8 @@ namespace BeSimple\SoapBundle\ServiceDefinition\Loader; -use BeSimple\SoapBundle\ServiceDefinition as Definition; use BeSimple\SoapBundle\ServiceDefinition\Annotation; +use BeSimple\SoapBundle\ServiceDefinition as Definition; use BeSimple\SoapCommon\Definition\Type\ComplexType; use BeSimple\SoapCommon\Definition\Type\TypeRepository; use Doctrine\Common\Annotations\Reader; diff --git a/src/BeSimple/SoapBundle/Soap/SoapClientBuilder.php b/src/BeSimple/SoapBundle/Soap/SoapClientBuilder.php index 977b92b4..2822dd79 100644 --- a/src/BeSimple/SoapBundle/Soap/SoapClientBuilder.php +++ b/src/BeSimple/SoapBundle/Soap/SoapClientBuilder.php @@ -2,9 +2,9 @@ namespace BeSimple\SoapBundle\Soap; +use BeSimple\SoapClient\SoapClientBuilder as BaseSoapClientBuilder; use BeSimple\SoapCommon\Classmap; use BeSimple\SoapCommon\Converter\TypeConverterCollection; -use BeSimple\SoapClient\SoapClientBuilder as BaseSoapClientBuilder; class SoapClientBuilder extends BaseSoapClientBuilder { diff --git a/src/BeSimple/SoapBundle/WebServiceContext.php b/src/BeSimple/SoapBundle/WebServiceContext.php index dce81a76..a8dcfc92 100644 --- a/src/BeSimple/SoapBundle/WebServiceContext.php +++ b/src/BeSimple/SoapBundle/WebServiceContext.php @@ -13,8 +13,8 @@ use BeSimple\SoapBundle\ServiceBinding\ServiceBinder; use BeSimple\SoapCommon\Converter\TypeConverterCollection; -use BeSimple\SoapWsdl\Dumper\Dumper; use BeSimple\SoapServer\SoapServerBuilder; +use BeSimple\SoapWsdl\Dumper\Dumper; use Symfony\Component\Config\ConfigCache; use Symfony\Component\Config\Loader\LoaderInterface; @@ -44,7 +44,7 @@ public function getServiceDefinition() if (null === $this->serviceDefinition) { $cache = new ConfigCache(sprintf('%s/%s.definition.php', $this->options['cache_dir'], $this->options['name']), $this->options['debug']); if ($cache->isFresh()) { - $this->serviceDefinition = include (string) $cache; + $this->serviceDefinition = include $cache->getPath(); } else { if (!$this->loader->supports($this->options['resource'], $this->options['resource_type'])) { throw new \LogicException(sprintf('Cannot load "%s" (%s)', $this->options['resource'], $this->options['resource_type'])); @@ -54,7 +54,7 @@ public function getServiceDefinition() $this->serviceDefinition->setName($this->options['name']); $this->serviceDefinition->setNamespace($this->options['namespace']); - $cache->write('serviceDefinition), true).');'); + $cache->write('serviceDefinition), true) . ');'); } } @@ -68,10 +68,10 @@ public function getWsdlFileContent($endpoint = null) public function getWsdlFile($endpoint = null) { - $file = sprintf ('%s/%s.%s.wsdl', $this->options['cache_dir'], $this->options['name'], md5($endpoint)); + $file = sprintf('%s/%s.%s.wsdl', $this->options['cache_dir'], $this->options['name'], md5($endpoint)); $cache = new ConfigCache($file, $this->options['debug']); - if(!$cache->isFresh()) { + if (!$cache->isFresh()) { $definition = $this->getServiceDefinition(); if ($endpoint) { @@ -82,7 +82,7 @@ public function getWsdlFile($endpoint = null) $cache->write($dumper->dump()); } - return (string) $cache; + return $cache->getPath(); } public function getServiceBinder() @@ -105,8 +105,7 @@ public function getServerBuilder() $this->serverBuilder = SoapServerBuilder::createWithDefaults() ->withWsdl($this->getWsdlFile()) ->withClassmap($this->getServiceDefinition()->getTypeRepository()->getClassmap()) - ->withTypeConverters($this->converters) - ; + ->withTypeConverters($this->converters); if (null !== $this->options['cache_type']) { $this->serverBuilder->withWsdlCache($this->options['cache_type']); diff --git a/src/BeSimple/SoapBundle/composer.json b/src/BeSimple/SoapBundle/composer.json index 79751c87..7f9dad19 100644 --- a/src/BeSimple/SoapBundle/composer.json +++ b/src/BeSimple/SoapBundle/composer.json @@ -25,8 +25,8 @@ "besimple/soap-common": "0.2.*", "besimple/soap-wsdl": "0.2.*", "ass/xmlsecurity": "~1.0", - "symfony/framework-bundle": "~2.0|~3.0", - "symfony/twig-bundle": "~2.0|~3.0", + "symfony/framework-bundle": "~3.1", + "symfony/twig-bundle": "~3.1", "zendframework/zend-mime": "2.1.*" }, "suggest": { diff --git a/src/BeSimple/SoapClient/SoapClient.php b/src/BeSimple/SoapClient/SoapClient.php index 0fa3c7d4..3edee360 100644 --- a/src/BeSimple/SoapClient/SoapClient.php +++ b/src/BeSimple/SoapClient/SoapClient.php @@ -12,9 +12,9 @@ namespace BeSimple\SoapClient; -use BeSimple\SoapCommon\Helper; use BeSimple\SoapCommon\Converter\MtomTypeConverter; use BeSimple\SoapCommon\Converter\SwaTypeConverter; +use BeSimple\SoapCommon\Helper; use BeSimple\SoapCommon\SoapMessage; /** diff --git a/src/BeSimple/SoapClient/SoapRequest.php b/src/BeSimple/SoapClient/SoapRequest.php index 00580cb0..81b468a4 100644 --- a/src/BeSimple/SoapClient/SoapRequest.php +++ b/src/BeSimple/SoapClient/SoapRequest.php @@ -12,8 +12,8 @@ namespace BeSimple\SoapClient; -use BeSimple\SoapCommon\SoapRequest as CommonSoapRequest; use BeSimple\SoapCommon\SoapMessage; +use BeSimple\SoapCommon\SoapRequest as CommonSoapRequest; /** * SoapRequest class for SoapClient. Provides factory function for request object. diff --git a/src/BeSimple/SoapClient/Tests/AxisInterop/MtomAxisInteropTest.php b/src/BeSimple/SoapClient/Tests/AxisInterop/MtomAxisInteropTest.php index f16f8c41..d3ccd196 100644 --- a/src/BeSimple/SoapClient/Tests/AxisInterop/MtomAxisInteropTest.php +++ b/src/BeSimple/SoapClient/Tests/AxisInterop/MtomAxisInteropTest.php @@ -8,15 +8,15 @@ * */ -use BeSimple\SoapCommon\Helper as BeSimpleSoapHelper; use BeSimple\SoapClient\SoapClient as BeSimpleSoapClient; - use BeSimple\SoapClient\Tests\AxisInterop\Fixtures\AttachmentRequest; + use BeSimple\SoapClient\Tests\AxisInterop\Fixtures\AttachmentType; use BeSimple\SoapClient\Tests\AxisInterop\Fixtures\base64Binary; - use BeSimple\SoapClient\Tests\AxisInterop\TestCase; +use BeSimple\SoapCommon\Helper as BeSimpleSoapHelper; + class MtomAxisInteropTest extends TestCase { private $options = array( diff --git a/src/BeSimple/SoapClient/Tests/AxisInterop/SwaAxisInteropTest.php b/src/BeSimple/SoapClient/Tests/AxisInterop/SwaAxisInteropTest.php index d964aa3e..59b9bb28 100644 --- a/src/BeSimple/SoapClient/Tests/AxisInterop/SwaAxisInteropTest.php +++ b/src/BeSimple/SoapClient/Tests/AxisInterop/SwaAxisInteropTest.php @@ -14,16 +14,16 @@ * */ -use BeSimple\SoapCommon\Helper as BeSimpleSoapHelper; use BeSimple\SoapClient\SoapClient as BeSimpleSoapClient; +use BeSimple\SoapClient\Tests\AxisInterop\Fixtures\downloadFile; +use BeSimple\SoapClient\Tests\AxisInterop\Fixtures\downloadFileResponse; use BeSimple\SoapClient\Tests\AxisInterop\Fixtures\uploadFile; use BeSimple\SoapClient\Tests\AxisInterop\Fixtures\uploadFileResponse; -use BeSimple\SoapClient\Tests\AxisInterop\Fixtures\downloadFile; -use BeSimple\SoapClient\Tests\AxisInterop\Fixtures\downloadFileResponse; - use BeSimple\SoapClient\Tests\AxisInterop\TestCase; +use BeSimple\SoapCommon\Helper as BeSimpleSoapHelper; + class SwaAxisInteropTest extends TestCase { private $options = array( diff --git a/src/BeSimple/SoapClient/Tests/AxisInterop/WsAddressingAxisInteropTest.php b/src/BeSimple/SoapClient/Tests/AxisInterop/WsAddressingAxisInteropTest.php index 2310476e..ecde08b5 100644 --- a/src/BeSimple/SoapClient/Tests/AxisInterop/WsAddressingAxisInteropTest.php +++ b/src/BeSimple/SoapClient/Tests/AxisInterop/WsAddressingAxisInteropTest.php @@ -23,10 +23,10 @@ */ use BeSimple\SoapClient\SoapClient as BeSimpleSoapClient; -use BeSimple\SoapClient\WsAddressingFilter as BeSimpleWsAddressingFilter; - use BeSimple\SoapClient\Tests\AxisInterop\TestCase; +use BeSimple\SoapClient\WsAddressingFilter as BeSimpleWsAddressingFilter; + class WsAddressingAxisInteropTest extends TestCase { private $options = array( diff --git a/src/BeSimple/SoapClient/Tests/AxisInterop/WsSecuritySigEncAxisInteropTest.php b/src/BeSimple/SoapClient/Tests/AxisInterop/WsSecuritySigEncAxisInteropTest.php index 2d7070ef..ea468e02 100644 --- a/src/BeSimple/SoapClient/Tests/AxisInterop/WsSecuritySigEncAxisInteropTest.php +++ b/src/BeSimple/SoapClient/Tests/AxisInterop/WsSecuritySigEncAxisInteropTest.php @@ -37,18 +37,18 @@ use ass\XmlSecurity\Key as XmlSecurityKey; use BeSimple\SoapClient\SoapClient as BeSimpleSoapClient; -use BeSimple\SoapClient\WsSecurityFilter as BeSimpleWsSecurityFilter; -use BeSimple\SoapCommon\WsSecurityKey as BeSimpleWsSecurityKey; +use BeSimple\SoapClient\Tests\AxisInterop\Fixtures\addBook; +use BeSimple\SoapClient\Tests\AxisInterop\Fixtures\addBookResponse; +use BeSimple\SoapClient\Tests\AxisInterop\Fixtures\BookInformation; use BeSimple\SoapClient\Tests\AxisInterop\Fixtures\getBook; use BeSimple\SoapClient\Tests\AxisInterop\Fixtures\getBookResponse; use BeSimple\SoapClient\Tests\AxisInterop\Fixtures\getBooksByType; use BeSimple\SoapClient\Tests\AxisInterop\Fixtures\getBooksByTypeResponse; -use BeSimple\SoapClient\Tests\AxisInterop\Fixtures\addBook; -use BeSimple\SoapClient\Tests\AxisInterop\Fixtures\addBookResponse; -use BeSimple\SoapClient\Tests\AxisInterop\Fixtures\BookInformation; - use BeSimple\SoapClient\Tests\AxisInterop\TestCase; +use BeSimple\SoapClient\WsSecurityFilter as BeSimpleWsSecurityFilter; + +use BeSimple\SoapCommon\WsSecurityKey as BeSimpleWsSecurityKey; class WsSecuritySigEncAxisInteropTest extends TestCase { diff --git a/src/BeSimple/SoapClient/Tests/AxisInterop/WsSecurityUserPassAxisInteropTest.php b/src/BeSimple/SoapClient/Tests/AxisInterop/WsSecurityUserPassAxisInteropTest.php index 2ee71d65..e6b9c25b 100644 --- a/src/BeSimple/SoapClient/Tests/AxisInterop/WsSecurityUserPassAxisInteropTest.php +++ b/src/BeSimple/SoapClient/Tests/AxisInterop/WsSecurityUserPassAxisInteropTest.php @@ -14,18 +14,18 @@ */ use BeSimple\SoapClient\SoapClient as BeSimpleSoapClient; -use BeSimple\SoapClient\WsSecurityFilter as BeSimpleWsSecurityFilter; +use BeSimple\SoapClient\Tests\AxisInterop\Fixtures\addBook; +use BeSimple\SoapClient\Tests\AxisInterop\Fixtures\addBookResponse; +use BeSimple\SoapClient\Tests\AxisInterop\Fixtures\BookInformation; use BeSimple\SoapClient\Tests\AxisInterop\Fixtures\getBook; use BeSimple\SoapClient\Tests\AxisInterop\Fixtures\getBookResponse; use BeSimple\SoapClient\Tests\AxisInterop\Fixtures\getBooksByType; use BeSimple\SoapClient\Tests\AxisInterop\Fixtures\getBooksByTypeResponse; -use BeSimple\SoapClient\Tests\AxisInterop\Fixtures\addBook; -use BeSimple\SoapClient\Tests\AxisInterop\Fixtures\addBookResponse; -use BeSimple\SoapClient\Tests\AxisInterop\Fixtures\BookInformation; - use BeSimple\SoapClient\Tests\AxisInterop\TestCase; +use BeSimple\SoapClient\WsSecurityFilter as BeSimpleWsSecurityFilter; + class WsSecurityUserPassAxisInteropTest extends TestCase { private $options = array( diff --git a/src/BeSimple/SoapClient/Tests/ServerInterop/MTOMClient.php b/src/BeSimple/SoapClient/Tests/ServerInterop/MTOMClient.php index df5c5e96..d3529c30 100644 --- a/src/BeSimple/SoapClient/Tests/ServerInterop/MTOMClient.php +++ b/src/BeSimple/SoapClient/Tests/ServerInterop/MTOMClient.php @@ -2,11 +2,11 @@ require '../../../../../vendor/autoload.php'; -use BeSimple\SoapCommon\Helper as BeSimpleSoapHelper; use BeSimple\SoapClient\SoapClient as BeSimpleSoapClient; +use BeSimple\SoapClient\Tests\ServerInterop\Fixtures\AttachmentRequest; use BeSimple\SoapClient\Tests\ServerInterop\Fixtures\base64Binary; -use BeSimple\SoapClient\Tests\ServerInterop\Fixtures\AttachmentRequest; +use BeSimple\SoapCommon\Helper as BeSimpleSoapHelper; $options = array( 'soap_version' => SOAP_1_1, diff --git a/src/BeSimple/SoapClient/Tests/ServerInterop/MTOMServer.php b/src/BeSimple/SoapClient/Tests/ServerInterop/MTOMServer.php index 72e8e197..b06b2011 100644 --- a/src/BeSimple/SoapClient/Tests/ServerInterop/MTOMServer.php +++ b/src/BeSimple/SoapClient/Tests/ServerInterop/MTOMServer.php @@ -2,10 +2,10 @@ require '../../../../../vendor/autoload.php'; +use BeSimple\SoapClient\Tests\ServerInterop\Fixtures; use BeSimple\SoapCommon\Helper as BeSimpleSoapHelper; -use BeSimple\SoapServer\SoapServer as BeSimpleSoapServer; -use BeSimple\SoapClient\Tests\ServerInterop\Fixtures; +use BeSimple\SoapServer\SoapServer as BeSimpleSoapServer; $options = array( 'soap_version' => SOAP_1_1, diff --git a/src/BeSimple/SoapClient/Tests/ServerInterop/MtomServerInteropTest.php b/src/BeSimple/SoapClient/Tests/ServerInterop/MtomServerInteropTest.php index 07d7b480..93d42716 100644 --- a/src/BeSimple/SoapClient/Tests/ServerInterop/MtomServerInteropTest.php +++ b/src/BeSimple/SoapClient/Tests/ServerInterop/MtomServerInteropTest.php @@ -1,14 +1,14 @@ SOAP_1_1, diff --git a/src/BeSimple/SoapClient/Tests/ServerInterop/SwaClient.php b/src/BeSimple/SoapClient/Tests/ServerInterop/SwaClient.php index 96f34fd0..2202d065 100644 --- a/src/BeSimple/SoapClient/Tests/ServerInterop/SwaClient.php +++ b/src/BeSimple/SoapClient/Tests/ServerInterop/SwaClient.php @@ -2,16 +2,16 @@ require '../../../../../vendor/autoload.php'; -use BeSimple\SoapCommon\Helper as BeSimpleSoapHelper; use BeSimple\SoapClient\SoapClient as BeSimpleSoapClient; +use BeSimple\SoapClient\Tests\ServerInterop\Fixtures\downloadFile; +use BeSimple\SoapClient\Tests\ServerInterop\Fixtures\downloadFileResponse; use BeSimple\SoapClient\Tests\ServerInterop\Fixtures\uploadFile; use BeSimple\SoapClient\Tests\ServerInterop\Fixtures\uploadFileResponse; -use BeSimple\SoapClient\Tests\ServerInterop\Fixtures\downloadFile; -use BeSimple\SoapClient\Tests\ServerInterop\Fixtures\downloadFileResponse; - use BeSimple\SoapClient\Tests\ServerInterop\TestCase; +use BeSimple\SoapCommon\Helper as BeSimpleSoapHelper; + $options = array( 'soap_version' => SOAP_1_1, 'features' => SOAP_SINGLE_ELEMENT_ARRAYS, // make sure that result is array for size=1 diff --git a/src/BeSimple/SoapClient/Tests/ServerInterop/SwaServerInteropTest.php b/src/BeSimple/SoapClient/Tests/ServerInterop/SwaServerInteropTest.php index 01eaeaef..71735237 100644 --- a/src/BeSimple/SoapClient/Tests/ServerInterop/SwaServerInteropTest.php +++ b/src/BeSimple/SoapClient/Tests/ServerInterop/SwaServerInteropTest.php @@ -1,15 +1,15 @@ SOAP_1_1, diff --git a/src/BeSimple/SoapClient/Tests/ServerInterop/WsSecuritySigEncServerClient.php b/src/BeSimple/SoapClient/Tests/ServerInterop/WsSecuritySigEncServerClient.php index 1d529d6b..0250ac82 100644 --- a/src/BeSimple/SoapClient/Tests/ServerInterop/WsSecuritySigEncServerClient.php +++ b/src/BeSimple/SoapClient/Tests/ServerInterop/WsSecuritySigEncServerClient.php @@ -7,16 +7,16 @@ use ass\XmlSecurity\Key as XmlSecurityKey; use BeSimple\SoapClient\SoapClient as BeSimpleSoapClient; -use BeSimple\SoapClient\WsSecurityFilter as BeSimpleWsSecurityFilter; -use BeSimple\SoapCommon\WsSecurityKey as BeSimpleWsSecurityKey; +use BeSimple\SoapClient\Tests\ServerInterop\Fixtures\addBook; +use BeSimple\SoapClient\Tests\ServerInterop\Fixtures\addBookResponse; +use BeSimple\SoapClient\Tests\ServerInterop\Fixtures\BookInformation; use BeSimple\SoapClient\Tests\ServerInterop\Fixtures\getBook; use BeSimple\SoapClient\Tests\ServerInterop\Fixtures\getBookResponse; use BeSimple\SoapClient\Tests\ServerInterop\Fixtures\getBooksByType; use BeSimple\SoapClient\Tests\ServerInterop\Fixtures\getBooksByTypeResponse; -use BeSimple\SoapClient\Tests\ServerInterop\Fixtures\addBook; -use BeSimple\SoapClient\Tests\ServerInterop\Fixtures\addBookResponse; -use BeSimple\SoapClient\Tests\ServerInterop\Fixtures\BookInformation; +use BeSimple\SoapClient\WsSecurityFilter as BeSimpleWsSecurityFilter; +use BeSimple\SoapCommon\WsSecurityKey as BeSimpleWsSecurityKey; $options = array( 'soap_version' => SOAP_1_2, diff --git a/src/BeSimple/SoapClient/Tests/ServerInterop/WsSecuritySigEncServerInteropTest.php b/src/BeSimple/SoapClient/Tests/ServerInterop/WsSecuritySigEncServerInteropTest.php index 8978fd62..c323a94c 100644 --- a/src/BeSimple/SoapClient/Tests/ServerInterop/WsSecuritySigEncServerInteropTest.php +++ b/src/BeSimple/SoapClient/Tests/ServerInterop/WsSecuritySigEncServerInteropTest.php @@ -3,18 +3,18 @@ use ass\XmlSecurity\Key as XmlSecurityKey; use BeSimple\SoapClient\SoapClient as BeSimpleSoapClient; -use BeSimple\SoapClient\WsSecurityFilter as BeSimpleWsSecurityFilter; -use BeSimple\SoapCommon\WsSecurityKey as BeSimpleWsSecurityKey; +use BeSimple\SoapClient\Tests\ServerInterop\Fixtures\addBook; +use BeSimple\SoapClient\Tests\ServerInterop\Fixtures\addBookResponse; +use BeSimple\SoapClient\Tests\ServerInterop\Fixtures\BookInformation; use BeSimple\SoapClient\Tests\ServerInterop\Fixtures\getBook; use BeSimple\SoapClient\Tests\ServerInterop\Fixtures\getBookResponse; use BeSimple\SoapClient\Tests\ServerInterop\Fixtures\getBooksByType; use BeSimple\SoapClient\Tests\ServerInterop\Fixtures\getBooksByTypeResponse; -use BeSimple\SoapClient\Tests\ServerInterop\Fixtures\addBook; -use BeSimple\SoapClient\Tests\ServerInterop\Fixtures\addBookResponse; -use BeSimple\SoapClient\Tests\ServerInterop\Fixtures\BookInformation; - use BeSimple\SoapClient\Tests\ServerInterop\TestCase; +use BeSimple\SoapClient\WsSecurityFilter as BeSimpleWsSecurityFilter; + +use BeSimple\SoapCommon\WsSecurityKey as BeSimpleWsSecurityKey; class WsSecuritySigEncServerInteropTest extends TestCase { diff --git a/src/BeSimple/SoapClient/Tests/ServerInterop/WsSecurityUserPassServer.php b/src/BeSimple/SoapClient/Tests/ServerInterop/WsSecurityUserPassServer.php index 8a2e2dc4..a6588c88 100644 --- a/src/BeSimple/SoapClient/Tests/ServerInterop/WsSecurityUserPassServer.php +++ b/src/BeSimple/SoapClient/Tests/ServerInterop/WsSecurityUserPassServer.php @@ -2,17 +2,17 @@ require '../../../../../vendor/autoload.php'; -use BeSimple\SoapCommon\Helper as BeSimpleSoapHelper; -use BeSimple\SoapServer\SoapServer as BeSimpleSoapServer; -use BeSimple\SoapServer\WsSecurityFilter as BeSimpleWsSecurityFilter; +use BeSimple\SoapClient\Tests\ServerInterop\Fixtures\addBook; +use BeSimple\SoapClient\Tests\ServerInterop\Fixtures\addBookResponse; +use BeSimple\SoapClient\Tests\ServerInterop\Fixtures\BookInformation; use BeSimple\SoapClient\Tests\ServerInterop\Fixtures\getBook; use BeSimple\SoapClient\Tests\ServerInterop\Fixtures\getBookResponse; use BeSimple\SoapClient\Tests\ServerInterop\Fixtures\getBooksByType; use BeSimple\SoapClient\Tests\ServerInterop\Fixtures\getBooksByTypeResponse; -use BeSimple\SoapClient\Tests\ServerInterop\Fixtures\addBook; -use BeSimple\SoapClient\Tests\ServerInterop\Fixtures\addBookResponse; -use BeSimple\SoapClient\Tests\ServerInterop\Fixtures\BookInformation; +use BeSimple\SoapCommon\Helper as BeSimpleSoapHelper; +use BeSimple\SoapServer\SoapServer as BeSimpleSoapServer; +use BeSimple\SoapServer\WsSecurityFilter as BeSimpleWsSecurityFilter; $options = array( 'soap_version' => SOAP_1_1, diff --git a/src/BeSimple/SoapClient/Tests/ServerInterop/WsSecurityUserPassServerClient.php b/src/BeSimple/SoapClient/Tests/ServerInterop/WsSecurityUserPassServerClient.php index 90cf5340..e3b6b83e 100644 --- a/src/BeSimple/SoapClient/Tests/ServerInterop/WsSecurityUserPassServerClient.php +++ b/src/BeSimple/SoapClient/Tests/ServerInterop/WsSecurityUserPassServerClient.php @@ -3,18 +3,18 @@ require '../../../../../vendor/autoload.php'; use BeSimple\SoapClient\SoapClient as BeSimpleSoapClient; -use BeSimple\SoapClient\WsSecurityFilter as BeSimpleWsSecurityFilter; +use BeSimple\SoapClient\Tests\ServerInterop\Fixtures\addBook; +use BeSimple\SoapClient\Tests\ServerInterop\Fixtures\addBookResponse; +use BeSimple\SoapClient\Tests\ServerInterop\Fixtures\BookInformation; use BeSimple\SoapClient\Tests\ServerInterop\Fixtures\getBook; use BeSimple\SoapClient\Tests\ServerInterop\Fixtures\getBookResponse; use BeSimple\SoapClient\Tests\ServerInterop\Fixtures\getBooksByType; use BeSimple\SoapClient\Tests\ServerInterop\Fixtures\getBooksByTypeResponse; -use BeSimple\SoapClient\Tests\ServerInterop\Fixtures\addBook; -use BeSimple\SoapClient\Tests\ServerInterop\Fixtures\addBookResponse; -use BeSimple\SoapClient\Tests\ServerInterop\Fixtures\BookInformation; - use BeSimple\SoapClient\Tests\ServerInterop\TestCase; +use BeSimple\SoapClient\WsSecurityFilter as BeSimpleWsSecurityFilter; + $options = array( 'soap_version' => SOAP_1_2, 'features' => SOAP_SINGLE_ELEMENT_ARRAYS, // make sure that result is array for size=1 diff --git a/src/BeSimple/SoapClient/Tests/ServerInterop/WsSecurityUserPassServerInteropTest.php b/src/BeSimple/SoapClient/Tests/ServerInterop/WsSecurityUserPassServerInteropTest.php index efe86b5e..2b915742 100644 --- a/src/BeSimple/SoapClient/Tests/ServerInterop/WsSecurityUserPassServerInteropTest.php +++ b/src/BeSimple/SoapClient/Tests/ServerInterop/WsSecurityUserPassServerInteropTest.php @@ -1,20 +1,20 @@ diff --git a/src/BeSimple/SoapClient/composer.json b/src/BeSimple/SoapClient/composer.json index 8687ce55..a19aa23d 100644 --- a/src/BeSimple/SoapClient/composer.json +++ b/src/BeSimple/SoapClient/composer.json @@ -28,8 +28,8 @@ }, "require-dev": { "mikey179/vfsStream": "~1.0", - "symfony/filesystem": "~2.0", - "symfony/process": "~2.3" + "symfony/filesystem": "~3.1", + "symfony/process": "~3.1" }, "autoload": { "psr-0": { "BeSimple\\SoapClient": "" } diff --git a/src/BeSimple/SoapCommon/Converter/MtomTypeConverter.php b/src/BeSimple/SoapCommon/Converter/MtomTypeConverter.php index 52ea961f..807a2bb0 100644 --- a/src/BeSimple/SoapCommon/Converter/MtomTypeConverter.php +++ b/src/BeSimple/SoapCommon/Converter/MtomTypeConverter.php @@ -12,11 +12,11 @@ namespace BeSimple\SoapCommon\Converter; +use BeSimple\SoapCommon\Converter\SoapKernelAwareInterface; +use BeSimple\SoapCommon\Converter\TypeConverterInterface; use BeSimple\SoapCommon\Helper; use BeSimple\SoapCommon\Mime\Part as MimePart; use BeSimple\SoapCommon\SoapKernel; -use BeSimple\SoapCommon\Converter\SoapKernelAwareInterface; -use BeSimple\SoapCommon\Converter\TypeConverterInterface; /** * MTOM type converter. diff --git a/src/BeSimple/SoapCommon/Converter/SwaTypeConverter.php b/src/BeSimple/SoapCommon/Converter/SwaTypeConverter.php index c199e3c6..fb3bea67 100644 --- a/src/BeSimple/SoapCommon/Converter/SwaTypeConverter.php +++ b/src/BeSimple/SoapCommon/Converter/SwaTypeConverter.php @@ -12,10 +12,10 @@ namespace BeSimple\SoapCommon\Converter; -use BeSimple\SoapCommon\Mime\Part as MimePart; -use BeSimple\SoapCommon\SoapKernel; use BeSimple\SoapCommon\Converter\SoapKernelAwareInterface; use BeSimple\SoapCommon\Converter\TypeConverterInterface; +use BeSimple\SoapCommon\Mime\Part as MimePart; +use BeSimple\SoapCommon\SoapKernel; /** * SwA type converter. diff --git a/src/BeSimple/SoapCommon/SoapKernel.php b/src/BeSimple/SoapCommon/SoapKernel.php index a6f621de..3747facd 100644 --- a/src/BeSimple/SoapCommon/SoapKernel.php +++ b/src/BeSimple/SoapCommon/SoapKernel.php @@ -15,8 +15,8 @@ use BeSimple\SoapCommon\Mime\Part as MimePart; use BeSimple\SoapCommon\SoapRequest; -use BeSimple\SoapCommon\SoapResponse; use BeSimple\SoapCommon\SoapRequestFilter; +use BeSimple\SoapCommon\SoapResponse; use BeSimple\SoapCommon\SoapResponseFilter; /** diff --git a/src/BeSimple/SoapCommon/Tests/Converter/TypeConverterCollectionTest.php b/src/BeSimple/SoapCommon/Tests/Converter/TypeConverterCollectionTest.php index 0a955cd2..733ff413 100644 --- a/src/BeSimple/SoapCommon/Tests/Converter/TypeConverterCollectionTest.php +++ b/src/BeSimple/SoapCommon/Tests/Converter/TypeConverterCollectionTest.php @@ -12,9 +12,9 @@ namespace BeSimple\SoapCommon\Tests\Converter; -use BeSimple\SoapCommon\Converter\TypeConverterCollection; use BeSimple\SoapCommon\Converter\DateTimeTypeConverter; use BeSimple\SoapCommon\Converter\DateTypeConverter; +use BeSimple\SoapCommon\Converter\TypeConverterCollection; /** * UnitTest for \BeSimple\SoapCommon\Converter\TypeConverterCollection. diff --git a/src/BeSimple/SoapCommon/Tests/WsSecurityKeyTest.php b/src/BeSimple/SoapCommon/Tests/WsSecurityKeyTest.php index 99f19df8..68b46337 100644 --- a/src/BeSimple/SoapCommon/Tests/WsSecurityKeyTest.php +++ b/src/BeSimple/SoapCommon/Tests/WsSecurityKeyTest.php @@ -12,8 +12,8 @@ namespace BeSimple\SoapCommon\Tests; -use BeSimple\SoapCommon\WsSecurityKey; use ass\XmlSecurity\Key as XmlSecurityKey; +use BeSimple\SoapCommon\WsSecurityKey; class WsSecurityKeyTest extends \PHPUnit_Framework_TestCase { diff --git a/src/BeSimple/SoapServer/SoapRequest.php b/src/BeSimple/SoapServer/SoapRequest.php index 7fae1234..d457d09a 100644 --- a/src/BeSimple/SoapServer/SoapRequest.php +++ b/src/BeSimple/SoapServer/SoapRequest.php @@ -12,8 +12,8 @@ namespace BeSimple\SoapServer; -use BeSimple\SoapCommon\SoapRequest as CommonSoapRequest; use BeSimple\SoapCommon\SoapMessage; +use BeSimple\SoapCommon\SoapRequest as CommonSoapRequest; /** * SoapRequest class for SoapClient. Provides factory function for request object. diff --git a/src/BeSimple/SoapServer/SoapResponse.php b/src/BeSimple/SoapServer/SoapResponse.php index eba70ff8..5f41b3f7 100644 --- a/src/BeSimple/SoapServer/SoapResponse.php +++ b/src/BeSimple/SoapServer/SoapResponse.php @@ -12,8 +12,8 @@ namespace BeSimple\SoapServer; -use BeSimple\SoapCommon\SoapResponse as CommonSoapResponse; use BeSimple\SoapCommon\SoapMessage; +use BeSimple\SoapCommon\SoapResponse as CommonSoapResponse; /** * SoapResponse class for SoapClient. Provides factory function for response object. diff --git a/src/BeSimple/SoapServer/SoapServer.php b/src/BeSimple/SoapServer/SoapServer.php index 9b1deedc..277fc211 100644 --- a/src/BeSimple/SoapServer/SoapServer.php +++ b/src/BeSimple/SoapServer/SoapServer.php @@ -12,9 +12,9 @@ namespace BeSimple\SoapServer; -use BeSimple\SoapCommon\Helper; use BeSimple\SoapCommon\Converter\MtomTypeConverter; use BeSimple\SoapCommon\Converter\SwaTypeConverter; +use BeSimple\SoapCommon\Helper; /** * Extended SoapServer that allows adding filters for SwA, MTOM, ... .