Grease a 9x13 cake pan with nonstick cooking spray.
In a large bowl, whisk together the flour, sugar, and baking soda until combined.
Add the eggs and pineapple (do not drain). Stir until well combined.
Fold in the chopped walnuts.
Spread the batter into the prepared pan and bake for 35 to 40 minutes, until a toothpick inserted in the center comes out clean.
While the cake is cooling, prepare the icing by beating together the cream cheese, butter, and sugar until smooth.
When the cake is completely cool, spread the icing over the top of the cake. Sprinkle the sweetened coconut and walnuts over the top of the icing before serving.