-added more error codes.

- added error code for missig parameter in json services.
- handling missing param for searchByComponent cmd.