[
https://issues.apache.org/jira/browse/ODE-562?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Tammo van Lessen resolved ODE-562.
----------------------------------
Resolution: Cannot Reproduce
Closing because we cannot reproduce and there is no user feedback. Please
reopen if the problem still exists.
> Unable to configure Correlation in Ode
> --------------------------------------
>
> Key: ODE-562
> URL: https://issues.apache.org/jira/browse/ODE-562
> Project: ODE
> Issue Type: Bug
> Components: BPEL Runtime
> Affects Versions: 1.2
> Environment: BPEL running in Ode 1.2 on Tomcat 5.5
> Reporter: Harshit Kapoor
> Fix For: 1.4
>
>
> My BPEL process is as follows
> RECEIVE REQUEST
> RESPOND TO RECEIVED MESSAGE
> INVOKE SERVICE A (Correlation ENTITY_ID pattern=out initiate=yes)
> XXX RECEIVE MESSAGE FROM SERVICE B (Correlation ENTITY_ID)
> RESPOND TO SERVICE B
> I have used appropriate XPAths in WSDL file thus correlation is being
> initialized properly, and the RECEIVE at XXX waits till a message is sent.
> The problem is that when it receives message following error is generated
> irrespective of the fact that ENTITY_ID matched or not.
> DEBUG - GeronimoLog.debug(66) | Received request message for
> ReceiveWorkflowResponse.{
> http://www.ciber.com/GEIP/SOAPOC/ReceiveWorkflowResponse.wsdl/impl}receive<http://www.ciber.com/GEIP/SOAPOC/ReceiveWorkflowResponse.wsdl/impl%7Dreceive>
> DEBUG - GeronimoLog.debug(66) | Starting transaction.
> DEBUG - GeronimoLog.debug(66) | Routed: svcQname {
> http://www.ciber.com/GEIP/SOAPOC/ReceiveWorkflowResponse.wsdl/impl}ReceiveWorkflowResponseService<http://www.ciber.com/GEIP/SOAPOC/ReceiveWorkflowResponse.wsdl/impl%7DReceiveWorkflowResponseService>-->
> BpelProcess[{
> http://www.ciber.com/GEIP/SOAPOC/AddCustomerProcess}AddCustomerProcess-252<http://www.ciber.com/GEIP/SOAPOC/AddCustomerProcess%7DAddCustomerProcess-252>
> ]
> DEBUG - GeronimoLog.debug(66) | ODE routed to operation Operation:
> name=receive
> style=REQUEST_RESPONSE,1
> Input: name=null
> Message: name={
> http://www.ciber.com/GEIP/SOAPOC/ReceiveWorkflowResponse.wsdl/impl}ReceiveWFInput<http://www.ciber.com/GEIP/SOAPOC/ReceiveWorkflowResponse.wsdl/impl%7DReceiveWFInput>
> Part: name=Request
> elementName={
> http://www.ciber.com/GEIP/SOAPOC/CanonicalContent.xsd}ENVELOPE<http://www.ciber.com/GEIP/SOAPOC/CanonicalContent.xsd%7DENVELOPE>
> Output: name=null
> Message: name={
> http://www.ciber.com/GEIP/SOAPOC/ReceiveWorkflowResponse.wsdl/impl}ReceiveWFOutput<http://www.ciber.com/GEIP/SOAPOC/ReceiveWorkflowResponse.wsdl/impl%7DReceiveWFOutput>
> Part: name=Response
> elementName={
> http://www.ciber.com/GEIP/SOAPOC/CanonicalContent.xsd}ENVELOPE<http://www.ciber.com/GEIP/SOAPOC/CanonicalContent.xsd%7DENVELOPE>from
> service {
> http://www.ciber.com/GEIP/SOAPOC/ReceiveWorkflowResponse.wsdl/impl}ReceiveWorkflowResponseService<http://www.ciber.com/GEIP/SOAPOC/ReceiveWorkflowResponse.wsdl/impl%7DReceiveWorkflowResponseService>
> DEBUG - GeronimoLog.debug(66) | Invoking ODE using MEX
> {MyRoleMex#hqejbhcnphr4523cbmfpjn [Client hqejbhcnphr4523cbmfpjm] calling {
> http://www.ciber.com/GEIP/SOAPOC/ReceiveWorkflowResponse.wsdl/impl}ReceiveWorkflowResponseService.receive(...)<http://www.ciber.com/GEIP/SOAPOC/ReceiveWorkflowResponse.wsdl/impl%7DReceiveWorkflowResponseService.receive%28...%29>
> }
> DEBUG - GeronimoLog.debug(66) | Message content: <?xml version="1.0"
> encoding="UTF-8"?>
> <message><Request><ENVELOPE><BODY><CUSTOMER
> ENTITY_ID="40102">...</CUSTOMER></BODY></ENVELOPE></Request></message>
> DEBUG - GeronimoLog.debug(66) | Routed: svcQname {
> http://www.ciber.com/GEIP/SOAPOC/ReceiveWorkflowResponse.wsdl/impl}ReceiveWorkflowResponseService<http://www.ciber.com/GEIP/SOAPOC/ReceiveWorkflowResponse.wsdl/impl%7DReceiveWorkflowResponseService>-->
> BpelProcess[{
> http://www.ciber.com/GEIP/SOAPOC/AddCustomerProcess}AddCustomerProcess-252<http://www.ciber.com/GEIP/SOAPOC/AddCustomerProcess%7DAddCustomerProcess-252>
> ]
> DEBUG - GeronimoLog.debug(66) | invoke() EPR= null ==> BpelProcess[{
> http://www.ciber.com/GEIP/SOAPOC/AddCustomerProcess}AddCustomerProcess-252<http://www.ciber.com/GEIP/SOAPOC/AddCustomerProcess%7DAddCustomerProcess-252>
> ]
> DEBUG - GeronimoLog.debug(66) | Commiting ODE MEX
> {MyRoleMex#hqejbhcnphr4523cbmfpjn [Client hqejbhcnphr4523cbmfpjm] calling {
> http://www.ciber.com/GEIP/SOAPOC/ReceiveWorkflowResponse.wsdl/impl}ReceiveWorkflowResponseService.receive(...)<http://www.ciber.com/GEIP/SOAPOC/ReceiveWorkflowResponse.wsdl/impl%7DReceiveWorkflowResponseService.receive%28...%29>
> }
> DEBUG - GeronimoLog.debug(66) | Commiting transaction.
> DEBUG - GeronimoLog.debug(66) | >>
> handleWorkEvent(jobData={type=INVOKE_INTERNAL, mexid=hqejbhcnphr4523cbmfpjn,
> pid={
> http://www.ciber.com/GEIP/SOAPOC/AddCustomerProcess}AddCustomerProcess-252<http://www.ciber.com/GEIP/SOAPOC/AddCustomerProcess%7DAddCustomerProcess-252>
> })
> DEBUG - GeronimoLog.debug(66) | InvokeInternal event for mexid
> hqejbhcnphr4523cbmfpjn
> DEBUG - GeronimoLog.debug(66) | GET MEX property
> org.apache.ode.bpel.myRoleSessionId = null
> DEBUG - GeronimoLog.debug(66) | GET MEX property
> org.apache.ode.bpel.myRoleSessionId = null
> DEBUG - GeronimoLog.debug(66) | GET MEX property
> org.apache.ode.bpel.partnerRoleSessionId = null
> ERROR - GeronimoLog.error(108) | Scheduled job failed;
> jobDetail={type=INVOKE_INTERNAL, mexid=hqejbhcnphr4523cbmfpjn, pid={
> http://www.ciber.com/GEIP/SOAPOC/AddCustomerProcess}AddCustomerProcess-252<http://www.ciber.com/GEIP/SOAPOC/AddCustomerProcess%7DAddCustomerProcess-252>
> }
> java.lang.IllegalArgumentException: Invalid arguments.
> at
> org.apache.ode.utils.CollectionUtils.makeCollection(CollectionUtils.java:54)
> at
> org.apache.ode.bpel.engine.PartnerLinkMyRoleImpl.findRoute(PartnerLinkMyRoleImpl.java:127)
> at
> org.apache.ode.bpel.engine.BpelProcess.invokeProcess(BpelProcess.java:198)
> at
> org.apache.ode.bpel.engine.BpelProcess.handleWorkEvent(BpelProcess.java:372)
> at
> org.apache.ode.bpel.engine.BpelEngineImpl.onScheduledJob(BpelEngineImpl.java:326)
> at
> org.apache.ode.bpel.engine.BpelServerImpl.onScheduledJob(BpelServerImpl.java:373)
> at
> org.apache.ode.scheduler.simple.SimpleScheduler$4$1.call(SimpleScheduler.java:337)
> at
> org.apache.ode.scheduler.simple.SimpleScheduler$4$1.call(SimpleScheduler.java:336)
> at
> org.apache.ode.scheduler.simple.SimpleScheduler.execTransaction(SimpleScheduler.java:174)
> at
> org.apache.ode.scheduler.simple.SimpleScheduler$4.call(SimpleScheduler.java:335)
> at
> org.apache.ode.scheduler.simple.SimpleScheduler$4.call(SimpleScheduler.java:332)
> at java.util.concurrent.FutureTask$Sync.innerRun(Unknown Source)
> at java.util.concurrent.FutureTask.run(Unknown Source)
> at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(Unknown
> Source)
> at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown
> Source)
> at java.lang.Thread.run(Unknown Source)
> Caused by: java.lang.NullPointerException
> at
> org.apache.ode.bpel.common.CorrelationKey.hashCode(CorrelationKey.java:156)
> at java.util.HashMap.hash(Unknown Source)
> at java.util.HashMap.put(Unknown Source)
> at java.util.HashSet.add(Unknown Source)
> at
> org.apache.ode.utils.CollectionUtils.makeCollection(CollectionUtils.java:49)
> ... 15 more
> ERROR - GeronimoLog.error(108) | Error while processing transaction,
> retrying.
> org.apache.ode.bpel.iapi.Scheduler$JobProcessorException:
> java.lang.IllegalArgumentException: Invalid arguments.
> at
> org.apache.ode.bpel.engine.BpelEngineImpl.onScheduledJob(BpelEngineImpl.java:336)
> at
> org.apache.ode.bpel.engine.BpelServerImpl.onScheduledJob(BpelServerImpl.java:373)
> at
> org.apache.ode.scheduler.simple.SimpleScheduler$4$1.call(SimpleScheduler.java:337)
> at
> org.apache.ode.scheduler.simple.SimpleScheduler$4$1.call(SimpleScheduler.java:336)
> at
> org.apache.ode.scheduler.simple.SimpleScheduler.execTransaction(SimpleScheduler.java:174)
> at
> org.apache.ode.scheduler.simple.SimpleScheduler$4.call(SimpleScheduler.java:335)
> at
> org.apache.ode.scheduler.simple.SimpleScheduler$4.call(SimpleScheduler.java:332)
> at java.util.concurrent.FutureTask$Sync.innerRun(Unknown Source)
> at java.util.concurrent.FutureTask.run(Unknown Source)
> at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(Unknown
> Source)
> at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown
> Source)
> at java.lang.Thread.run(Unknown Source)
> Caused by: java.lang.IllegalArgumentException: Invalid arguments.
> at
> org.apache.ode.utils.CollectionUtils.makeCollection(CollectionUtils.java:54)
> at
> org.apache.ode.bpel.engine.PartnerLinkMyRoleImpl.findRoute(PartnerLinkMyRoleImpl.java:127)
> at
> org.apache.ode.bpel.engine.BpelProcess.invokeProcess(BpelProcess.java:198)
> at
> org.apache.ode.bpel.engine.BpelProcess.handleWorkEvent(BpelProcess.java:372)
> at
> org.apache.ode.bpel.engine.BpelEngineImpl.onScheduledJob(BpelEngineImpl.java:326)
> ... 11 more
> Caused by: java.lang.NullPointerException
> at
> org.apache.ode.bpel.common.CorrelationKey.hashCode(CorrelationKey.java:156)
> at java.util.HashMap.hash(Unknown Source)
> at java.util.HashMap.put(Unknown Source)
> at java.util.HashSet.add(Unknown Source)
> at
> org.apache.ode.utils.CollectionUtils.makeCollection(CollectionUtils.java:49)
> ... 15 more
> ////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
> Content of BPEL File:
> ////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
> <!-- AddCustomerProcess BPEL Process [Generated by the Eclipse BPEL Designer]
> -->
> <bpel:process name="AddCustomerProcess"
> targetNamespace="http://www.ciber.com/GEIP/SOAPOC/AddCustomerProcess"
> suppressJoinFailure="yes"
> xmlns:tns="http://www.ciber.com/GEIP/SOAPOC/AddCustomerProcess"
> xmlns:bpel="http://docs.oasis-open.org/wsbpel/2.0/process/executable"
> xmlns:ns="http://xaware.org/xas/ns1/wsdl/"
> xmlns:ns0="http://www.ciber.com/GEIP/SOAPOC/CentralTransformation/Impl"
> xmlns:cc="http://www.ciber.com/geip/poc/customercare"
> xmlns:cnct="http://www.ciber.com/GEIP/SOAPOC/CanonicalContent.xsd"
> xmlns:ns1="http://www.ciber.com/GEIP/SOAPOC/CentralBusinessRule/Impl"
> xmlns:cbe="http://www.ciber.com/GEIP/SOAPOC/CustomerBusinessEntity.xsd"
> xmlns:ns2="http://www.ciber.com/GEIP/SOAPOC/SiteVerificationWorkflow.wsdl/impl"
> xmlns:xsd="http://www.w3.org/2001/XMLSchema"
> xmlns:wsdl4="http://www.ciber.com/GEIP/SOAPOC/ReceiveWorkflowResponse.wsdl/impl">
> <!-- Import the client WSDL -->
> <bpel:import
> namespace="http://www.ciber.com/GEIP/SOAPOC/ReceiveWorkflowResponse.wsdl/impl"
> location="ReceiveWorkflowResponse.wsdl"
> importType="http://schemas.xmlsoap.org/wsdl/"></bpel:import>
> <bpel:import
> namespace="http://www.ciber.com/GEIP/SOAPOC/SiteVerificationWorkflow.wsdl/impl"
> location="SiteVerificationWorkflow.wsdl"
> importType="http://schemas.xmlsoap.org/wsdl/"></bpel:import>
> <bpel:import
> namespace="http://www.ciber.com/GEIP/SOAPOC/CentralBusinessRule/Impl"
> location="CentralBusinessRuleWSDL.wsdl"
> importType="http://schemas.xmlsoap.org/wsdl/"></bpel:import>
> <bpel:import
> namespace="http://www.ciber.com/GEIP/SOAPOC/CentralTransformation/Impl"
> location="CentralTransformationWSDL.wsdl"
> importType="http://schemas.xmlsoap.org/wsdl/"></bpel:import>
> <bpel:import namespace="http://xaware.org/xas/ns1/wsdl/"
> location="AddCustomerBizDoc.wsdl"
> importType="http://schemas.xmlsoap.org/wsdl/"></bpel:import>
> <bpel:import
> namespace="http://www.ciber.com/GEIP/SOAPOC/CanonicalContent.xsd"
> location="CanonicalContent.xsd"
> importType="http://www.w3.org/2001/XMLSchema"></bpel:import>
> <bpel:import location="AddCustomerProcessArtifacts.wsdl"
> namespace="http://www.ciber.com/GEIP/SOAPOC/AddCustomerProcess"
> 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:AddCustomerProcess"
> myRole="AddCustomerProcessProvider"
> />
> <bpel:partnerLink name="AddCustomerService"
> partnerLinkType="tns:AddCustomerServicePLT"
> partnerRole="AddCustomerService"></bpel:partnerLink>
> <bpel:partnerLink name="CentralTransformationService"
> partnerLinkType="tns:CentralTransformationServicePLT"
> partnerRole="CentralTransformationService"></bpel:partnerLink>
> <bpel:partnerLink name="CentralBusinessRuleService"
> partnerLinkType="tns:CentralBusinessRuleServicePLT"
> partnerRole="CentralBusinessRuleService"></bpel:partnerLink>
> <bpel:partnerLink name="SiteVerificationService"
> partnerLinkType="tns:SiteVerificationServicePLT"
> partnerRole="SiteVerificationService"></bpel:partnerLink>
>
> <bpel:partnerLink name="ReceiveWFResponseService"
> partnerLinkType="tns:ReceiveWFResponseServicePLT"
> myRole="ClientReceiveWFResponseService"></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:AddCustomerProcessRequestMessage"/>
>
> <!--
> Reference to the message that will be returned to the requester
> -->
> <bpel:variable name="output"
> messageType="tns:AddCustomerProcessResponseMessage"/>
> <bpel:variable name="AddCustomerServiceResponse"
> messageType="ns:AddCustomerService_Customer_AddCustomerBizDoc_xbdExecuteResponse"></bpel:variable>
> <bpel:variable name="AddCustomerServiceRequest"
> messageType="ns:AddCustomerService_Customer_AddCustomerBizDoc_xbdExecuteRequest"></bpel:variable>
> <bpel:variable name="CentralTransformationServiceResponse"
> messageType="ns0:Output"></bpel:variable>
> <bpel:variable name="CentralTransformationServiceRequest"
> messageType="ns0:Input"></bpel:variable>
>
>
> <bpel:variable name="CentralBusinessRuleServiceResponse"
> messageType="ns1:Output"></bpel:variable>
> <bpel:variable name="CentralBusinessRuleServiceRequest"
> messageType="ns1:Input"></bpel:variable>
>
>
> <bpel:variable name="SiteVerificationServiceResponse"
> messageType="ns2:Output"></bpel:variable>
> <bpel:variable name="SiteVerificationServiceRequest"
> messageType="ns2:Input"></bpel:variable>
> <bpel:variable name="ReceiveWFResponseServiceRequest"
> messageType="wsdl4:ReceiveWFInput"></bpel:variable>
> <bpel:variable name="ReceiveWFResponseServiceResponse"
> messageType="wsdl4:ReceiveWFOutput"></bpel:variable>
> </bpel:variables>
> <!-- =================================================================
> -->
> <!-- ORCHESTRATION LOGIC -->
> <!-- Set of activities coordinating the flow of messages across the -->
> <!-- services integrated within this business process -->
> <!-- =================================================================
> -->
> <bpel:correlationSets>
> <bpel:correlationSet name="WFCorrelationSet"
> properties="tns:WFResponseIdentifier"></bpel:correlationSet>
> </bpel:correlationSets>
> <bpel:sequence name="main">
>
> <!-- Receive input from requester.
> Note: This maps to operation defined in AddCustomerProcess.wsdl
> -->
> <bpel:receive name="receiveInput" partnerLink="client"
> portType="tns:AddCustomerProcess"
> operation="process" variable="input"
> createInstance="yes"/>
>
> <!-- Generate reply to synchronous request -->
> <bpel:assign validate="no" name="AssignCBRSReq">
> <bpel:copy>
> <bpel:from part="payload" variable="input">
> </bpel:from>
> <bpel:to part="Source"
> variable="CentralBusinessRuleServiceRequest">
> </bpel:to>
> </bpel:copy>
>
>
> </bpel:assign>
>
> <bpel:invoke name="InvokeCBRS"
> partnerLink="CentralBusinessRuleService" operation="applyRule"
> portType="ns1:RuleApplier" inputVariable="CentralBusinessRuleServiceRequest"
> outputVariable="CentralBusinessRuleServiceResponse"></bpel:invoke>
> <bpel:if
> name="If"><bpel:condition><![CDATA[$CentralBusinessRuleServiceResponse.Destination/cnct:BODY/cbe:CUSTOMER/cbe:PERSONAL_DETAILS/cbe:CREDIT_LIMIT
> = 0]]></bpel:condition>
> <bpel:sequence>
>
> <bpel:assign validate="no" name="Assign1"><bpel:copy>
> <bpel:from part="payload"
> variable="input"></bpel:from>
> <bpel:to part="payload" variable="output"></bpel:to>
> </bpel:copy>
>
> <bpel:copy>
> <bpel:from>
> <![CDATA['You will be informed by email']]>
> </bpel:from>
> <bpel:to>
>
> <![CDATA[$output.payload/cnct:RESULT_STACK/cnct:RESULT/cnct:SUCCESS/cnct:DESCRIPTION]]>
> </bpel:to>
> </bpel:copy>
> </bpel:assign>
> <bpel:reply name="Reply" partnerLink="client"
> operation="process" portType="tns:AddCustomerProcess"
> variable="output"></bpel:reply>
> <bpel:assign validate="no" name="Assign">
> <bpel:copy>
> <bpel:from part="payload"
> variable="input"></bpel:from>
> <bpel:to part="SiteDetails"
> variable="SiteVerificationServiceRequest"></bpel:to>
> </bpel:copy>
> </bpel:assign>
>
> <bpel:invoke name="Invoke"
> partnerLink="SiteVerificationService" operation="start"
> portType="ns2:SiteVerificationWorkflow"
> inputVariable="SiteVerificationServiceRequest"
> outputVariable="SiteVerificationServiceResponse">
> <bpel:correlations>
> <bpel:correlation set="WFCorrelationSet"
> initiate="yes" pattern="out"></bpel:correlation>
> </bpel:correlations>
> </bpel:invoke>
>
> <bpel:receive name="ReceiveWFResponse"
> partnerLink="ReceiveWFResponseService" operation="receive"
> portType="wsdl4:ReceiveWorkflowResponse"
> variable="ReceiveWFResponseServiceRequest">
> <bpel:correlations>
> <bpel:correlation set="WFCorrelationSet"
> initiate="no"></bpel:correlation>
> </bpel:correlations>
> </bpel:receive>
> <bpel:assign validate="no"
> name="CreateReceiveWFResponseReply">
> <bpel:copy>
> <bpel:from part="Request"
> variable="ReceiveWFResponseServiceRequest"></bpel:from>
> <bpel:to part="Response"
> variable="ReceiveWFResponseServiceResponse"></bpel:to>
> </bpel:copy>
> </bpel:assign>
> <bpel:reply name="ReceiveWFResponseReply"
> partnerLink="ReceiveWFResponseService" operation="receive"
> portType="wsdl4:ReceiveWorkflowResponse"
> variable="ReceiveWFResponseServiceResponse">
> </bpel:reply>
> <bpel:if name="If1">
>
> <bpel:condition><![CDATA[$SiteVerificationServiceResponse.Result/cnct:RESULT_STACK/cnct:RESULT/cnct:SUCCESS/cnct:DESCRIPTION!='ACCEPTED']]></bpel:condition>
> <bpel:exit name="Exit"></bpel:exit>
> </bpel:if>
>
> </bpel:sequence>
>
> </bpel:if>
> <bpel:assign validate="no" name="AssignCTSReq">
> <bpel:copy>
> <bpel:from part="payload" variable="input"></bpel:from>
> <bpel:to part="Source"
> variable="CentralTransformationServiceRequest"></bpel:to>
> </bpel:copy>
>
> <bpel:copy>
> <bpel:from>
>
> <![CDATA[$CentralBusinessRuleServiceResponse.Destination/cnct:BODY/cbe:CUSTOMER/cbe:PERSONAL_DETAILS/cbe:CREDIT_LIMIT]]>
> </bpel:from>
> <bpel:to>
>
> <![CDATA[$CentralTransformationServiceRequest.Source/cnct:BODY/cbe:CUSTOMER/cbe:PERSONAL_DETAILS/cbe:CREDIT_LIMIT]]>
> </bpel:to>
> </bpel:copy>
> </bpel:assign>
>
> <bpel:invoke name="InvokeCTS"
> partnerLink="CentralTransformationService" operation="transform"
> portType="ns0:Transformer"
> inputVariable="CentralTransformationServiceRequest"
> outputVariable="CentralTransformationServiceResponse"></bpel:invoke>
> <bpel:assign validate="no" name="AssignCustAddReq">
>
>
> <bpel:copy>
> <bpel:from part="Destination"
> variable="CentralTransformationServiceResponse"></bpel:from>
> <bpel:to part="XMLInput"
> variable="AddCustomerServiceRequest"></bpel:to>
> </bpel:copy>
>
>
> </bpel:assign>
>
> <bpel:invoke name="InvokeCustAdd" partnerLink="AddCustomerService"
> operation="Customer.AddCustomerBizDoc.xbd"
> portType="ns:AddCustomerServiceSoapPortType"
> inputVariable="AddCustomerServiceRequest"
> outputVariable="AddCustomerServiceResponse"></bpel:invoke>
> <bpel:assign validate="no" name="AssignCustAddProcResp">
> <bpel:copy>
> <bpel:from part="Response"
> variable="AddCustomerServiceResponse"></bpel:from>
> <bpel:to part="payload" variable="output"></bpel:to>
> </bpel:copy>
> </bpel:assign>
> <bpel:reply name="replyOutput"
> partnerLink="client" operation="process"
> portType="tns:AddCustomerProcess" variable="output"/>
> </bpel:sequence>
> </bpel:process>
> ////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
> Content of WSDL file
> ////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
> <?xml version="1.0" encoding="UTF-8"?>
> <definitions xmlns="http://schemas.xmlsoap.org/wsdl/"
> xmlns:cbe="http://www.ciber.com/GEIP/SOAPOC/CustomerBusinessEntity.xsd"
> xmlns:cnct="http://www.ciber.com/GEIP/SOAPOC/CanonicalContent.xsd"
> xmlns:plnk="http://docs.oasis-open.org/wsbpel/2.0/plnktype"
> xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/"
> xmlns:tns="http://www.ciber.com/GEIP/SOAPOC/AddCustomerProcess"
> xmlns:vprop="http://docs.oasis-open.org/wsbpel/2.0/varprop"
> xmlns:wsdl="http://xaware.org/xas/ns1/wsdl/"
> xmlns:wsdl1="http://www.ciber.com/GEIP/SOAPOC/CentralTransformation/Impl"
> xmlns:wsdl2="http://www.ciber.com/GEIP/SOAPOC/CentralBusinessRule/Impl"
> xmlns:wsdl3="http://www.ciber.com/GEIP/SOAPOC/SiteVerificationWorkflow.wsdl/impl"
>
> xmlns:wsdl4="http://www.ciber.com/GEIP/SOAPOC/ReceiveWorkflowResponse.wsdl/impl"
> xmlns:xsd="http://www.w3.org/2001/XMLSchema" name="AddCustomerProcess"
> targetNamespace="http://www.ciber.com/GEIP/SOAPOC/AddCustomerProcess">
> <!-- ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
> TYPE DEFINITION - List of types participating in this BPEL process
> The BPEL Designer will generate default request and response types
> but you can define or import any XML Schema type and use them as part
> of the message types.
> ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
> -->
> <plnk:partnerLinkType name="AddCustomerServicePLT">
> <plnk:role name="AddCustomerService"
> portType="wsdl:AddCustomerServiceSoapPortType"/>
> </plnk:partnerLinkType>
> <plnk:partnerLinkType name="CentralTransformationServicePLT">
> <plnk:role name="CentralTransformationService"
> portType="wsdl1:Transformer"/>
> </plnk:partnerLinkType>
> <plnk:partnerLinkType name="CentralBusinessRuleServicePLT">
> <plnk:role name="CentralBusinessRuleService"
> portType="wsdl2:RuleApplier"/>
> </plnk:partnerLinkType>
> <plnk:partnerLinkType name="SiteVerificationServicePLT">
> <plnk:role name="SiteVerificationService"
> portType="wsdl3:SiteVerificationWorkflow"/>
> </plnk:partnerLinkType>
> <vprop:property name="WFResponseIdentifier" type="xsd:string"/>
> <vprop:propertyAlias messageType="wsdl3:Input" part="SiteDetails"
> propertyName="tns:WFResponseIdentifier">
> <vprop:query><![CDATA[/cnct:BODY/cbe:CUSTOMER/@ENTITY_ID]]></vprop:query>
> </vprop:propertyAlias>
> <vprop:propertyAlias messageType="wsdl4:ReceiveWFInput" part="Request"
> propertyName="tns:WFResponseIdentifier">
> <vprop:query><![CDATA[/cnct:BODY/cbe:CUSTOMER/@ENTITY_ID]]></vprop:query>
> </vprop:propertyAlias>
> <plnk:partnerLinkType name="ReceiveWFResponseServicePLT">
> <plnk:role name="ClientReceiveWFResponseService"
> portType="wsdl4:ReceiveWorkflowResponse"/>
> </plnk:partnerLinkType>
> <import location="AddCustomerBizDoc.wsdl"
> namespace="http://xaware.org/xas/ns1/wsdl/"/>
> <import location="CentralTransformationWSDL.wsdl"
> namespace="http://www.ciber.com/GEIP/SOAPOC/CentralTransformation/Impl"/>
> <import location="CentralBusinessRuleWSDL.wsdl"
> namespace="http://www.ciber.com/GEIP/SOAPOC/CentralBusinessRule/Impl"/>
> <import location="SiteVerificationWorkflow.wsdl"
> namespace="http://www.ciber.com/GEIP/SOAPOC/SiteVerificationWorkflow.wsdl/impl"/>
> <import location="ReceiveWorkflowResponse.wsdl"
> namespace="http://www.ciber.com/GEIP/SOAPOC/ReceiveWorkflowResponse.wsdl/impl"/>
> <types>
> <schema xmlns="http://www.w3.org/2001/XMLSchema"
> attributeFormDefault="unqualified" elementFormDefault="qualified"
> targetNamespace="http://www.ciber.com/GEIP/SOAPOC/AddCustomerProcess">
> <import
> namespace="http://www.ciber.com/GEIP/SOAPOC/CanonicalContent.xsd"
> schemaLocation="CanonicalContent.xsd"/>
> <!--
> <element name="AddCustomerProcessRequest">
> <complexType>
> <sequence>
> <element name="input" type="string"/>
> </sequence>
> </complexType>
> </element>
> <element name="AddCustomerProcessResponse">
> <complexType>
> <sequence>
> <element name="result" type="string"/>
> </sequence>
> </complexType>
> </element> -->
> </schema>
> </types>
> <!-- ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
> MESSAGE TYPE DEFINITION - Definition of the message types used as
> part of the port type defintions
> ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
> -->
> <message name="AddCustomerProcessRequestMessage">
> <part element="cnct:ENVELOPE" name="payload"/>
> </message>
> <message name="AddCustomerProcessResponseMessage">
> <part element="cnct:ENVELOPE" name="payload"/>
> </message>
> <!-- ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
> PORT TYPE DEFINITION - A port type groups a set of operations into
> a logical service unit.
> ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
> -->
> <!-- portType implemented by the AddCustomerProcess BPEL process -->
> <portType name="AddCustomerProcess">
> <operation name="process">
> <input message="tns:AddCustomerProcessRequestMessage"/>
> <output message="tns:AddCustomerProcessResponseMessage"/>
> </operation>
> </portType>
>
> <!-- ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
> PARTNER LINK TYPE DEFINITION
> ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
> -->
> <plnk:partnerLinkType name="AddCustomerProcess">
> <plnk:role name="AddCustomerProcessProvider"
> portType="tns:AddCustomerProcess"/>
> </plnk:partnerLinkType>
>
> <binding name="AddCustomerProcessBinding" type="tns:AddCustomerProcess">
> <soap:binding style="document"
> transport="http://schemas.xmlsoap.org/soap/http"/>
> <operation name="process">
> <soap:operation
> soapAction="http://www.ciber.com/GEIP/SOAPOC/AddCustomerProcess/process"/>
> <input>
> <soap:body use="literal"/>
> </input>
> <output>
> <soap:body use="literal"/>
> </output>
> </operation>
> </binding>
> <service name="AddCustomerProcess">
> <port binding="tns:AddCustomerProcessBinding"
> name="AddCustomerProcessPort">
> <soap:address
> location="http://localhost:4001/ode/processes/AddCustomerProcess"/>
> </port>
> </service>
> </definitions>
> -Harshit
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira