First simple solution sending random data to COSM vis WS API.
Gateway reading XBee Series 1 data as doubles and sending them to COSM.