BeSimpleSoap/Resources/doc/tutorial
Francis Besset b4da2f727e Added besimple.soap.response service
It is highly recommended not to instantiate BeSimple\SoapBundle\Soap\SoapResponse
but to use the service besimple.soap.response

Before:

    public function helloAction($name)
    {
        return new SoapResponse("Hello ".$name);
    }

After:

    public function helloAction($name)
    {
        return $this
            ->container
            ->get('besimple.soap.response')
            ->setReturnValue("Hello ".$name)
        ;
    }
2011-08-27 22:56:51 +02:00
..
array.rst Added besimple.soap.response service 2011-08-27 22:56:51 +02:00
complex_type.rst Added besimple.soap.response service 2011-08-27 22:56:51 +02:00
header.rst Added besimple.soap.response service 2011-08-27 22:56:51 +02:00