普元 EOS Platform 7.5 使用webervice图元调用流程提供的createProcessInstance服务报错:Caused by: WSDoAllReceiver: Incomi

原文链接


【问题】

EOS Platform 7.5 使用webervice图元调用流程提供的createProcessInstance服务报错:

[FlowName=com.bjbus.isms.isworkflow.patchworkflow.createAndStartProcessInstance.biz][activity name=createProcessInstance][activity id=webService0][exception=java.lang.NullPointerException]
[default][2017-07-21 11:16:36,402][ERROR][com.primeton.access.client.impl.skeleton.ServiceEngine:38]
java.lang.NullPointerException
 at com.primeton.infra.wsclient.impl.WebServiceCaller.marshalHead(WebServiceCaller.java:563)
 at com.primeton.infra.wsclient.impl.WebServiceCaller.call(WebServiceCaller.java:252)
 at com.primeton.infra.wsclient.impl.CallerImpl.call(CallerImpl.java:46)
 at com.bjbus.isms.isworkflow.patchworkflow.createAndStartProcessInstance_biz.webService0(createAndStartProcessInstance_biz.java:185)
......
Caused by: WSDoAllReceiver: Incoming message does not contain required Security header
 at com.primeton.infra.wsclient.impl.WebServiceCaller.processFaultMessage(WebServiceCaller.java:837)
 at com.primeton.infra.wsclient.impl.WebServiceCaller.call(WebServiceCaller.java:314)
 at com.primeton.infra.wsclient.impl.CallerImpl.call(CallerImpl.java:46)
 at com.primeton.testnew.newcomponent.newbiz_biz.webService0(newbiz_biz.java:174)

调用方式:

 

 普元 EOS Platform 7.5 使用webervice图元调用流程提供的createProcessInstance服务报错:Caused by: WSDoAllReceiver: Incomi_第1张图片

【解答】

问题原因:是因为Governor—>BPS引擎配置—>Web服务配置,里开启了流程Web服务安全验证,如下图:

普元 EOS Platform 7.5 使用webervice图元调用流程提供的createProcessInstance服务报错:Caused by: WSDoAllReceiver: Incomi_第2张图片

解决办法:取消“启用安全验证”的勾选,重启Server,可以成功调用createProcessInstance服务,创建流程实例

你可能感兴趣的:(Primeton,EOS)