I am using vsphere ESXi 5.1 and now want to install the web access service. I found that it is required to use vmware command line interface.
You seem to have a major misunderstanding here. This "web access service" (I guess you mean the vCenter Web Client?) has absolutely no relation or requirement to the vSphere CLI, which is just a tool for remotely executing shell commands on an ESXi host.