works on ActiveBPEL, why not on OracleBPM?
505676Oct 5 2006 — edited Oct 20 2006I have a simple bpel process that calls only one webservice. The service is hosted on my machine. I can call it when I deploy BPEL process to ActiveBPEL but when that exact same BPEL is deployed to OracleBPM; the process times out and I don't get any log either. I get 'Cannot find the specified instance' error. :(
I wish there was a way to attach files in this forum. I am copying my BPEL file here since it is small anyway but cannot paste WSDL.
-------------------------------------------------------------------------------------------------------------------
<?xml version="1.0"?>
<!--
BPEL Process Definition
Edited using ActiveWebflow(tm) Professional Designer Version 1.6.0 (http://www.active-endpoints.com)
-->
<process name="ServiceFlow" targetNamespace="http://ServiceFlow/0" suppressJoinFailure="yes" xmlns:tns="http://ServiceFlow/0" xmlns="http://schemas.xmlsoap.org/ws/2003/03/business-process/" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:evt="http://www.eclipse.org/alf/XMLSchema/Events.xsd" xmlns:nsttwebservices="http://localhost:80/gsoap/ttwebservices.wsdl" xmlns:schemattwebservices="urn:ttwebservices">
<!-- ================================================================= -->
<!-- PARTNERLINKS -->
<!-- List of services participating in this BPEL process -->
<!-- ================================================================= -->
<partnerLinks>
<!-- The 'client' role represents the requester of this service. -->
<partnerLink name="ServiceFlowClient" partnerLinkType="tns:AlfServiceFlow" myRole="AlfServiceFlowProvider"/>
<partnerLink name="ttwebservicesPartnerLink" partnerLinkType="nsttwebservices:ttwebservicesPartnerLinkType" partnerRole="ttwebservicesProvider"/>
</partnerLinks>
<!-- ================================================================= -->
<!-- VARIABLES -->
<!-- List of messages and XML documents used within this BPEL process -->
<!-- ================================================================= -->
<variables>
<!-- Reference to the message passed as input during initiation -->
<variable name="input" messageType="tns:AlfServiceFlowRequestMessage"/>
<!--
Reference to the message that will be returned to the requester
-->
<variable name="output" messageType="tns:AlfServiceFlowResponseMessage"/>
<!-- Variables generated by Studio -->
<variable name="GetItem" messageType="nsttwebservices:GetItem"/>
<variable name="GetItemResponse" messageType="nsttwebservices:GetItemResponse"/>
</variables>
<sequence name="SerenaSequence">
<receive createInstance="yes" operation="process" partnerLink="ServiceFlowClient" portType="tns:AlfServiceFlow" variable="input"/>
<assign name="InitVars">
<!-- InitVars generated by Studio -->
<copy>
<from>
<ServiceFlowResponse xmlns="http://ServiceFlow/0">
<result>
<EventData/>
<EventWasReceived/>
</result>
</ServiceFlowResponse>
</from>
<to variable="output" part="payload"/>
</copy>
</assign>
<!-- Activities generated by Studio -->
<!-- Final Reply activity generated by Studio -->
<assign>
<copy>
<from variable="input" part="payload" query="/evt:ALFEvent/evt:ToolExtensionData/evt:itemID"/>
<to variable="GetItem" part="parameters" query="/schemattwebservices:GetItem/schemattwebservices:itemID"/>
</copy>
</assign>
<assign>
<copy>
<from variable="input" part="payload" query="/evt:ALFEvent/evt:ToolExtensionData/evt:userID"/>
<to variable="GetItem" part="parameters" query="/schemattwebservices:GetItem/schemattwebservices:auth/schemattwebservices:userId"/>
</copy>
</assign>
<invoke name="GetItem" operation="GetItem" inputVariable="GetItem" outputVariable="GetItemResponse" portType="nsttwebservices:ttwebservicesPortType" partnerLink="ttwebservicesPartnerLink"/>
<reply operation="process" partnerLink="ServiceFlowClient" portType="tns:AlfServiceFlow" variable="output"/>
</sequence>
</process>
----------------------------------------- PartnerLinkType ------------------------------------------------
<wsdl:definitions name="ttwebservicesplt" targetNamespace="http://localhost:80/gsoap/ttwebservices.wsdl" xmlns:bpws="http://schemas.xmlsoap.org/ws/2003/03/business-process/" xmlns:plnk="http://schemas.xmlsoap.org/ws/2003/05/partner-link/" xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/" xmlns:tns="http://localhost:80/gsoap/ttwebservices.wsdl">
<wsdl:import namespace="http://localhost:80/gsoap/ttwebservices.wsdl" location="http://localhost:8080/wsdl/ttwebservices.wsdl" />
<plnk:partnerLinkType name="ttwebservicesPartnerLinkType">
<plnk:role name="ttwebservicesProvider">
<plnk:portType name="tns:ttwebservicesPortType" />
</plnk:role>
</plnk:partnerLinkType>
</wsdl:definitions>
------------------------------------------------------------------------------------------------------------------
Any help will be greatly appreciated.
Thank you,
Meghana