Webservice异常Javascript DWR

时间:2014-09-30 02:34:18

标签: java javascript web-services soap dwr

我试图解开网络服务工作并复制它的电话,但我一直无法做到。

this网站中,如果您输入HY6210,则会出现一个新窗口,其中已填写数据。 使用Firebug我能够确定它正在调用 this link, 但无论我在参数,标题和cookie方面做了什么,我总是得到:

throw 'allowScriptTagRemoting is false.';
//#DWR-REPLY
if (window.dwr) dwr.engine._remoteHandleBatchException({ name:'java.lang.SecurityException',         message:'Call IDs may only contain Java Identifiers' });
else if (window.parent.dwr) window.parent.dwr.engine._remoteHandleBatchException({  name:'java.lang.SecurityException', message:'Call IDs may only contain Java Identifiers' });

throw 'allowScriptTagRemoting is false.';
//#DWR-REPLY
if (window.dwr) dwr.engine._remoteHandleBatchException({name:'org.directwebremoting.extend.ServerException',    message:'The specified call count is not a number'    });
else if (window.parent.dwr) window.parent.dwr.engine._remoteHandleBatchException({ name:'org.directwebremoting.extend.ServerException', message:'The specified call count is not a number' });

关于我做错的任何想法?

1 个答案:

答案 0 :(得分:0)

假设,historyTracking是类名和getStoppageV3方法,然后您在JavaScript中传递device1变量,然后在字符串中强制转换此变量,然后使用device1.toString()

示例:

historyTracking.getStoppageV3(device1.toString()