Hyperevents are implemented via the XMLHTTP interface provided by
modern browsers. Essentially we pass some arguments and a url to the
XMLHTTP class and it builds a SOAP request that calls the web server.
This error is a message from the XMLHTTP interface that a soap fault
or http error was reported coming back from the web server.
This can be a network fault, a packet issue, a malformed SOAP payload,
a web server hiccup or a fault triggered by bad code in the method
being called on the server
Generally speaking I can't see why you would be calling back to the
server in an OnLoad Handler. There is nothing about what is going on
the page that has changed from the time you created it on the server.
IJust because there is js in the method does not mean anything. You
can code generate a method into the page DOM or have that JS be part
of a method defined in the page that the onload handler calls anyway.
I am not saying that is the root cause simply that I find doing a call
back to the server at that point redundant.
You could insert an HTML component into the %OnAfterCreatePage that
simply dumped out the JS into the page if that was required as an
option.
Bill McCormick
Product Manager
Development Technologies
+1 617 621 0600
bill.mc...@intersystems.com
Hi,
I get this message - even everything seems to go ok.
This is in case where I invoke ZenMethod from onloadHandler.
I'd like to invoke it from %OnAfterCreatePage, but I can't because
there is also some javascripts (&js<....>) in code.