tag:blogger.com,1999:blog-5705818669612605666.post3175932366507494340..comments2024-03-29T10:00:30.038-04:00Comments on Sathya's Tech Notes: Passing BPEL variables to XSLSathya AGhttp://www.blogger.com/profile/17711711259619024371noreply@blogger.comBlogger10125tag:blogger.com,1999:blog-5705818669612605666.post-87570630300091827832013-05-22T04:19:26.512-04:002013-05-22T04:19:26.512-04:00It's a bug in Jdeveloper. Don't edit it in...It's a bug in Jdeveloper. Don't edit it in the visual editor but directly in the code.Unknownhttps://www.blogger.com/profile/04398499069640389106noreply@blogger.comtag:blogger.com,1999:blog-5705818669612605666.post-68989491068757031012011-01-17T07:12:56.241-05:002011-01-17T07:12:56.241-05:00In your XSL map, just add the following construct
...In your XSL map, just add the following construct<br /><br /><xsl:param name="var1"/><br /><xsl:param name="var1"/><br /><br />[Note that var1 & var2 here refer to the two nodes that you pass from BPEL]<br /><br />Then you can access these within your XSLT, just like any other XSL variable; <br /><br /><xsl:value-of select="$var1"/>Sathya AGhttps://www.blogger.com/profile/17711711259619024371noreply@blogger.comtag:blogger.com,1999:blog-5705818669612605666.post-8063111238405439552011-01-17T07:08:22.430-05:002011-01-17T07:08:22.430-05:00This comment has been removed by the author.Sathya AGhttps://www.blogger.com/profile/17711711259619024371noreply@blogger.comtag:blogger.com,1999:blog-5705818669612605666.post-8736048183954598062011-01-14T13:33:49.912-05:002011-01-14T13:33:49.912-05:00my parameter has 2 child nodes, how do i call thos...my parameter has 2 child nodes, how do i call those child nodes within the xslt?Anonymousnoreply@blogger.comtag:blogger.com,1999:blog-5705818669612605666.post-8345202703111997682010-04-11T15:48:05.275-04:002010-04-11T15:48:05.275-04:00Yeah... I think it should be a problem with the Tr...Yeah... I think it should be a problem with the Transformation node in the BPEL editor. You can try to edit the function in normal text mode and then try invoking it from a assign node? It should work.Sathya AGhttps://www.blogger.com/profile/17711711259619024371noreply@blogger.comtag:blogger.com,1999:blog-5705818669612605666.post-41780415743642492252010-04-10T10:47:47.025-04:002010-04-10T10:47:47.025-04:00i have followed both the steps mentioned above...b...i have followed both the steps mentioned above...but the problem is when i edit the transformation from bpel view, i.e, i open the transformation box in bpel and do edit transformation, the third parameter sent vanishes without a trace...this problems occurs everytime....Unknownhttps://www.blogger.com/profile/14293466573772259372noreply@blogger.comtag:blogger.com,1999:blog-5705818669612605666.post-31848464437178696312010-04-10T10:47:47.024-04:002010-04-10T10:47:47.024-04:00i have followed both the steps mentioned above...b...i have followed both the steps mentioned above...but the problem is when i edit the transformation from bpel view, i.e, i open the transformation box in bpel and do edit transformation, the third parameter sent vanishes without a trace...this problems occurs everytime....Unknownhttps://www.blogger.com/profile/14293466573772259372noreply@blogger.comtag:blogger.com,1999:blog-5705818669612605666.post-29979358036215071402010-04-10T10:22:18.664-04:002010-04-10T10:22:18.664-04:00yes....i have passed two variables in name-value p...yes....i have passed two variables in name-value pairs through a parameter viz 'l_OA_param' set in bpel and passed that parameter viz 'l_OA_param' as the third parameter in the XSLT call from BPEL.<br />Also i have used both name-value pairs in the xslt. there is no problem there.<br />Problem is when i try to open the xslt from bpel via the edit transformation option, the third parameter sent vansihes.<br />If i am not clear, do let me know.<br />i cannot share the entire code...probably make an example snippetUnknownhttps://www.blogger.com/profile/14293466573772259372noreply@blogger.comtag:blogger.com,1999:blog-5705818669612605666.post-26271390423927965992010-04-10T06:01:36.089-04:002010-04-10T06:01:36.089-04:00Two things to note;
1. Have you managed to create...Two things to note;<br /><br />1. Have you managed to create & set the parameters in BPEL before calling processXSLT() method?<br />2. If (1) is yes, have you retrieved the parameters set from BPEL in your XSLT?Sathya AGhttps://www.blogger.com/profile/17711711259619024371noreply@blogger.comtag:blogger.com,1999:blog-5705818669612605666.post-42142593925283218162010-04-08T15:10:03.942-04:002010-04-08T15:10:03.942-04:00hi,
This technique works well.But there is a probl...hi,<br />This technique works well.But there is a problem.<br />When i edit the process in the bpel view, the third parameter sent from the bpel to the xslt vanishes.<br />Can you tell me why?Unknownhttps://www.blogger.com/profile/14293466573772259372noreply@blogger.com