[jboss-jira] [JBoss JIRA] Commented: (BPEL-305) Support for doXSLTransform
Aleksander Adamowski (JIRA)
jira-events at lists.jboss.org
Fri Oct 30 07:54:06 EDT 2009
[ https://jira.jboss.org/jira/browse/BPEL-305?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12492261#action_12492261 ]
Aleksander Adamowski commented on BPEL-305:
-------------------------------------------
Looks like Charles Charles Souillard from Bull S.A.S. has already implemented this for jBPM-BPEL 2: http://fisheye.jboss.org/browse/JBPM/lightning/bpel2/org/jbpm/bpel/xml/query/xpath/jaxen/DOMDoXslTransformFunction.java?r=1.1
Which unfortunately has never been released. Can this be easily imported to jBPM-BPEL 1 branch?
> Support for doXSLTransform
> --------------------------
>
> Key: BPEL-305
> URL: https://jira.jboss.org/jira/browse/BPEL-305
> Project: jBPM BPEL
> Issue Type: Feature Request
> Security Level: Public(Everyone can see)
> Components: Engine
> Affects Versions: jBPM BPEL 1.1.1
> Reporter: sarish jain
> Assignee: Alejandro Guizar
>
> On using that within the expression, it throws following exception, should probably be supported as per the wsbpel-v2.0.pdf section 8.4, page 63.
> doXslTransform
> at org.jaxen.SimpleFunctionContext.getFunction(SimpleFunctionContext.java:127)
> at org.jaxen.ContextSupport.getFunction(ContextSupport.java:242)
> at org.jaxen.Context.getFunction(Context.java:216)
> at org.jaxen.expr.DefaultFunctionCallExpr.evaluate(DefaultFunctionCallExpr.java:172)
> at org.jaxen.expr.DefaultXPathExpr.asList(DefaultXPathExpr.java:102)
> at org.jaxen.BaseXPath.selectNodesForContext(BaseXPath.java:674)
> at org.jaxen.BaseXPath.selectNodes(BaseXPath.java:213)
> at org.jbpm.bpel.sublang.xpath.XPathExpressionEvaluator.evaluate(XPathExpressionEvaluator.java:80)
> at org.jbpm.bpel.graph.basic.assign.FromExpression.extract(FromExpression.java:39)
> at sun.reflect.GeneratedMethodAccessor165.invoke(Unknown Source)
> at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
> at java.lang.reflect.Method.invoke(Method.java:585)
> at org.hibernate.proxy.pojo.javassist.JavassistLazyInitializer.invoke(JavassistLazyInitializer.java:173)
> at org.jbpm.bpel.graph.basic.assign.From_$$_javassist_1.extract(From_$$_javassist_1.java)
> at org.jbpm.bpel.graph.basic.assign.Copy.execute(Copy.java:36)
> at org.jbpm.bpel.graph.basic.Assign.execute(Assign.java:45)
> at org.jbpm.bpel.graph.def.Activity.enter(Activity.java:123)
> at sun.reflect.GeneratedMethodAccessor168.invoke(Unknown Source)
> at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
> at java.lang.reflect.Method.invoke(Method.java:585)
> at org.hibernate.proxy.pojo.javassist.JavassistLazyInitializer.invoke(JavassistLazyInitializer.java:173)
> at org.jbpm.graph.def.Node_$$_javassist_48.enter(Node_$$_javassist_48.java)
> at org.jbpm.graph.def.Transition.take(Transition.java:151)
> at org.jbpm.graph.def.Node.leave(Node.java:390)
> at org.jbpm.bpel.graph.def.Activity.proceed(Activity.java:241)
> at org.jbpm.bpel.graph.def.Activity.leave(Activity.java:229)
> at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
> at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
> at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
> at java.lang.reflect.Method.invoke(Method.java:585)
> at org.hibernate.proxy.pojo.javassist.JavassistLazyInitializer.invoke(JavassistLazyInitializer.java:173)
> at org.jbpm.bpel.graph.struct.StructuredActivity$End_$$_javassist_76.leave(StructuredActivity$End_$$_javassist_76.java)
> at org.jbpm.bpel.graph.struct.StructuredActivity.leave(StructuredActivity.java:66)
> at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
> at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
> at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
> at java.lang.reflect.Method.invoke(Method.java:585)
> at org.hibernate.proxy.pojo.javassist.JavassistLazyInitializer.invoke(JavassistLazyInitializer.java:173)
> at org.jbpm.bpel.graph.def.CompositeActivity_$$_javassist_162.leave(CompositeActivity_$$_javassist_162.java)
> at org.jbpm.bpel.graph.struct.StructuredActivity$End.execute(StructuredActivity.java:298)
> at org.jbpm.bpel.graph.def.Activity.enter(Activity.java:123)
> at sun.reflect.GeneratedMethodAccessor191.invoke(Unknown Source)
> at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
> at java.lang.reflect.Method.invoke(Method.java:585)
> at org.hibernate.proxy.pojo.javassist.JavassistLazyInitializer.invoke(JavassistLazyInitializer.java:173)
> at org.jbpm.bpel.graph.struct.StructuredActivity$End_$$_javassist_76.enter(StructuredActivity$End_$$_javassist_76.java)
> at org.jbpm.graph.def.Transition.take(Transition.java:151)
> at org.jbpm.graph.def.Node.leave(Node.java:390)
> at sun.reflect.GeneratedMethodAccessor190.invoke(Unknown Source)
> at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
> at java.lang.reflect.Method.invoke(Method.java:585)
> at org.hibernate.proxy.pojo.javassist.JavassistLazyInitializer.invoke(JavassistLazyInitializer.java:173)
> at org.jbpm.bpel.graph.struct.StructuredActivity$Begin_$$_javassist_10.leave(StructuredActivity$Begin_$$_javassist_10.java)
> at org.jbpm.bpel.graph.struct.If.execute(If.java:92)
> at sun.reflect.GeneratedMethodAccessor217.invoke(Unknown Source)
> at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
> at java.lang.reflect.Method.invoke(Method.java:585)
> at org.hibernate.proxy.pojo.javassist.JavassistLazyInitializer.invoke(JavassistLazyInitializer.java:173)
> at org.jbpm.bpel.graph.def.CompositeActivity_$$_javassist_162.execute(CompositeActivity_$$_javassist_162.java)
> at org.jbpm.bpel.graph.struct.StructuredActivity$Begin.execute(StructuredActivity.java:271)
> at org.jbpm.bpel.graph.def.Activity.enter(Activity.java:123)
> at sun.reflect.GeneratedMethodAccessor168.invoke(Unknown Source)
> at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
> at java.lang.reflect.Method.invoke(Method.java:585)
> at org.hibernate.proxy.pojo.javassist.JavassistLazyInitializer.invoke(JavassistLazyInitializer.java:173)
> at org.jbpm.graph.def.Node_$$_javassist_48.enter(Node_$$_javassist_48.java)
> at org.jbpm.graph.def.Transition.take(Transition.java:151)
> at org.jbpm.graph.def.Node.leave(Node.java:390)
> at org.jbpm.bpel.graph.def.Activity.proceed(Activity.java:241)
> at org.jbpm.bpel.graph.def.Activity.leave(Activity.java:229)
> at org.jbpm.graph.exe.ExecutionContext.leaveNode(ExecutionContext.java:120)
> at org.jbpm.bpel.integration.def.InvokeAction.execute(InvokeAction.java:76)
> at sun.reflect.GeneratedMethodAccessor215.invoke(Unknown Source)
> at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
> at java.lang.reflect.Method.invoke(Method.java:585)
> at org.hibernate.proxy.pojo.javassist.JavassistLazyInitializer.invoke(JavassistLazyInitializer.java:173)
> at org.jbpm.graph.def.Action_$$_javassist_149.execute(Action_$$_javassist_149.java)
> at org.jbpm.graph.def.GraphElement.executeAction(GraphElement.java:259)
> at org.jbpm.graph.def.Node.execute(Node.java:335)
> at org.jbpm.bpel.graph.def.Activity.enter(Activity.java:123)
> at sun.reflect.GeneratedMethodAccessor168.invoke(Unknown Source)
> at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
> at java.lang.reflect.Method.invoke(Method.java:585)
> at org.hibernate.proxy.pojo.javassist.JavassistLazyInitializer.invoke(JavassistLazyInitializer.java:173)
> at org.jbpm.graph.def.Node_$$_javassist_48.enter(Node_$$_javassist_48.java)
> at org.jbpm.graph.def.Transition.take(Transition.java:151)
> at org.jbpm.graph.def.Node.leave(Node.java:390)
> at sun.reflect.GeneratedMethodAccessor190.invoke(Unknown Source)
> at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
> at java.lang.reflect.Method.invoke(Method.java:585)
> at org.hibernate.proxy.pojo.javassist.JavassistLazyInitializer.invoke(JavassistLazyInitializer.java:173)
> at org.jbpm.bpel.graph.struct.StructuredActivity$Begin_$$_javassist_10.leave(StructuredActivity$Begin_$$_javassist_10.java)
> at org.jbpm.bpel.graph.struct.StructuredActivity.execute(StructuredActivity.java:62)
> at org.jbpm.bpel.graph.struct.StructuredActivity$Begin.execute(StructuredActivity.java:271)
> at org.jbpm.bpel.graph.def.Activity.enter(Activity.java:123)
> at sun.reflect.GeneratedMethodAccessor191.invoke(Unknown Source)
> at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
> at java.lang.reflect.Method.invoke(Method.java:585)
> at org.hibernate.proxy.pojo.javassist.JavassistLazyInitializer.invoke(JavassistLazyInitializer.java:173)
> at org.jbpm.bpel.graph.struct.StructuredActivity$Begin_$$_javassist_10.enter(StructuredActivity$Begin_$$_javassist_10.java)
> at org.jbpm.graph.def.Transition.take(Transition.java:151)
> at org.jbpm.graph.def.Node.leave(Node.java:390)
> at sun.reflect.GeneratedMethodAccessor190.invoke(Unknown Source)
> at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
> at java.lang.reflect.Method.invoke(Method.java:585)
> at org.hibernate.proxy.pojo.javassist.JavassistLazyInitializer.invoke(JavassistLazyInitializer.java:173)
> at org.jbpm.bpel.graph.struct.StructuredActivity$Begin_$$_javassist_10.leave(StructuredActivity$Begin_$$_javassist_10.java)
> at org.jbpm.bpel.graph.struct.If.execute(If.java:92)
> at sun.reflect.GeneratedMethodAccessor217.invoke(Unknown Source)
> at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
> at java.lang.reflect.Method.invoke(Method.java:585)
> at org.hibernate.proxy.pojo.javassist.JavassistLazyInitializer.invoke(JavassistLazyInitializer.java:173)
> at org.jbpm.bpel.graph.def.CompositeActivity_$$_javassist_162.execute(CompositeActivity_$$_javassist_162.java)
> at org.jbpm.bpel.graph.struct.StructuredActivity$Begin.execute(StructuredActivity.java:271)
> at org.jbpm.bpel.graph.def.Activity.enter(Activity.java:123)
> at sun.reflect.GeneratedMethodAccessor168.invoke(Unknown Source)
> at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
> at java.lang.reflect.Method.invoke(Method.java:585)
> at org.hibernate.proxy.pojo.javassist.JavassistLazyInitializer.invoke(JavassistLazyInitializer.java:173)
> at org.jbpm.graph.def.Node_$$_javassist_48.enter(Node_$$_javassist_48.java)
> at org.jbpm.graph.def.Transition.take(Transition.java:151)
> at org.jbpm.graph.def.Node.leave(Node.java:390)
> at org.jbpm.bpel.graph.def.Activity.proceed(Activity.java:241)
> at org.jbpm.bpel.graph.def.Activity.leave(Activity.java:229)
> at org.jbpm.graph.exe.ExecutionContext.leaveNode(ExecutionContext.java:120)
> at org.jbpm.bpel.integration.def.InvokeAction.execute(InvokeAction.java:76)
> at sun.reflect.GeneratedMethodAccessor215.invoke(Unknown Source)
> at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
> at java.lang.reflect.Method.invoke(Method.java:585)
> at org.hibernate.proxy.pojo.javassist.JavassistLazyInitializer.invoke(JavassistLazyInitializer.java:173)
> at org.jbpm.graph.def.Action_$$_javassist_149.execute(Action_$$_javassist_149.java)
> at org.jbpm.graph.def.GraphElement.executeAction(GraphElement.java:259)
> at org.jbpm.graph.def.Node.execute(Node.java:335)
> at org.jbpm.bpel.graph.def.Activity.enter(Activity.java:123)
> at sun.reflect.GeneratedMethodAccessor168.invoke(Unknown Source)
> at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
> at java.lang.reflect.Method.invoke(Method.java:585)
> at org.hibernate.proxy.pojo.javassist.JavassistLazyInitializer.invoke(JavassistLazyInitializer.java:173)
> at org.jbpm.graph.def.Node_$$_javassist_48.enter(Node_$$_javassist_48.java)
> at org.jbpm.graph.def.Transition.take(Transition.java:151)
> at org.jbpm.graph.def.Node.leave(Node.java:390)
> at org.jbpm.bpel.graph.def.Activity.proceed(Activity.java:241)
> at org.jbpm.bpel.graph.def.Activity.leave(Activity.java:229)
> at org.jbpm.bpel.graph.basic.Assign.execute(Assign.java:47)
> at org.jbpm.bpel.graph.def.Activity.enter(Activity.java:123)
> at sun.reflect.GeneratedMethodAccessor168.invoke(Unknown Source)
> at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
> at java.lang.reflect.Method.invoke(Method.java:585)
> at org.hibernate.proxy.pojo.javassist.JavassistLazyInitializer.invoke(JavassistLazyInitializer.java:173)
> at org.jbpm.graph.def.Node_$$_javassist_48.enter(Node_$$_javassist_48.java)
> at org.jbpm.graph.def.Transition.take(Transition.java:151)
> at org.jbpm.graph.def.Node.leave(Node.java:390)
> at sun.reflect.GeneratedMethodAccessor190.invoke(Unknown Source)
> at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
> at java.lang.reflect.Method.invoke(Method.java:585)
> at org.hibernate.proxy.pojo.javassist.JavassistLazyInitializer.invoke(JavassistLazyInitializer.java:173)
> at org.jbpm.bpel.graph.struct.StructuredActivity$Begin_$$_javassist_10.leave(StructuredActivity$Begin_$$_javassist_10.java)
> at org.jbpm.bpel.graph.struct.StructuredActivity.execute(StructuredActivity.java:62)
> at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
> at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
> at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
> at java.lang.reflect.Method.invoke(Method.java:585)
> at org.hibernate.proxy.pojo.javassist.JavassistLazyInitializer.invoke(JavassistLazyInitializer.java:173)
> at org.jbpm.bpel.graph.def.CompositeActivity_$$_javassist_162.execute(CompositeActivity_$$_javassist_162.java)
> at org.jbpm.bpel.graph.struct.StructuredActivity$Begin.execute(StructuredActivity.java:271)
> at org.jbpm.bpel.graph.def.Activity.enter(Activity.java:123)
> at sun.reflect.GeneratedMethodAccessor191.invoke(Unknown Source)
> at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
> at java.lang.reflect.Method.invoke(Method.java:585)
> at org.hibernate.proxy.pojo.javassist.JavassistLazyInitializer.invoke(JavassistLazyInitializer.java:173)
> at org.jbpm.bpel.graph.struct.StructuredActivity$Begin_$$_javassist_10.enter(StructuredActivity$Begin_$$_javassist_10.java)
> at org.jbpm.bpel.graph.struct.StructuredActivity.enter(StructuredActivity.java:58)
> at sun.reflect.GeneratedMethodAccessor191.invoke(Unknown Source)
> at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
> at java.lang.reflect.Method.invoke(Method.java:585)
> at org.hibernate.proxy.pojo.javassist.JavassistLazyInitializer.invoke(JavassistLazyInitializer.java:173)
> at org.jbpm.bpel.graph.def.Activity_$$_javassist_165.enter(Activity_$$_javassist_165.java)
> at org.jbpm.bpel.graph.scope.Scope.execute(Scope.java:110)
> at org.jbpm.bpel.graph.def.Activity.enter(Activity.java:123)
> at org.jbpm.graph.def.Transition.take(Transition.java:151)
> at org.jbpm.graph.def.Node.leave(Node.java:390)
> at org.jbpm.bpel.graph.def.Activity.proceed(Activity.java:241)
> at org.jbpm.bpel.graph.def.Activity.leave(Activity.java:229)
> at org.jbpm.graph.exe.ExecutionContext.leaveNode(ExecutionContext.java:120)
> at org.jbpm.bpel.integration.def.InvokeAction.execute(InvokeAction.java:76)
> at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
> at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
> at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
> at java.lang.reflect.Method.invoke(Method.java:585)
> at org.hibernate.proxy.pojo.javassist.JavassistLazyInitializer.invoke(JavassistLazyInitializer.java:173)
> at org.jbpm.graph.def.Action_$$_javassist_149.execute(Action_$$_javassist_149.java)
> at org.jbpm.graph.def.GraphElement.executeAction(GraphElement.java:259)
> at org.jbpm.graph.def.Node.execute(Node.java:335)
> at org.jbpm.bpel.graph.def.Activity.enter(Activity.java:123)
> at org.jbpm.graph.def.Transition.take(Transition.java:151)
> at org.jbpm.graph.def.Node.leave(Node.java:390)
> at org.jbpm.bpel.graph.def.Activity.proceed(Activity.java:241)
> at org.jbpm.bpel.graph.def.Activity.leave(Activity.java:229)
> at org.jbpm.bpel.graph.basic.Assign.execute(Assign.java:47)
> at org.jbpm.bpel.graph.def.Activity.enter(Activity.java:123)
> at org.jbpm.graph.def.Transition.take(Transition.java:151)
> at org.jbpm.graph.def.Node.leave(Node.java:390)
> at org.jbpm.bpel.graph.def.Activity.proceed(Activity.java:241)
> at org.jbpm.bpel.graph.def.Activity.leave(Activity.java:229)
> at org.jbpm.bpel.graph.basic.Receive.messageReceived(Receive.java:53)
> at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
> at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
> at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
> at java.lang.reflect.Method.invoke(Method.java:585)
> at org.hibernate.proxy.pojo.javassist.JavassistLazyInitializer.invoke(JavassistLazyInitializer.java:173)
> at org.jbpm.bpel.graph.basic.Receive_$$_javassist_19.messageReceived(Receive_$$_javassist_19.java)
> at org.jbpm.bpel.integration.def.ReceiveAction.deliverMessage(ReceiveAction.java:98)
> at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
> at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
> at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
> at java.lang.reflect.Method.invoke(Method.java:585)
> at org.hibernate.proxy.pojo.javassist.JavassistLazyInitializer.invoke(JavassistLazyInitializer.java:173)
> at org.jbpm.bpel.integration.def.ReceiveAction_$$_javassist_92.deliverMessage(ReceiveAction_$$_javassist_92.java)
> at org.jbpm.bpel.integration.jms.StartListener.deliverRequest(StartListener.java:219)
> at org.jbpm.bpel.integration.jms.StartListener.onMessage(StartListener.java:165)
> at org.jboss.mq.SpyMessageConsumer.run(SpyMessageConsumer.java:697)
> at java.lang.Thread.run(Thread.java:613)
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: https://jira.jboss.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
More information about the jboss-jira
mailing list