protected function getOptions()
{
$options = array();
if ($this->_version === '1.1') {
$options['soap_version'] = SOAP_1_1;
} else {
if ($this->_version === '1.2') {
$options['soap_version'] = SOAP_1_2;
}
}
if (!empty($this->_actor)) {
$options['actor'] = $this->_actor;
}
if (!empty($this->_encoding)) {
$options['encoding'] = $this->_encoding;
}
if (!empty($this->_uri)) {
$options['uri'] = $this->_uri;
}
if (is_string($this->_classMap)) {
foreach (preg_split('/\\s*,\\s*/', $this->_classMap) as $className) {
$options['classmap'][$className] = $className;
}
//complex type uses the class name in the wsdl
}
return $options;
}