public function getType() { if ($this->isComplexType) { if (WsdlType::isArrayTypeClass($this->type)) { return "tns:" . WsdlType::getArrayComplexTypeName($this->type); } return "tns:" . $this->type; } return "xsd:" . $this->type; }