0
我的工作在Eclipse WSO2 Developer Studio中的BPEL實例,導入WSDL錯誤使用WSO2 Developer Studio中
我在3 BPEL工作流加法,減法,乘法。
現在我想打電話給那些BPEL流程 雖然我正在使用新的Bpel工作流程。
我想添加被創建的合作伙伴鏈接,但我無法調用partnerlink(即使我嘗試了加法,減法,乘法)。
我得到follwoing錯誤。
../WS_NumberAdderCarbon/AdderProcess/AdderProcessArtifacts.wsdl的進口位置不 此實現支持
我的BPEL代碼: -
<bpel:process name="AdderProcess1"
targetNamespace="http://NumberAdder.com"
suppressJoinFailure="yes"
xmlns:tns="http://NumberAdder.com"
xmlns:bpel="http://docs.oasis-open.org/wsbpel/2.0/process/executable"
>
<!-- Import the client WSDL -->
<bpel:import namespace="http://NumberAdder.com" location="../WS_NumberAdderCarbon/AdderProcess/AdderProcessArtifacts.wsdl" importType="http://schemas.xmlsoap.org/wsdl/"></bpel:import>
<bpel:import location="AdderProcess1Artifacts.wsdl" namespace="http://NumberAdder.com"
importType="http://schemas.xmlsoap.org/wsdl/" />
<!-- ================================================================= -->
<!-- PARTNERLINKS -->
<!-- List of services participating in this BPEL process -->
<!-- ================================================================= -->
<bpel:partnerLinks>
<!-- The 'client' role represents the requester of this service. -->
<bpel:partnerLink name="client"
partnerLinkType="tns:AdderProcess1"
myRole="AdderProcess1Provider"
/>
<bpel:partnerLink name="fsdf" partnerLinkType="tns:AdderProcess" partnerRole="AdderProcessProvider"></bpel:partnerLink>
<bpel:partnerLink name="getaddition" partnerLinkType="tns:AdderProcess" partnerRole="AdderProcessProvider"></bpel:partnerLink>
</bpel:partnerLinks>
<!-- ================================================================= -->
<!-- VARIABLES -->
<!-- List of messages and XML documents used within this BPEL process -->
<!-- ================================================================= -->
<bpel:variables>
<!-- Reference to the message passed as input during initiation -->
<bpel:variable name="input"
messageType="tns:AdderProcess1RequestMessage"/>
<!--
Reference to the message that will be returned to the requester
-->
<bpel:variable name="output"
messageType="tns:AdderProcess1ResponseMessage"/>
<bpel:variable name="fff" element="tns:AdderProcessRequest"></bpel:variable>
<bpel:variable name="getvvar1" element="tns:AdderProcessRequest"></bpel:variable>
<bpel:variable name="getvar2" element="tns:AdderProcessResponse"></bpel:variable>
</bpel:variables>
<!-- ================================================================= -->
<!-- ORCHESTRATION LOGIC -->
<!-- Set of activities coordinating the flow of messages across the -->
<!-- services integrated within this business process -->
<!-- ================================================================= -->
<bpel:sequence name="main">
<!-- Receive input from requester.
Note: This maps to operation defined in AdderProcess1.wsdl
-->
<bpel:receive name="receiveInput" partnerLink="client"
portType="tns:AdderProcess1"
operation="process" variable="input"
createInstance="yes"/>
<!-- Generate reply to synchronous request -->
<bpel:invoke name="Invoke" partnerLink="fsdf">
<bpel:toParts>
<bpel:toPart part="payload" fromVariable="getvar2"></bpel:toPart>
</bpel:toParts>
<bpel:fromParts>
<bpel:fromPart part="payload" toVariable="getvvar1"></bpel:fromPart>
</bpel:fromParts>
</bpel:invoke>
<bpel:reply name="replyOutput"
partnerLink="client"
portType="tns:AdderProcess1"
operation="process"
variable="output"
/>
</bpel:sequence>
</bpel:process>