A method for producing a ball valve for regulating a fluid, the ball valve including a valve housing with a central part and with two connection ends, the connection ends extending away from the central part, further including a valve element arranged within the central part, wherein the valve element is arranged relative to one or more valve seats in the central part of the valve housing, and wherein the method of producing the valve housing includes the following steps:
- providing at least a first housing part and a second housing part of the valve housing, said first and second housing parts each including at least a central housing part and a connection end,
- providing a valve element shaped as a ball with at least one through-going aperture,
- arranging the first and second housing parts with the respective central part ends facing towards each other, and further arranging the ball at a position inside an inner space defined by the respective central parts, and
- welding the first and second housing parts together using a welding tool while performing an interrelated rotation about an axial rotation axis between the position of the first and second housing parts and the position of the ball and a welding laser or welding torch of the welding tool to provide a valve housing with a single welding seam arranged at the central part of the valve housing.