Hi,
we are trying to consume the HTML output generated by a server-side script that runs on a different host of the one hosting our webapp. We are making use of RPCManager using scriptInclude transport.
The request reaches the server (I see it from the log), but never completes on client side (smartclient continues to show the “contacting server” modal dialog).
Here the code
var urlSE="https://infn-se-01.ct.pi2s2.it/dpm/ct.pi2s2.it/home/cometa/prova/test.jpg?metacmd=post&metaopt=755";
function getUrlPhisic(){
RPCManager.send(null,"myCallBack(data)",{actionURL: urlSE,httpMethod:"GET",showPrompt:true,transport:"scriptInclude",useSimpleHttp:true,containsCredentials: true});
}
function myCallBack(){
isc.say("ok???"+data);
}
Looking at the developer console, I see the the RPC request doesn’t reach the SUCCESS status.
What am I doing wrong?
I cannot change even the approach, asking the webapp server to do the request on behalf of the user, because the request to the above HTTPS server needs to be authenticated with the X.509 Certificate loaded into the browser.
If we try to use a HTMLFlow to save the output, I can’t find a way to get the pane content.
Any suggestions are greatly appreciated.
Best