A method for radiation beam welding a first member to a second member of an electromagnetic actuator, wherein the first member on a side thereof comprises a surface portion provided with a recess, which recess is delimited by a periphery, and wherein the second member comprises a substantially continuous first surface portion complementary to the surface portion of the first member in order to close off the recess in the first member, thereby forming a cavity in a body formed by the first and second member, the second member being provided with a second surface portion opposite to the first surface portion, the method comprising:
- arranging the first and second member with respect to each other such that the first surface portion of the second member engages with the surface portion of the first member in order to close off the recess;
- providing a radiation beam for radiation beam welding;
- directing the radiation beam towards the second surface portion such that the first and second member are welded together at the periphery of the recess to form a weld having a recess side facing towards the recess, wherein a continuous transition is formed between the first and second member on the recess side of the weld.