GetAccountStateService
License for TIBCO Software Use Only!
Section contains description of Process " GetAccountStateService.process " .
Modification time: 2023/04/20 10:31:06
Folder description:
| Folder | Description |
|---|---|
| AccountState | This application simulate get bank account state process which using rating of client bonita. |
| /ProcessDefinitions | All process definitions |
| /ProcessDefinitions/GetAccountState | Main AccountState processes |
Process description:
| Get and prepare input parameters for process GetAccountState. Them send request with AccountState. |
Process definition:
Full process path: ProcessDefinitions/GetAccountState/GetAccountStateService.process
Diagram:

Process starter activity:
Name: UserName SOAPEventSource
-
Property Name:
UserName SOAPEventSource
- Type: com.tibco.plugin.soap.SOAPEventSource
- Resource Type: ae.activities.SOAPEventSourceUI
- Description: Get input parameters from SOAP for GetAccountState process
- Configuration:
- service = pfx:GetAccountStateServicePort
- wsdlNamespaceRoot = http://xmlns.example.com/1171610171437/GetAccountStateOperationImpl
- operation = GetAccountStateOperation
- portAddressPrefix =
- operationStyle = document
- soapUse = literal
- embedWsdlComponents = true
- embedSchemaComponents = true
- soapAction = /ProcessDefinitions/GetAccountState/GetAccountStateService
- sharedChannel = /SharedConnections/SOAPHTTPConnection.sharedhttp
Process end activity:
Name: End
Output Parameters:
Activities:
Name: AccountState SOAPSendReply
- Type: com.tibco.plugin.soap.SOAPSendReplyActivity
- Resource Type: ae.activities.SOAPSendReplyUI
- Description: Send SOAP reply with GetAccountState result
- Configuration:
- eventSource = UserName SOAPEventSource
- Input bindings:
Mapping table
Target Source /outputMessage [COPY-OF] < $GetAccountState/ns:Account > Mapping tree
outputMessage Account = [COPY-OF] < $GetAccountState/ns:Account >Source code
<outputMessage xmlns:pd="http://xmlns.tibco.com/bw/process/2003" xmlns:xsl="http://www.w3.org/1999/XSL/Transform" xmlns:ns="http://www.tibco.com/schemas/AccountState/SharedResources/Schema.xsd" xmlns:pfx="http://xmlns.example.com/1171610171437" xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/"> <xsl:copy-of select="$GetAccountState/ns:Account"/> </outputMessage>
Name: GetAccountState
- Type: com.tibco.pe.core.CallProcessActivity
- Resource Type: ae.process.subprocess
- Description: Read informations about account from xml file
- Configuration:
- Input bindings:
Mapping table
Target Source /Name $UserName-SOAPEventSource/inputMessage/ns:Name Mapping tree
Name = $UserName-SOAPEventSource/inputMessage/ns:NameSource code
<ns:Name xmlns:ns="http://www.tibco.com/schemas/AccountState/SharedResources/Schema.xsd" xmlns:pd="http://xmlns.tibco.com/bw/process/2003" xmlns:xsl="http://www.w3.org/1999/XSL/Transform" xmlns:pfx="http://xmlns.example.com/1171610171437" xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/"> <xsl:value-of select="$UserName-SOAPEventSource/inputMessage/ns:Name"/> </ns:Name>
Transitions:
-
From:
AccountState SOAPSendReply
-To:
End
- Label:
- Condition: Success
- Description:
-
From:
GetAccountState
-To:
AccountState SOAPSendReply
- Label:
- Condition: Success
- Description:
-
From:
UserName SOAPEventSource
-To:
GetAccountState
- Label:
- Condition: Success
- Description: