You need to create a cross-domain data connection that uses InfoPath Forms Services (IPFS) for the form