Aiming at fault diagnosis of axial piston pumps, a new fusion method based on the extreme-point symmetric mode decomposition method (ESMD) and random forests (RFs) was proposed. Firstly, the vibration signal of the axial piston pump was decomposed by ESMD to get several intrinsic mode functions (IMFs) and an adaptive global mean curve (AGMC) on the local side. Secondly, the total energy was selected as the data of feature extraction by analyzing the whole oscillation intensity of the signal. Thirdly, the data were preprocessed and the labels were set, and then, they were adopted as the training and testing set of machine learning samples. Lastly, the RFs model was created based on machine learning service (MLS) to diagnose the faults of the axial piston pump on the cloud. Using the test and verifying the data set for comparative testing, the fault diagnosis precision rates of the model are above 90.6%, the recall rates are more than 90.9%, the F1 score is higher than 90.7%, and the accuracy rate of this model reached 97.14%. A benchmark data simulation of mechanical transmission systems and an experimental data investigation of an axial piston pump are performed to manifest the superiority of the present method by comparing with classification and regression trees (CART) and support vector machine (SVM).