In this paper an application of Newman-Janis algorithm in spherically symmetric metrics with the functions M (u, r) and e(u, r) has been discussed. After the transformation of the metric via this algorithm, these two functions M (u, r) and e(u, r) will be transformed to depend on the three variables u, r, θ. With these functions of three variables, all the Newman-Penrose (NP) spin coefficients, the Ricci as well as the Weyl scalars have been calculated from the Cartan's structure equations. Using these NP quantities, we first give examples of rotating solutions of Einstein's field equations like Kerr-Newman, rotating Vaidya solution and rotating Vaidya-Bonnor solution. It is found that the technique developed by Wang and Wu can be used to give further examples of embedded rotating solutions, that the rotating Kerr-Newman solution can be combined smoothly with the rotating Vaidya solution to derive the Kerr-Newman-Vaidya solution, and similarly, Kerr-Newman-Vaidya-Bonnor solution of the field equations. It has also been shown that the embedded universes like Kerr-Newman de Sitter, rotating Vaidya-Bonnor-de Sitter, Kerr-Newman-Vaidya-de Sitter can be derived from the general solutions with Wang-Wu function. All rotating embedded solutions derived here can be written in Kerr-Schild forms, showing the extension of Xanthopoulos's theorem. It is also found that all the rotating solutions admit non-perfect fluids.