Topic
3 replies Latest Post - ‏2013-10-10T07:49:09Z by Daviiid
Daviiid
Daviiid
282 Posts
ACCEPTED ANSWER

Pinned topic Result Action with MQ Backend

‏2013-10-01T08:26:41Z |

Hello

I use this styleSheet to root a soap message.

<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform" version="1.0" xmlns:dp="http://www.datapower.com/extensions" extension-element-prefixes="dp" exclude-result-prefixes="xalan dp" xmlns:xalan="http://xml.apache.org/xslt">
<xsl:template match="/">
<xsl:variable name="MultiResults">
<results mode="require-all" multiple-outputs="true">
<url>dpmq://QM_INTRA/?RequestQueue=Queue1</url>
<url>dpmq://QM_INTRA/?RequestQueue=Queue2</url>
</results>
</xsl:variable>
<dp:set-variable name="'var://context/uservars/resultURLs'" value="$MultiResults"/>
</xsl:template>
</xsl:stylesheet>
 
 

So in result action, it set Multi-Way Results Mode with Attempt All

 

It works fine when i browse QUEUE1 and QUEUE2 but i see this error in datapower log : 

mpgw (multiresults)Incomplete markup or missing document element at offset 0 of dpmq://QM_INTRA/?RequestQueue=Queue1 

mpgw (multiresults)Incomplete markup or missing document element at offset 0 of dpmq://QM_INTRA/?RequestQueue=Queue2

mpgw (multiresults)request multiresults_Policy_Request_Rule #2 results: 'generated from INPUT sent to var://context/uservars/resultURLs using HTTP method POST results stored in OUTPUT' failed: All results targets failed

Anyone has an idea?

Updated on 2013-10-01T08:32:19Z at 2013-10-01T08:32:19Z by Daviiid
  • msiebler
    msiebler
    140 Posts
    ACCEPTED ANSWER

    Re: Result Action with MQ Backend

    ‏2013-10-01T15:01:53Z  in response to Daviiid

    I am not sure if this is a supported configuration. Do you get any other warnings or errors? I would expect to see that message if there were no messages in the Q

    Do you get any errors when there are messages in the Q?

    • Daviiid
      Daviiid
      282 Posts
      ACCEPTED ANSWER

      Re: Result Action with MQ Backend

      ‏2013-10-02T07:20:38Z  in response to msiebler

      Hello

      Thanks for response.

      Why do you think it's not a supported configuration ?

      No, there no other errors and messages are correctly put to Queue. I can browse them with rfhUtil (for example)

      But, when i use a static BackEnd with dpmq://QM_INTRA/?RequestQueue=Queue2, it work without error.

  • Daviiid
    Daviiid
    282 Posts
    ACCEPTED ANSWER

    Re: Result Action with MQ Backend

    ‏2013-10-10T07:49:09Z  in response to Daviiid

    anyone has an idea ?