*/ error_reporting(-1); ini_set('display_errors', TRUE); $blz = (int) $_POST['blz']; $wsdl = 'http://www.thomas-bayer.com/axis2/services/BLZService?wsdl'; $options = array(); $options['classmap']['getBankType'] = 'RequestType'; class RequestType { public $blz; } $bank = new RequestType(); $bank->blz = $blz; $SOAPClient = new SoapClient($wsdl, $options); try { $result = $SOAPClient->getBank($bank); echo '<b>Abfrage für BLZ <i>' . $blz . '</i> Erfolgreich</b><pre>'; // print_r($result); echo ' Bank : ' . $result->details->bezeichnung . ' BIC : ' . $result->details->bic . ' PLZ, Ort : ' . $result->details->plz . ', ' . $result->details->ort; } catch (Exception $e) { echo $e->getMessage() . "\n"; } /* echo $SOAPClient->sagHallo('Tom') . "<br>\n"; $r=$SOAPClient->checkLuhn($cc); echo 'CS: stimmt' . (($r==0) ? '!' : ' nicht') . "<br>\n"; /** echo "<BR><BR>SOAP-Datenstruktur : <B>"; print_r ( $SOAPClient );