|
楼主 |
发表于 2017-6-7 17:28:47
|
显示全部楼层
本帖最后由 liyanqiu 于 2017-6-7 17:33 编辑
我就是用这个方法调用的,但是报错
2017-06-07 17:27:03 excute stream action, params:{"actions":[{"accept":"application/json","action":"externalAdvanceProcessAction","actionFlag":"__action_0__","activity":"businessActivity3","contentType":"application/json","executeContext":"","executor":"/82.ogn/148.ogn/560.dpt/PSN01@560.psm","parameters":{"control":{"class":"com.justep.system.process.ProcessControl","object":{"@@tag":"process-control","customized-enabled":"false","dialog-enabled":"true","jump-enabled":"false","message":"","notice":[],"postscript":"","save-history":"true","status":"none","task-join":"false","task-join-mode":"tjmMultiple","to":[{"@activity-id":"EDB86449BA9C4CC0A633559FE4BF3B0C","@id":"EDB86449BA9C4CC0A633559FE4BF3B0C","@is-end":"true","@readonly":"true","@selected":"true","executor-kinds":"","executor-range":[],"executors":[],"process":"/HECManagePlatform/consignmentOrder/process/consignmentOrder/consignmentOrderProcess","task-relation-value":{"@@tag":"task-relation-value","SA_Task":"DEB2AC2728784CD798ED614E47B66E4A","sActivityInTemplate":"end1","sActivityName":"","sLastModifyTime":"2017-06-07T17:27:02.650Z","sLock":"EF0A4A1CC9FF45AFAA28F839DC0A03CC","sProcess":"/HECManagePlatform/consignmentOrder/process/consignmentOrder/consignmentOrderProcess","sProcessName":"委托单申请","sProcessTemplateID2":"","sTypeName":"委托单申请"},"template":"","unit":"end1"}]}},"task":"2668EF654F84492CB6D7B6BA52E0EF11"},"process":"/HECManagePlatform/consignmentOrder/process/consignmentOrder/consignmentOrderProcess"}]}
java.lang.reflect.InvocationTargetException
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:497)
at com.justep.system.action.Engine.invokeActions(Native Method)
at com.justep.system.action.Engine.invokeActions(Unknown Source)
at com.justep.business.server.BusinessServer.doAction(Unknown Source)
at com.justep.business.server.BusinessServer.doExcute(Unknown Source)
at com.justep.business.server.BusinessServer.excute(Unknown Source)
at com.justep.business.server.BusinessServer.excute(Unknown Source)
at com.justep.business.server.BusinessServerServlet.execService(Unknown Source)
at com.justep.business.server.BusinessServerServlet.service(Unknown Source)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:723)
at com.justep.x.bs.BusinessServerServlet.service(Unknown Source)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:723)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:233)
at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:191)
at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:127)
at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:103)
at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)
at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:293)
at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:861)
at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:606)
at org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:489)
at java.lang.Thread.run(Thread.java:745)
Caused by: java.lang.reflect.InvocationTargetException
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:497)
at com.justep.system.action.Engine.invokeAction(Native Method)
at com.justep.system.action.Engine.invokeAction(Unknown Source)
at com.justep.model.impl.UtilImplementInstance.invokeAction(Unknown Source)
at com.justep.model.impl.UtilImplementInstance.invokeAction(Unknown Source)
at com.justep.system.action.ActionUtils.invokeAction(Unknown Source)
at com.justep.system.process.ProcessUtils.advanceProcess(Unknown Source)
at ExternalProcessProcedure.advanceProcess(ExternalProcessProcedure.java:30)
... 27 more
Caused by: com.justep.exception.BusinessException: 编码: JUSTEP151044; 提示: 编译模块"/HECManagePlatform/consignmentOrder/process/consignmentOrder"中的类"ConsignmentOrderProcess"出错
警告: [options] 未与 -source 1.5 一起设置引导类路径
警告: [options] 源值1.5已过时, 将在未来所有发行版中删除
警告: [options] 目标值1.5已过时, 将在未来所有发行版中删除
警告: [options] 要隐藏有关已过时选项的警告, 请使用 -Xlint:-options。
D:\x5_3.5\model\BIZ\HECManagePlatform\consignmentOrder\process\consignmentOrder\dsrc\ConsignmentOrderProcess.java:22: 错误: 程序包javax.xml.rpc不存在
import javax.xml.rpc.ServiceException;
^
D:\x5_3.5\model\BIZ\HECManagePlatform\consignmentOrder\process\consignmentOrder\dsrc\ConsignmentOrderProcess.java:28: 错误: 找不到符号
public static void consignmentOrderProcessAfterFinish() throws MalformedURLException, RemoteException, ServiceException {
^
符号: 类 ServiceException
位置: 类 ConsignmentOrderProcess
D:\x5_3.5\model\BIZ\HECManagePlatform\consignmentOrder\process\consignmentOrder\dsrc\ConsignmentOrderProcess.java:54: 错误: 找不到符号
public static Object invokeService(String namespace,String address,String operation,Object[] params) throws ServiceException, MalformedURLException, RemoteException{
^
符号: 类 ServiceException
位置: 类 ConsignmentOrderProcess
D:\x5_3.5\model\BIZ\HECManagePlatform\consignmentOrder\process\consignmentOrder\dsrc\ConsignmentOrderProcess.java:55: 错误: 程序包org.apache.axis.client不存在
org.apache.axis.client.Service service = new org.apache.axis.client.Service();
^
D:\x5_3.5\model\BIZ\HECManagePlatform\consignmentOrder\process\consignmentOrder\dsrc\ConsignmentOrderProcess.java:55: 错误: 程序包org.apache.axis.client不存在
org.apache.axis.client.Service service = new org.apache.axis.client.Service();
^
D:\x5_3.5\model\BIZ\HECManagePlatform\consignmentOrder\process\consignmentOrder\dsrc\ConsignmentOrderProcess.java:56: 错误: 程序包org.apache.axis.client不存在
org.apache.axis.client.Call call = (org.apache.axis.client.Call) service.createCall();
^
D:\x5_3.5\model\BIZ\HECManagePlatform\consignmentOrder\process\consignmentOrder\dsrc\ConsignmentOrderProcess.java:56: 错误: 程序包org.apache.axis.client不存在
org.apache.axis.client.Call call = (org.apache.axis.client.Call) service.createCall();
^
7 个错误
4 个警告
at com.justep.exception.BusinessException.create(Unknown Source)
at com.justep.model.impl.ModelImpl$DynamicClassManager.compile(Unknown Source)
at com.justep.model.impl.ModelImpl$DynamicClassManager.getDynamicClass(Unknown Source)
at com.justep.model.impl.ModelImpl$DynamicClassManager.getDynamicMethod(Unknown Source)
at com.justep.model.impl.ModelImpl.getModelMethod(Unknown Source)
at com.justep.system.action.Engine.invokeAction(Native Method)
at com.justep.system.action.Engine.invokeAction(Unknown Source)
at com.justep.model.impl.UtilImplementInstance.invokeAction(Unknown Source)
at com.justep.model.impl.UtilImplementInstance.invokeAction(Unknown Source)
at com.justep.system.action.ActionUtils.invokeAction(Unknown Source)
at com.justep.system.process.AdvanceProcessEngine.doFinishPIAction(Unknown Source)
at com.justep.system.process.AdvanceProcessEngine.execute(Unknown Source)
at com.justep.system.process.ProcessEngine.advance(Unknown Source)
at ProcessProcedure.advanceProcess(ProcessProcedure.java:354)
... 38 more
|
|