3 Replies Latest reply on Jul 3, 2013 8:45 AM by RajaSekharReddy.M

    Expection while using string function (compare-ignore-case,upper-case)

    RajaSekharReddy.M

      Hi all,

      I am using soa suite 11.1.1.6

      Jdeveloper 11.1.1.6

       

      I have tried using String functions(Only 2 xp20:upper-case() , oraext:compare-ignore-case()) with xpath expression . But it's throwing up an error saying the xpath is invalid. I have used the same xpath expression in an assign activity which is working fine . The string functions are working fine when used with constants . But the case fails when they are use together this way

       

              <assign name="Assign1">
                  <copy>
                      <from expression="bpws:getVariableData(xp20:upper-case('inputVariable','payload','/client:LoanEligibiltyRequest/client:LoanType'))"/>
                      <to variable="HL"/>
                  </copy>
              </assign>
      

            

            

      This is the log

          

      <Jul 1, 2013 7:07:10 PM IST> <Error> <oracle.soa.bpel.engine.dispatch> <BEA-0000

      00> <failed to handle message

      javax.xml.xpath.XPathExpressionException: internal xpath error

              at oracle.xml.xpath.JXPathExpression.evaluate(JXPathExpression.java:242)

       

              at com.collaxa.cube.xml.xpath.BPELXPathUtil.evaluate(BPELXPathUtil.java:

      247)

       

       

      Thanks in advance