There are no ready-made methods to calculate the transient responseof pile foundations under a large number of structures in actualengineering, such as a frame structure embedded partially insoil under impact. The transient response of the framestructure embedded partially in soil may providea theoretical basis for designing the marine platform, oil-linetrestle and open type wharf under impact. The method of reverberation-raymatrix for frame structures embedded partially in soil is presented in thispaper. The velocity wave of the perfect and defective frame structure embeddedpartially in soil is studied with square impulses in axial, horizontal oroblique directions. It is found that the defects of pile foundations ofthe framestructure embedded partially in soil can be identified via axial velocityunder axial or oblique impulse.