This paper presents a novel approach for automated generation of requirements ontology utilizing UML diagrams within service-oriented architecture (SOA), aiming to enhance software engineering processes. The proposed method consists of four conceptual layers: stakeholder requirements, service-oriented diagrams, requirement and protocol ontologies, and meta-concepts for standardization. Experimental results demonstrate improvements in completeness and automation of requirements ontology compared to traditional methods.