4 Replies Latest reply on Sep 24, 2009 1:32 PM by Alejandro Raiczyk

    Questions about doXslTransform

    dave chen Newbie

      Hi all,

      I am using jbossAS 4.0.4GA and jbpm-bpel-1.1.Beta3. And i just saw doXslTransform function in ws-bpel2.0 specification. It is very useful in my research. However, I am not able to deploy the bpel to server. It just keep throwing the error:
      [servicegen] 07:10:45,718 DEBUG Scope : looking for fault handler with name {http://schemas.xmlsoap.org/ws/2004/03/business-process/}forcedTermination' and no variable

      BUILD FAILED
      java.lang.NoClassDefFoundError: javax/xml/soap/Node

      Any ideas? Are there any example that using this functions? I cannot find it. Actually, does jbpm-bpel-1.1.Beta3 support this function?

      Thanks.

      Dave

        • 1. Re: Questions about doXslTransform
          dave chen Newbie

          Hi all,

          Does anyone have idea about doXslTransform function? I want to know whether jbpm-bpel support this function. I cannot find any jbpm documentation about this.

          I just upgraded to the latest version jbpm-bpel 1.1.1. However, it is still not working.

          Any idea?

          Thanks

          dave

          • 2. Re: Questions about doXslTransform
            dave chen Newbie

            Hi all,

            I found that when bpel process call doXslTransform then the server will produce the following output.

            -------------------------------------------------------
            2008-09-11 18:35:25,625 ERROR [org.jbpm.bpel.sublang.xpath.XPathExpressionEvaluator] expression evaluation failed
            org.jaxen.UnresolvableException: No Such Function 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.NativeMethodAccessorImpl.invoke0(Native Method)
            at
            ........
            -------------------------------------------------------

            Why jbpm-bpel does not support this function? As jbpm-bpel home page
            said
            "New services can be rapidly scripted as a function of other services instead of being developed from the ground up. Transforming output from one service into input to another service is made straightforward with XPath and XSLT.
            ".
            However, jbpm-bpel cannot found that functions.
            Does anyone know how to make this function works?

            Many thanks.

            dave

            • 3. Re: Questions about doXslTransform
              Sarish Jain Newbie

              Is this supported i am getting exactly same problem..
              I dont see the function in the xsd for bpel as well.

              • 4. Re: Questions about doXslTransform
                Alejandro Raiczyk Newbie

                I'm facing the same problem, did you guys found a solution to this?
                Thanks