我是BPEL的新手并且正在努力开始。
我创建了一个简单的If / Else工作流,但在使用eclipse web services explorer测试wsdl文件时出现以下错误:
soapenv:…
SelectionFailure表示找不到正在查询的xml元素。查看您的BPEL,我假设在初始化之前正在查询输出变量。
在if / else之前初始化输出变量:
<bpel:assign validate="no" name="initialize"> <bpel:copy> <bpel:from> <bpel:literal xml:space="preserve"> <tns:Flow1Response xmlns:tns="http://Flow1"><tns:result /></tns:Flow1Response> </bpel:literal> </bpel:from> <bpel:to part="payload" variable="output" /> </bpel:copy> </bpel:assign>