WSDL Handler provides handful methods to manipulate/browse a WSDL and its schemas.
WsdlHandler uses the decorator design pattern upon DomHandler.
The source code has been originally created into the PackageGenerator project but it felt that it had the possibility to live by itself and to evolve independtly from the PackageGenerator project if necessary.
Testing using Docker
Thanks to the Docker image of phpfarm, tests can be run locally under any PHP version using the cli:
- php-7.4
First of all, you need to create your container which you can do using docker-compose by running the below command line from the root directory of the project:
$ docker-compose up -d --build
You then have a container named wsdl_handler
in which you can run composer
commands and php cli
commands such as:
# install deps in container (using update ensure it does use the composer.lock file if there is any)
$ docker exec -it wsdl_handler php-7.4 /usr/bin/composer update
# run tests in container
$ docker exec -it wsdl_handler php-7.4 -dmemory_limit=-1 vendor/bin/phpunit
Please see CONTRIBUTING for details.
Feel free to create an issue.
The MIT License (MIT). Please see License File for more information.