BeSimpleSoap/tests/SwaSenderSoapFaultEndpoint.php

10 lines
181 B
PHP
Raw Permalink Normal View History

<?php
const FIXTURES_DIR = __DIR__.'/Fixtures';
$soapServer = new \SoapServer(FIXTURES_DIR.'/DummyService.wsdl');
$soapServer->fault(
911,
'This is a dummy SoapFault.'
);