Do the two iPhones receive the messages?
The service-less iPhone will receive iMessages (and other notifications for other apps that register push notifications) while on Wi-Fi. You can remove the device from your iCloud account or unregister it from the iMessage and FaceTime services if you don't want this behavior.