Topic
  • 2 replies
  • Latest Post - ‏2013-02-14T18:36:18Z by SystemAdmin
SystemAdmin
SystemAdmin
6772 Posts

Pinned topic problem getting results from a variable from a "Results Action" using async

‏2013-02-13T21:48:24Z |
In a "Client to Server rule", I have an input coming into a "Results Action" and I'm using the async option. The "Results Action" output is to a variable called dpVar_EligibilityResponse. I then have an event-sink that waits for the "Results Action".

In a "Server to Client" rule I have a stylesheet that outputs the dpVar_EligibilityResponse variable but it's coming out blank. Here's a snipped of the xslt: Any ideas? Thanks
<xsl:template match="/">

<xsl:variable name="test" select="dp:variable('var://context/dpVar_EligibilityResponse')"/>
<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:inf="http://www.pgn.com/v1/paymentextensions/inf">
<soapenv:Header/>
<xsl:copy-of select="$test"/>
</soapenv:Envelope>
</xsl:template>
Updated on 2013-02-14T18:36:18Z at 2013-02-14T18:36:18Z by SystemAdmin
  • chauhan_vin1
    chauhan_vin1
    24 Posts

    Re: problem getting results from a variable from a "Results Action" using async

    ‏2013-02-13T22:18:10Z  
    See - IBM website for Working with Context Variables - I believe they tell you to use a user-defined context and then a variable in it.

    var://context/ContextName/variable.

    storing anything on the context itself like var://context/dpVar_EligibilityResponse may not give you anything back - you might have to do var://context/dpVar_EligibilityResponse/_nodetreee or store in a custom context variable
  • SystemAdmin
    SystemAdmin
    6772 Posts

    Re: problem getting results from a variable from a "Results Action" using async

    ‏2013-02-14T18:36:18Z  
    Thanks. We found the problem, I had to suppress the backside call.