Go to file
Christian Kerl a4d69aedbc concrete WebServiceContext services are now defined by DI extension; 2011-04-08 00:45:52 +02:00
Controller added WebServiceContext class; SoapWebServiceController now uses WebServiceContext to acquire all objects needed to handle a request for a certain service; 2011-04-07 21:54:53 +02:00
Converter disabled ConverterRepository::registerTypeConverterServices(), has to be replaced with a compiler pass; 2011-04-08 00:42:20 +02:00
DependencyInjection concrete WebServiceContext services are now defined by DI extension; 2011-04-08 00:45:52 +02:00
Resources replaced old LoaderInterface with Symfony Config Component's LoaderInterface; added annotation based loader implementations; 2011-04-08 00:41:16 +02:00
ServiceBinding refactored code to better separate responsibilities 2011-02-03 01:07:08 +01:00
ServiceDefinition replaced old LoaderInterface with Symfony Config Component's LoaderInterface; added annotation based loader implementations; 2011-04-08 00:41:16 +02:00
Soap SoapServerFactory no longer depends on dumper interface 2011-04-07 21:52:59 +02: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
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
WebServiceContext.php added WebServiceContext class; SoapWebServiceController now uses WebServiceContext to acquire all objects needed to handle a request for a certain service; 2011-04-07 21:54:53 +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