src/XSD2PHP/src/com/mikebevz/xsd2php/wsdl/AbstractWsdl.php
protected function getClassNamespace($class)
    {
        $refl = new \ReflectionClass($class);
        
        $docs = $this->common->parseDocComments($refl->getDocComment());
        if (!array_key_exists("xmlNamespace", $docs)) {
            throw new \RuntimeException('Cannot find namespace in class description in '.$class);
        }
        return $docs['xmlNamespace'];
    }
protected function getClassNamespace($class)
    {
        $refl = new \ReflectionClass($class);
        
        $docs = $this->common->parseDocComments($refl->getDocComment());
        if (!array_key_exists("xmlNamespace", $docs)) {
            throw new \RuntimeException('Cannot find namespace in class description in '.$class);
        }
        return $docs['xmlNamespace'];
    }
Return class XML namespace taken from @xmlNamespace doc

@param string $class Class name

@return string XML namespace
@throws RuntimeException If namespace cannot be found in class DocBlock