I'm running this JavaRPC sample program contained in the OL 4.0.2 Developer's Guide documentation:
http://localhost:8080/lps4/docs/guide/programs/rpc-javarpc-$2.lzx?lzr=dhtml
The program runs OK w/ FF2 DHTML, but fails w/ IE7 DHTML.
In IE7, clicking the "construct" button works, but the "getinfo" button returns ERROR: LzDelegate is required, got: .getInfo._handler()
So, it doesn't seem possible to access OL 4.0.2 javarpc results in IE7 w/ DHTML until this is fixed... :-(
Fix to lps/components/rpc/javarpc/library/dhtml/javarpc.js
function invoke (delegate, args, opts, secure, secureport){
if ( ! delegate instanceof LzDelegate ) {
Debug.write("ERROR: LzDelegate is required, got:", delegate);
return;
}