Added the call to the cloud code an some basic parsing of return XML