Hi,
Could you give us more details about the modules you're using when trying to send the broadcast message (protocol, model, firmware version...)?
Regarding your second problem, note that the XBee Java Library does not support the XBee WiFi modules, it only supports ZigBee, 802.15.4, DigiMesh, and Point-to-Multipoint devices.
Kind regards.