From 370147653cc0773e156df40cef789ba7e132da30 Mon Sep 17 00:00:00 2001 From: Christian Kerl Date: Fri, 8 Oct 2010 17:42:42 +0200 Subject: [PATCH] updated README --- README.markdown | 21 +++++++++++++++++++++ 1 file changed, 21 insertions(+) diff --git a/README.markdown b/README.markdown index 0f2c87d..5bf024f 100644 --- a/README.markdown +++ b/README.markdown @@ -4,4 +4,25 @@ WebServiceBundle The WebServiceBundle is a Symfony2 bundle to build WSDL and SOAP based web services. It is based on the [ckWebServicePlugin] [1] for symfony. +Installation +------------ + +Put WebServiceBundle in your `src/Bundle` dir. Enable PHP's `SOAP` extension. + +Create a new front controller script (like `index.php`) for your web service endpoint, e.g. `webservice.php`. +Change the environment passed to the kernel constructor, e.g. to `soap`, in this new front controller script. + +Configure the WebServiceBundle in the configuration file for this new environment (e.g. `config_soap.yml`): + + webservice.config: + definition: + name: MyWebService + binding: + style: rpc-literal + +Test +---- + + phpunit -c myapp src/Bundle/WebServiceBundle + [1]: http://www.symfony-project.org/plugins/ckWebServicePlugin \ No newline at end of file