Using SoftwareSerial Giving error

If you don't, then explain what it's supposed to do and what it actually does and I'm sure somebody will point out where the mistake is.

That assumes, of course, that you post ALL of your code.