Wlaes international centre-back Melville has joined the Hammers as part of a swap deal that see's defender Ian Pearce join Fulham while full-back Harley has moved to Upton Park on an initial one months loan deal.
Both players went straight into West Ham's side for their 3-3 draw with Sheffield Utd at Bramall Lane on Saturday night.