SoapFault handling refactored: client now returns server fault codes + more details in message
This commit is contained in:
9
tests/SwaSenderSoapFaultEndpoint.php
Normal file
9
tests/SwaSenderSoapFaultEndpoint.php
Normal file
@ -0,0 +1,9 @@
|
||||
<?php
|
||||
|
||||
const FIXTURES_DIR = __DIR__.'/Fixtures';
|
||||
|
||||
$soapServer = new \SoapServer(FIXTURES_DIR.'/DummyService.wsdl');
|
||||
$soapServer->fault(
|
||||
911,
|
||||
'This is a dummy SoapFault.'
|
||||
);
|
Reference in New Issue
Block a user