public function __construct(ClientFactoryInterface $clientFactory, $wsdl, array $soapOptions = [])
{
$this->classMaps = new ClassMapCollection();
$this->converters = new TypeConverterCollection();
$this->dispatcher = new EventDispatcher();
$this->clientFactory = $clientFactory;
$this->wsdl = $wsdl;
$this->soapOptions = $soapOptions;
// Add default converters:
$this->addTypeConverter(new TypeConverter\DateTimeTypeConverter());
$this->addTypeConverter(new TypeConverter\DateTypeConverter());
}