2 Replies Latest reply: Dec 14, 2012 11:29 AM by 980026 RSS

    Issue with AIA XPath Functions while compiling in JDeveloper 11.1.1.2.0

    779146
      Hi,


      BPEL flow contains Assign activity as below :

      <assign name="Assign_1"><copy><from expression='aia.getServiceProperty("{http://xmlns.oracle.com/ABCSImpl/SAP/Core/UpdateItemListSAPReqABCSImpl/V1}UpdateItemListSAPReqABCSImpl","Default.SystemID",true())'/>
      <to variable="temp"/></copy> </assign>

      When I try to compile this flow, it gives me below errors :

      SOALog:

      Buildfile: D:\Oracle\Middleware\jdeveloper\bin\ant-sca-compile.xml
      scac:
      [scac] Validating composite : 'D:\test\TestAIAFunc\composite.xml'
      [scac] FATAL_ERROR: in TestAIABPELProcess.bpel(81): unresolved xpath function
      [scac] could not resolve xpath function "aia.getServiceProperty", because function "aia.getServiceProperty" not registered.
      [scac] Make sure this function is either in the system xpath function configuration file or in the custom xpath function configuration file. Refer to the user guide regarding how to register xpath functions in your compiler environment.
      BUILD FAILED
      D:\Oracle\Middleware\jdeveloper\bin\ant-sca-compile.xml:264: Java returned: 1 Check log file : D:\test\TestAIAFunc\SCA-INF\classes\scac.log for errors
      Total time: 9 seconds

      CompilerLog:

      Project: D:\test\TestAIAFunc\TestAIAFunc.jpr
      D:\test\TestAIAFunc\TestAIABPELProcess.bpel
      Error(81): unresolved xpath function
      could not resolve xpath function "aia.getServiceProperty", because function "aia.getServiceProperty" not registered.
      Make sure this function is either in the system xpath function configuration file or in the custom xpath function configuration file. Refer to the user guide regarding how to register xpath functions in your compiler environment.

      I got latest aia.jar from server(SOA11.1.1.2, weblogic 10.3.2, AIA11gR1) and added aia.jar @ JDeveloper 11.1.1.2--> Tools--> Preferences--> SOA

      I also added it in jdeveloper/lib, jdeveloper/jdev/lib

      aia namespace is there in .bpel as : xmlns:aia="http://www.oracle.com/XSL/Transform/java/oracle.apps.aia.core.xpath.AIAFunctions"

      Thanks,
      Hema