【发布时间】:2018-07-11 05:34:22
【问题描述】:
你好,我是 oracle BPEL 的新手,也是 xpath 的新手,我一直卡在这个 if 条件
if (strNOREF == null || (strNOREF != null && strNOREF.trim().length() == 0))
return Response.status(HttpStatus.FORBIDDEN.value()).entity("No. Ref is empty").build();
我想知道如何翻译成 BPEL 表达式?
我用这个表达式试过这个
$inputVariable.payload/ns2:strNOREF = "" or ($inputVariable.payload/ns2:strNOREF != "" and string-length($inputVariable.payload/ns2:strNOREF) = 0)
但它最终在其他地方。我想结束我的错误消息
【问题讨论】:
-
帮帮我先生,还是找不到合适的功能
标签: oracle xpath soa bpel xpath-2.0