RetrieveResource

Section contains description of Process " RetrieveResource.process " .

Folder description:

Folder Description
CalculateBonita Design Time Library which serves for calculating pretender bonita. This library using EMS for communication.
/ProcessDefinitions All process definitions
/ProcessDefinitions/GetObligator Processes for obtaining informations about loan of obligator.

Process description:

Process for retrieve concrete WSDL resource.

Process definition:

Full process path: ProcessDefinitions/GetObligator/RetrieveResource.process

Diagram:

HTTP Receiver End Send HTTP Response RetrieveResources From: HTTP Receiver To: RetrieveResources From: RetrieveResources To: Send HTTP Response From: Send HTTP Response To: End

Process starter activity:

Name: HTTP Receiver

  • Property Name: HTTP Receiver
    • Type: com.tibco.plugin.http.HTTPEventSource
    • Resource Type: httppalette.httpEventSource
    • Description: Receive HTTP request on WSDL resource
    • Configuration:
      • outputMode = String
      • defaultEncoding = ISO8859_1
      • inputOutputVersion = 5.3.0
      • newMimeSupport = true
      • sharedChannel = /SharedConnections/CalculateBonitaSOAPHTTPConnection.sharedhttp
      • Headers
        • + root (Complex Type, required )
          • - Accept(xsd:string,optional)
          • - Accept-Charset(xsd:string,optional)
          • - Accept-Encoding(xsd:string,optional)
          • - Content-Type(xsd:string,optional)
          • - Content-Length(xsd:string,optional)
          • - Connection(xsd:string,optional)
          • - Cookie(xsd:string,optional)
          • - Pragma(xsd:string,optional)

Process end activity:

Name: End

Activities:

Name: RetrieveResources

  • Type: com.tibco.plugin.soap.urlaccess.RetrieveResource
  • Resource Type: ae.activities.RetrieveResource
  • Description: Retrieve WSDL resources
  • Input bindings:
    • Mapping table

      Target Source
      /inputClass/resourcePath $HTTP-Receiver/ProcessStarterOutput/RequestURI
      /inputClass/[IF]<$HTTP-Receiver/ProcessStarterOutput/QueryString>/filter $HTTP-Receiver/ProcessStarterOutput/QueryString
    • Mapping tree

      Mapping
      inputClass
       resourcePath = $HTTP-Receiver/ProcessStarterOutput/RequestURI
       [IF] < $HTTP-Receiver/ProcessStarterOutput/QueryString >
        filter = $HTTP-Receiver/ProcessStarterOutput/QueryString
    • Source code

      Mapping
                  <inputClass xmlns:pd="http://xmlns.tibco.com/bw/process/2003" xmlns:xsl="http://www.w3.org/1999/XSL/Transform" xmlns:xsd="http://www.w3.org/2001/XMLSchema">
                      <resourcePath>
                          <xsl:value-of select="$HTTP-Receiver/ProcessStarterOutput/RequestURI"/>
                      </resourcePath>
                      <xsl:if test="$HTTP-Receiver/ProcessStarterOutput/QueryString">
                          <filter>
                              <xsl:value-of select="$HTTP-Receiver/ProcessStarterOutput/QueryString"/>
                          </filter>
                      </xsl:if>
                  </inputClass>
              

Name: Send HTTP Response

  • Type: com.tibco.plugin.http.HTTPResponseActivity
  • Resource Type: httppalette.httpWebResponse
  • Description: Send HTTP response with WSDL resource
  • Configuration:
    • closeConnection = true
    • eventSource = HTTP Receiver
    • Headers
      • + root (Complex Type, required )
        • - StatusLine(xsd:string,optional)
        • - Content-Type(xsd:string,optional)
        • - Set-Cookie(xsd:string,optional)
        • - Pragma(xsd:string,optional)
        • - Location(xsd:string,optional)
  • Input bindings:
    • Mapping table

      Target Source
      /ResponseActivityInput/asciiContent $RetrieveResources/outputClass/resourceData
    • Mapping tree

      Mapping
      ResponseActivityInput
       asciiContent = $RetrieveResources/outputClass/resourceData
    • Source code

      Mapping
                  <ResponseActivityInput xmlns:pd="http://xmlns.tibco.com/bw/process/2003" xmlns:xsl="http://www.w3.org/1999/XSL/Transform" xmlns:xsd="http://www.w3.org/2001/XMLSchema">
                      <asciiContent>
                          <xsl:value-of select="$RetrieveResources/outputClass/resourceData"/>
                      </asciiContent>
                  </ResponseActivityInput>
              

Transitions:

  • From: HTTP Receiver -To: RetrieveResources
    • Label:
    • Condition: Success
    • Description:
  • From: RetrieveResources -To: Send HTTP Response
    • Label:
    • Condition: Success
    • Description:
  • From: Send HTTP Response -To: End
    • Label:
    • Condition: Success
    • Description: