Download the PHP package viktorprogger/php-soap-interpreter without Composer
On this page you can find all versions of the php package viktorprogger/php-soap-interpreter. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download viktorprogger/php-soap-interpreter
More information about viktorprogger/php-soap-interpreter
Files in viktorprogger/php-soap-interpreter
Package php-soap-interpreter
Short Description A PHP library for interpreting SOAP messages.
License MIT
Informations about the package php-soap-interpreter
PHP SOAP Interpreter

A PHP library for interpreting SOAP 1.1 and SOAP 1.2 messages. It can be used in WSDL or non-WSDL mode. The implementation is built on the top of PHP's SoapClient.
Requirement
PHP 5.4 --enablelibxml --enable-soap
Install
Usage
An Interpreter instance is capable of generating SOAP request messages and translating SOAP response messages. Constructor of Interpreter class is the same as SoapClient. The first parameter is wsdl, the second parameter is an array of options.
It should be noted that not all options supported by SoapClient are supported by Interpreter. The responsibility of Interpreter is to interpreting SOAP messages, whereas the unsupported options are related to debugging or HTTP transportation. The supported options by Interpreter are: location, uri, style, use, soap_version, encoding, exceptions, classmap, typemap, cache_wsdl and feature. More detailed explanations of those options can be found in SoapClient::SoapClient.
Examples
Generate SOAP request message in WSDL mode
Output:
Generate SOAP request message in non-WSDL mode
Output:
Translate SOAP response message
Output:
Relevant
- SOAP HTTP Binding: binding SOAP messages to PSR-7 HTTP messages.
- PHP Asynchronous SOAP: asynchronous SOAP clients.
Credits
Thanks the free SOAP web serivices hosted from http://www.webservicex.net. They are used for testing this library.
License
This library is released under MIT license.