Section contains description of Process " CalculateBonitaService.process " .
Get and prepare input parameters for process CalculateBonita. Then send request with calculated bonita. |
Full process path: ProcessDefinitions/CalculateBonita/CalculateBonitaService.process
Name: InputParameters JMSQueueReceiver
Mapping table
Target | Source |
---|---|
/InputParameters/MonthIncrement | $InputParameters-JMSQueueReceiver/ns:ActivityOutput/Body/pfx:InputParameters/MonthIncrement |
/InputParameters/Value | $InputParameters-JMSQueueReceiver/ns:ActivityOutput/Body/pfx:InputParameters/Value |
/InputParameters/RealtyValue | $InputParameters-JMSQueueReceiver/ns:ActivityOutput/Body/pfx:InputParameters/RealtyValue |
/InputParameters/Problem | $Obligators-SOAPRequestReply/outputMessage/ns2:Obligator/ns2:Problem |
/InputParameters/Loan | $Obligators-SOAPRequestReply/outputMessage/ns2:Obligator/ns2:Value |
/InputParameters/Refund | $Obligators-SOAPRequestReply/outputMessage/ns2:Obligator/ns2:Refund + $InputParameters-JMSQueueReceiver/ns:ActivityOutput/Body/pfx:InputParameters/Refund |
Mapping tree
Mapping |
---|
InputParameters MonthIncrement = $InputParameters-JMSQueueReceiver/ns:ActivityOutput/Body/pfx:InputParameters/MonthIncrement Value = $InputParameters-JMSQueueReceiver/ns:ActivityOutput/Body/pfx:InputParameters/Value RealtyValue = $InputParameters-JMSQueueReceiver/ns:ActivityOutput/Body/pfx:InputParameters/RealtyValue Problem = $Obligators-SOAPRequestReply/outputMessage/ns2:Obligator/ns2:Problem Loan = $Obligators-SOAPRequestReply/outputMessage/ns2:Obligator/ns2:Value Refund = $Obligators-SOAPRequestReply/outputMessage/ns2:Obligator/ns2:Refund + $InputParameters-JMSQueueReceiver/ns:ActivityOutput/Body/pfx:InputParameters/Refund |
Source code
Mapping |
---|
<InputParameters xmlns:pd="http://xmlns.tibco.com/bw/process/2003" xmlns:xsl="http://www.w3.org/1999/XSL/Transform" xmlns:pfx2="http://xmlns.example.com/1171360277608/GetObligatorServiceOperationImpl" xmlns:ns="http://www.tibco.com/namespaces/tnt/plugins/jms" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/" xmlns:ns2="http://www.tibco.com/schemas/GrantingCredit/SharedConnections/Schema1.xsd" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:ns1="http://www.tibco.com/pe/DeployedVarsType" xmlns:pfx="http://www.tibco.com/xmlns/ae2xsd/2002/05/EMS/CalculateBonitaAESchema" xmlns:pfx3="http://www.tibco.com/xmlns/ae2xsd/2002/05/EMS/AESchema"> <MonthIncrement> <xsl:value-of select="$InputParameters-JMSQueueReceiver/ns:ActivityOutput/Body/pfx:InputParameters/MonthIncrement"/> </MonthIncrement> <Value> <xsl:value-of select="$InputParameters-JMSQueueReceiver/ns:ActivityOutput/Body/pfx:InputParameters/Value"/> </Value> <RealtyValue> <xsl:value-of select="$InputParameters-JMSQueueReceiver/ns:ActivityOutput/Body/pfx:InputParameters/RealtyValue"/> </RealtyValue> <Problem> <xsl:value-of select="$Obligators-SOAPRequestReply/outputMessage/ns2:Obligator/ns2:Problem"/> </Problem> <Loan> <xsl:value-of select="$Obligators-SOAPRequestReply/outputMessage/ns2:Obligator/ns2:Value"/> </Loan> <Refund> <xsl:value-of select="$Obligators-SOAPRequestReply/outputMessage/ns2:Obligator/ns2:Refund + $InputParameters-JMSQueueReceiver/ns:ActivityOutput/Body/pfx:InputParameters/Refund"/> </Refund> </InputParameters> |
Mapping table
Target | Source |
---|---|
/inputMessage/Name | $InputParameters-JMSQueueReceiver/ns:ActivityOutput/Body/pfx:InputParameters/Name |
Mapping tree
Mapping |
---|
inputMessage Name = $InputParameters-JMSQueueReceiver/ns:ActivityOutput/Body/pfx:InputParameters/Name |
Source code
Mapping |
---|
<inputMessage xmlns:pd="http://xmlns.tibco.com/bw/process/2003" xmlns:xsl="http://www.w3.org/1999/XSL/Transform" xmlns:pfx2="http://xmlns.example.com/1171360277608/GetObligatorServiceOperationImpl" xmlns:ns="http://www.tibco.com/namespaces/tnt/plugins/jms" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/" xmlns:ns2="http://www.tibco.com/schemas/GrantingCredit/SharedConnections/Schema1.xsd" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:ns1="http://www.tibco.com/pe/DeployedVarsType" xmlns:pfx="http://www.tibco.com/xmlns/ae2xsd/2002/05/EMS/CalculateBonitaAESchema" xmlns:pfx3="http://www.tibco.com/xmlns/ae2xsd/2002/05/EMS/AESchema"> <ns2:Name> <xsl:value-of select="$InputParameters-JMSQueueReceiver/ns:ActivityOutput/Body/pfx:InputParameters/Name"/> </ns2:Name> </inputMessage> |
Mapping table
Target | Source |
---|---|
/ActivityInput/OtherProperties/Part | "CalculateBonita" |
/ActivityInput/Body/PretenderBonita/[IF]<$InputParameters-JMSQueueReceiver/ns:ActivityOutput/Body/pfx:InputParameters/Name>/Name/@nil | [COPY-OF] < $InputParameters-JMSQueueReceiver/ns:ActivityOutput/Body/pfx:InputParameters/Name/@xsi:nil > |
/ActivityInput/Body/PretenderBonita/[IF]<$InputParameters-JMSQueueReceiver/ns:ActivityOutput/Body/pfx:InputParameters/Name>/Name | $InputParameters-JMSQueueReceiver/ns:ActivityOutput/Body/pfx:InputParameters/Name |
/ActivityInput/Body/PretenderBonita/Bonita | $CalculateBonita/Bonita |
Mapping tree
Mapping |
---|
ActivityInput OtherProperties Part = "CalculateBonita" Body PretenderBonita [IF] < $InputParameters-JMSQueueReceiver/ns:ActivityOutput/Body/pfx:InputParameters/Name > Name = $InputParameters-JMSQueueReceiver/ns:ActivityOutput/Body/pfx:InputParameters/Name @nil = [COPY-OF] < $InputParameters-JMSQueueReceiver/ns:ActivityOutput/Body/pfx:InputParameters/Name/@xsi:nil > Bonita = $CalculateBonita/Bonita |
Source code
Mapping |
---|
<ns:ActivityInput xmlns:pd="http://xmlns.tibco.com/bw/process/2003" xmlns:xsl="http://www.w3.org/1999/XSL/Transform" xmlns:pfx2="http://xmlns.example.com/1171360277608/GetObligatorServiceOperationImpl" xmlns:ns="http://www.tibco.com/namespaces/tnt/plugins/jms" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/" xmlns:ns2="http://www.tibco.com/schemas/GrantingCredit/SharedConnections/Schema1.xsd" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:ns1="http://www.tibco.com/pe/DeployedVarsType" xmlns:pfx="http://www.tibco.com/xmlns/ae2xsd/2002/05/EMS/CalculateBonitaAESchema" xmlns:pfx3="http://www.tibco.com/xmlns/ae2xsd/2002/05/EMS/AESchema"> <OtherProperties> <Part> <xsl:value-of select=""CalculateBonita""/> </Part> </OtherProperties> <Body> <pfx:PretenderBonita> <xsl:if test="$InputParameters-JMSQueueReceiver/ns:ActivityOutput/Body/pfx:InputParameters/Name"> <Name> <xsl:copy-of select="$InputParameters-JMSQueueReceiver/ns:ActivityOutput/Body/pfx:InputParameters/Name/@xsi:nil"/> <xsl:value-of select="$InputParameters-JMSQueueReceiver/ns:ActivityOutput/Body/pfx:InputParameters/Name"/> </Name> </xsl:if> <Bonita> <xsl:value-of select="$CalculateBonita/Bonita"/> </Bonita> </pfx:PretenderBonita> </Body> </ns:ActivityInput> |