Process for producing a component part of a railway switch or of a railway crossing in which frogs consisting of austenitic manganese steel casting are, with interposition of an intermediate piece, connected by a welding operation with rails consisting of carbon steel, characterized in that the intermediate piece is welded to the portions of the frog or of the component part of the railway crossing which are to be connected with the rails, and in that this intermediate piece consists of austenitic steel, whereupon the frog or the component part of the railway crossing is, together with the intermediate piece, heated to a temperature at which any embrittlement of the workpiece is removed, and whereupon the frog or the component part of the crossing having the intermediate piece welded thereto is rapidly cooled, and whereupon the rail is welded to the intermediate piece and subsequently the welding area is allowed to slowly cool, the intermediate piece having a smaller height than the rail and the frog or the component part of the railway crossing, and further characterized in that prior to heating the frog or component part of the railway crossing and the intermediate piece, a cladding layer forming the running surface and consisting of wear-resistant manganese steel is applied.