Comparing Service-Oriented Computing and Agent-Oriented Programming towards Integration