我试图拆解一个Webservice工作,并复制它的调用,但我一直无法做到。
例如,在this网站中,如果您输入HY6210
,就会出现一个新窗口,其中已经填写了数据。使用Firebug我能够确定它正在调用this link,但无论我在参数、标头和cookies方面做什么,我总是得到以下两种情况之一:
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' });
知道我哪里做错了吗?
发布于 2015-08-01 15:26:41
假设historyTracking是类名和getStoppageV3
方法,然后在JavaScript中传递device1
变量,然后将该变量强制转换为字符串,然后使用device1.toString()
。
示例:
historyTracking.getStoppageV3(device1.toString()
https://stackoverflow.com/questions/26111865
复制相似问题