Go to file
Christian Kerl 0f29e64f74 added empty configuration definition 2011-03-26 16:43:41 +01:00
Controller removed ServiceConfigurationFactory 2011-03-26 16:22:56 +01:00
Converter refactored code to better separate responsibilities 2011-02-03 01:07:08 +01:00
DependencyInjection added empty configuration definition 2011-03-26 16:43:41 +01:00
Resources/config updated service configuration 2011-03-26 16:23:44 +01:00
ServiceBinding refactored code to better separate responsibilities 2011-02-03 01:07:08 +01:00
ServiceDefinition added namespace to service definition; 2011-02-03 01:04:12 +01:00
Soap started refactoring SoapKernel to SoapWebServiceController, so Symfony2 kernel is no longer overridden and no special front controller scripts or environments are required 2011-03-25 20:10:28 +01:00
Tests refactored code to better separate responsibilities 2011-02-03 01:07:08 +01:00
Util refactored code to better separate responsibilities 2011-02-03 01:07:08 +01:00
LICENSE added LICENSE and README files 2010-10-03 17:26:14 +02:00
README.markdown updated README 2010-10-08 17:42:42 +02:00
WebServiceBundle.php implemented basic SoapKernel to transform a SoapRequest to a SoapResponse 2010-10-05 21:44:30 +02:00

README.markdown

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