@@ -53,7 +53,7 @@ discard block |
||
| 53 | 53 | && strlen($this->password) > 0) { |
| 54 | 54 | $xsdNamespace = "http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-secext-1.0.xsd"; |
| 55 | 55 | |
| 56 | - $usernameSoapVar = new \SoapVar( |
|
| 56 | + $usernameSoapVar = new \SoapVar( |
|
| 57 | 57 | $this->username, |
| 58 | 58 | XSD_STRING, |
| 59 | 59 | null, |
@@ -61,7 +61,7 @@ discard block |
||
| 61 | 61 | null, |
| 62 | 62 | $xsdNamespace |
| 63 | 63 | ); |
| 64 | - $passwordSoapVar = new \SoapVar( |
|
| 64 | + $passwordSoapVar = new \SoapVar( |
|
| 65 | 65 | $this->password, |
| 66 | 66 | XSD_STRING, |
| 67 | 67 | null, |
@@ -87,7 +87,7 @@ discard block |
||
| 87 | 87 | 'UsernameToken', |
| 88 | 88 | $xsdNamespace |
| 89 | 89 | ); |
| 90 | - $secHeaderValue = new \SoapVar( |
|
| 90 | + $secHeaderValue = new \SoapVar( |
|
| 91 | 91 | $wsseTokenSoapVar, |
| 92 | 92 | SOAP_ENC_OBJECT, |
| 93 | 93 | null, |
@@ -11,8 +11,8 @@ |
||
| 11 | 11 | |
| 12 | 12 | namespace AMF\WebServicesClientBundle\Rest\EventListener; |
| 13 | 13 | |
| 14 | -use AMF\WebServicesClientBundle\Rest\Event\GetResponseEvent; |
|
| 15 | 14 | use AMF\WebServicesClientBundle\Rest\Component\Response; |
| 15 | +use AMF\WebServicesClientBundle\Rest\Event\GetResponseEvent; |
|
| 16 | 16 | |
| 17 | 17 | /** |
| 18 | 18 | * Listener for http rest requests. |
@@ -78,7 +78,6 @@ |
||
| 78 | 78 | * |
| 79 | 79 | * @param ContainerInterface $container |
| 80 | 80 | * @param string $key |
| 81 | - * @param array $wsse |
|
| 82 | 81 | * |
| 83 | 82 | * @return Reference|null |
| 84 | 83 | */ |
@@ -11,11 +11,11 @@ |
||
| 11 | 11 | |
| 12 | 12 | namespace AMF\WebServicesClientBundle\DependencyInjection\Compiler; |
| 13 | 13 | |
| 14 | +use Symfony\Component\DependencyInjection\Compiler\CompilerPassInterface; |
|
| 14 | 15 | use Symfony\Component\DependencyInjection\ContainerBuilder; |
| 16 | +use Symfony\Component\DependencyInjection\ContainerInterface; |
|
| 15 | 17 | use Symfony\Component\DependencyInjection\DefinitionDecorator; |
| 16 | -use Symfony\Component\DependencyInjection\Compiler\CompilerPassInterface; |
|
| 17 | 18 | use Symfony\Component\DependencyInjection\Reference; |
| 18 | -use Symfony\Component\DependencyInjection\ContainerInterface; |
|
| 19 | 19 | |
| 20 | 20 | /** |
| 21 | 21 | * Pass of compilation to register Rest webservices. |
@@ -11,11 +11,11 @@ |
||
| 11 | 11 | |
| 12 | 12 | namespace AMF\WebServicesClientBundle\DependencyInjection\Compiler; |
| 13 | 13 | |
| 14 | +use Symfony\Component\DependencyInjection\Compiler\CompilerPassInterface; |
|
| 14 | 15 | use Symfony\Component\DependencyInjection\ContainerBuilder; |
| 16 | +use Symfony\Component\DependencyInjection\ContainerInterface; |
|
| 15 | 17 | use Symfony\Component\DependencyInjection\DefinitionDecorator; |
| 16 | -use Symfony\Component\DependencyInjection\Compiler\CompilerPassInterface; |
|
| 17 | 18 | use Symfony\Component\DependencyInjection\Reference; |
| 18 | -use Symfony\Component\DependencyInjection\ContainerInterface; |
|
| 19 | 19 | |
| 20 | 20 | /** |
| 21 | 21 | * Pass of compilation to register Soap webservices. |