itmh/wsdl-types-resolver

WSDL types resolver

v1.1.6 2016-08-17 11:22 UTC

This package is not auto-updated.

Last update: 2024-12-21 21:08:33 UTC


README

wsdl-types-resolver

Библиотека для извлечения типов функции по WSDL.

Latest Stable Version

Пример использования
$soapClient = new SoapClient('http://www.webservicex.com/globalweather.asmx?WSDL');
$resolver = new Resolver(
    (new FunctionParser($soapClient->__getFunctions()))->getFunctions(),
    (new TypeParser($soapClient->__getTypes()))->getTypes()
);
print_r($resolver->resolve('GetWeather'));
Array
(
    [arguments] => Array
        (
            [0] => Array
                (
                    [CityName] => string
                    [CountryName] => string
                )

        )

    [result] => Array
        (
            [GetWeatherResult] => string
        )

)