Releases: php-soap/psr18-transport
Releases · php-soap/psr18-transport
Version 1.7.0
Version 1.6.0
What's Changed
- Update veewee/xml requirement from ^2.2 to ^2.2 || ^3.0 by @dependabot in #17
New Contributors
- @dependabot made their first contribution in #17
Full Changelog: 1.5.0...1.6.0
Version 1.5.0
Version 1.4.0
What's Changed
- Allow psr/http-message 2 by @simoheinonen in #13
- Strip unwanted quotes from soapAction header by @veewee in #15
New Contributors
- @simoheinonen made their first contribution in #13
Full Changelog: 1.3.1...1.4.0
Release 1.3.1
Release 1.3.0
Version 1.2.1
What's Changed
Full Changelog: v1.2.0...1.2.1
v1.2.0
What's Changed
Full Changelog: v1.1.0...v1.2.0
New features
SOAP headers through HTTP middleware
use Http\Client\Common\PluginClient;
use Soap\Psr18Transport\Middleware\RemoveEmptyNodesMiddleware;
use Soap\Xml\Builder\Header\Actor;
use Soap\Xml\Builder\Header\MustUnderstand;
use Soap\Xml\Builder\SoapHeader;
$httpClient = new PluginClient(
$psr18Client,
[
new SoapHeaderMiddleware(
new SoapHeader(
$tns,
'x:Auth',
children(
namespaced_element($tns, 'x:user', value('josbos')),
namespaced_element($tns, 'x:password', value('topsecret'))
)
),
new SoapHeader($tns, 'Acting', Actor::next()),
new SoapHeader($tns, 'Understanding', new MustUnderstand())
)
]
);