Hi all,
I'm loading an jax-rs endpoint using an iFrame. I'm posting messages to the
endpoint periodically by using the iFrame. I need to get the response from
the endpoint(the end point returns a boolean) once I'm posting messages to
it. I implemented ,

var iframe = document.getElementById("opIFrame");
iframe.addEventListener("message", listener, false)

function listener(event){
            console.log('Respond From OP: ');
        }

But it is not working and I have no way to get the response from the
endpoint too. Please help me to fix this

Thanks and regards,

Hasanthi Dissanayake

Software Engineer | WSO2

E: [email protected] <[email protected]>
M :0718407133| http://wso2.com <http://wso2.com/>
_______________________________________________
Dev mailing list
[email protected]
http://wso2.org/cgi-bin/mailman/listinfo/dev

Reply via email to