Merge remote-tracking branch 'origin/master' into request_headers

Conflicts:
	DependencyInjection/BeSimpleSoapExtension.php
	Resources/config/webservice.xml
	WebServiceContext.php
This commit is contained in:
Francis Besset
2011-08-14 21:16:11 +02:00
4 changed files with 21 additions and 32 deletions

View File

@ -15,12 +15,12 @@ Controller
class DemoController extends ContainerAware
{
/**
* @Soap\Method("isString")
* @Soap\Param("strings", phpType = "string[]")
* @Soap\Result(phpType = "boolean")
* @Soap\Method("hello")
* @Soap\Param("names", phpType = "string[]")
* @Soap\Result(phpType = "string")
*/
public function helloAction(array $strings)
public function helloAction(array $names)
{
return new SoapResponse(true);
return new SoapResponse("Hello ".implode(', ', $names));
}
}