PHP code example of waarneembemiddeling / bigregister-soap

1. Go to this page and download the library: Download waarneembemiddeling/bigregister-soap library. Choose the download type require.

2. Extract the ZIP file and open the index.php.

3. Add this code to the index.php.
    
        
<?php
require_once('vendor/autoload.php');

/* Start to develop here. Best regards https://php-download.com/ */

    

waarneembemiddeling / bigregister-soap example snippets



// Will return only one or none result
$service = new Wb\BigRegister\SoapClient\Service();
print_r($service->findByRegistrationNumber('19023424101'));



// Will return only one or none result
$service = new Wb\BigRegister\SoapClient\Service();
print_r($service->findByLastnameAndCity('Janssen', 'Amsterdam'));




$client = new \Wb\BigRegister\SoapClient\Client();




$client = new \Wb\BigRegister\SoapClient\Client();
$request = new \Wb\BigRegister\SoapClient\Model\ListHcpApproxRequest();
$request->RegistrationNumber = '123';
$response = $client->ListHcpApprox4($request);

// dump the response
print_r($response);




$wsdl = 'http://host.tld/myWsdl';
$options = array(
    'trace' => true
);
$client = new \Wb\BigRegister\SoapClient\Client($wsdl, $options);