Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
[bpel-dev] question of using bpel:doXslTransform

Hi,

    My WS-BPEL process assign activity is coded as the following:
               <bpel:assign>
                    <bpel:copy>
                        <bpel:from>
                            bpel:doXslTransform("testCached.xsl", $cache,
                            "cacheItem", $input.payload)
                        </bpel:from>
                        <bpel:to>$foundCachedRequest</bpel:to>
                    </bpel:copy>
                </bpel:assign>
The code runs smoothly on Apache ODE. However, the BPEL Designer reported compilation errors:

The first argument ("testCached.xsl") to function doXslTransform in "bpel:doXslTransform("testCached.xsl", $cache, "cacheItem", $input.payload)" must be a literal (string).

The third argument ("cacheItem") to function doXslTransform in "bpel:doXslTransform("testCached.xsl", $cache, "cacheItem", $input.payload)" must be a literal (string).

This is annoying. Please give some suggestions on how to fix this.



    Best Regards


                 Lei Wang

Back to the top