SP2A: a Service-oriented Framework for P2P-based Grids