Declaring an instance of SoftwareSerial, and then not calling the begin() method on that instance, or using the instance's available(), read(), print(), or write() methods doesn't seem useful.
How is the XBee connected to the Arduino? What is connected to the other XBee?
The proper ratio of answers to questions is at least one to one. Anything less than that means that communication is not happening. Greater than one to one is good. Try again.