Also you may want to try this and see if it helps the issue. On the Win 7 machine
enable NetBIOS over TCP/IP in the properties of IPv4, under the WINS tab, within the properties of your network interface card.
type services.msc into the search box and hit enter
confirm that the following services are started, consider setting the startup type to automatic
Computer Browser
Function Discovery Provider Host
Function Discovery Resource Publication
Network Connections
Network List Service
Network Location Awareness
Network Store Interface Service
Server
SSDP Discovery
TCP/IP NetBIOS Helper
Workstation
Also double check that the Win7 as well as the XP machine is not running any type of third party firewall (Comodo, ZoneAlarm, etc.) and or...