请问,我发布一个bpel应用的时候,总是报错Latch error是怎么回事啊?谢谢。
Latch error, was releasing for state 1 but actually in -1
我的Test.bpel文件代码如下:
# <?xml version="1.0" encoding="UTF-8"?>
# <bpws:process exitOnStandardFault="yes" name="Test"
# suppressJoinFailure="yes"
# targetNamespace="http://sample.bpel.org/bpel/Test"
# xmlns:bpws="http://docs.oasis-open.org/wsbpel/2.0/process/executable"
# xmlns:ns="http://sample.bpel.org/bpel/TestArtifacts"
# xmlns:ns0="http://test.com" xmlns:tns="http://sample.bpel.org/bpel/Test">
# <bpws:import importType="http://schemas.xmlsoap.org/wsdl/"
# location="Test.wsdl" namespace="http://sample.bpel.org/bpel/Test"/>
# <bpws:import importType="http://schemas.xmlsoap.org/wsdl/"
# location="AddService.wsdl" namespace="http://test.com"/>
# <bpws:import importType="http://schemas.xmlsoap.org/wsdl/"
# location="TestArtifacts.wsdl" namespace="http://sample.bpel.org/bpel/TestArtifacts"/>
# <bpws:partnerLinks>
# <bpws:partnerLink myRole="TestProvider" name="client" partnerLinkType="tns:Test"/>
# <bpws:partnerLink name="PartnerLink"
# partnerLinkType="ns:addServicePLT" partnerRole="partnerRole"/>
# </bpws:partnerLinks>
# <bpws:variables>
# <bpws:variable messageType="tns:TestRequestMessage" name="input"/>
# <bpws:variable messageType="tns:TestResponseMessage" name="output"/>
# </bpws:variables>
# <bpws:sequence name="main">
# <bpws:receive createInstance="yes" name="receiveInput"
# operation="process" partnerLink="client" portType="tns:Test" variable="input"/>
# <bpws:reply name="replyOutput" operation="process"
# partnerLink="client" portType="tns:Test" variable="output"/>
# </bpws:sequence>
# </bpws:process>
partnerLinkType声明如下:
1. <plnk:partnerLinkType name="addServicePLT">
2. <plnk:role name="partnerRole" portType="wsdl:AddService"/>
3. </plnk:partnerLinkType>
4. <import location="AddService.wsdl" namespace="http://test.com"/>
------解决方案--------------------用的什么engine? 具体的log信息呢?
------解决方案--------------------log信息
------解决方案--------------------
Caused by:
java.lang.IllegalArgumentException: AddServicePL must be bound to an endpoint in deploy.xml
AddServicePL 必须在deploy.xml里面捆绑