Skip to content

Releases: php-soap/wsdl

v1.2.0

28 Jan 10:34
v1.2.0
54af50a
Compare
Choose a tag to compare

What's Changed

Full Changelog: v1.1.0...v1.2.0

New features

FlatteningLoader

Can be used as a decorator around any other WSDL loader.
It searches for wsdl:import, xsd:import, xsd:include and xsd:redefines.
Downloads those files, groups them per schema target namespace and embeds them in a single WSDL.

use Soap\Wsdl\Loader\FlatteningLoader;
use Soap\Wsdl\Loader\StreamWrapperLoader;

$loader = new FlatteningLoader(new StreamWrapperLoader());

$contents = $loader($wsdl);

CallbackLoader

Gives you full flexibility over the loading process!

use Soap\Wsdl\Loader\CallbackLoader;

$loader = new CallbackLoader(static function (string $location) use ($loader, $style): string {
    $style->write('> Loading '.$location . '...');

    $result =  $loader($location);
    $style->writeln(' DONE!');

    return $result;
})

$contents = $loader($wsdl);

CLI tools

Download a flattened WSDL file directly

Screenshot 2022-01-28 at 10 58 56

Validate the syntax of a WSDL file

Screenshot 2022-01-28 at 10 59 29

Release 1.1.0

26 Nov 10:16
v1.1.0
8cf9c1a
Compare
Choose a tag to compare

What's Changed

  • Add XSD based WSDL and schema validators by @veewee in #2
  • PHP 8.1 Compatibility by @veewee in #3

New Contributors

  • @veewee made their first contribution in #2

Full Changelog: v1.0.0...v1.1.0

Version 1.0.0

24 Sep 06:46
v1.0.0
Compare
Choose a tag to compare