A proof of concept SOAP server based on the Slim Framework. Features automated WSDL generation and integrated service documentation.
docker-compose build
docker-compose run --rm php-fpm composer install
Start the application with:
docker-compose up -d
Open http://127.0.0.1:8080 in your browser.
You can set the HTTP_PORT
environment variable to a different port number if
the default conflicts with some other service.
The classes that are being exposed as SOAP services or types need to have complete PHPDoc docblocks (native PHP typehints are not enough). This is required for the WSDL generation to work correctly. For details, see Class autodiscovery and Adding complex type information.
Run tests with:
docker-compose run --rm php-fpm composer test