Download the PHP package vaclavvanik/soap-binding without Composer
On this page you can find all versions of the php package vaclavvanik/soap-binding. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download vaclavvanik/soap-binding
More information about vaclavvanik/soap-binding
Files in vaclavvanik/soap-binding
Package soap-binding
Short Description Binding SOAP messages to PSR-7 HTTP messages
License MIT
Homepage https://github.com/vaclavvanik/soap-binding
Informations about the package soap-binding
Soap Binding
This package provides binding SOAP messages to PSR-7 HTTP messages. The main purpose of this library is to use it together with PSR-18 HTTP Client.
Install
You can install this package via composer.
This package needs PSR-17 HTTP Factories implementation. You can use e.g. Laminas Diactoros.
Usage
Binding::request() embeds SOAP request messages into PSR-7 HTTP requests.
Output:
Binding::response() embeds PSR-7 HTTP response into SOAP response object.
Send $psrRequest
created above with any PSR HTTP Client and get SOAP response.
Output:
Exceptions
- Exception\FaultRequest if error thrown during processing request.
- Exception\FaultResponse if error thrown during processing response.
- Exception\ValueError if required argument is incorrect.
Run check - coding standards and php-unit
Install dependencies:
Run check:
Changelog
Please see CHANGELOG for more information what has changed recently.
License
The MIT License (MIT). Please see License File for more information.
All versions of soap-binding with dependencies
ext-soap Version *
psr/http-factory Version ^1.0.1
psr/http-message Version ^1.0.0
vaclavvanik/soap-interpreter Version ^0.4.0