Oracle SOA 12c- BPEL namespace prefix xp20 can not be resolved


Recently I have faced a very strange issue during usage of BPEL xPath function that is used to transform input string to lowercase format. BPEL provides readymade string function(s) for string manipulation viz. lowercase, uppercase, trim, compare, concat..etc and few other as well.

Now, in order to convert input string to lowercase, below xPath function is available to do so-
  Function: xp20:lower-case()


Problem Statement 
After putting the input in above xPath function, the BPEL process compilation got failed with below error message-

 Error- namespace prefix xp20 can not be resolved

JDeveloper- 12.1.3.0
SOA Suite-   12.1.3.0

Cause 
In order to use any namespace specific operation, this must be included in your namespace declaration. If missing, generally throws error of namespace resolution i.e. this is something like we are trying to use a namespace prefix whose reference is not available. There might be scenario when the namespace declaration got deleted accidentally when working on source view of BPEL process.

Solution
Include below namespace declaration for xp20 prefix and corresponding transformation reference to be provided-

xmlns:xp20="http://www.oracle.com/XSL/Transform/java/oracle.tip.pc.services.functions.Xpath20"

Now, recompile the SOA composite, this should compile successfully.

Reference(s)- Oracle Doc ID: 2182535.1, Bug ID: 23302378

Comments

  1. I have been following your post for a long time. I always found it very interesting and valuable. keep posting it is really helpful.
    Cloud Migration services

    Aws Cloud Migration services

    Azure Cloud Migration services

    ReplyDelete
  2. Really it is very useful for us..... the information that you have shared is really useful for everyone. If someone wants to know about Taxi Application and Taxi Dispatch Software I think this is the right place for you.

    ReplyDelete

Post a Comment

Popular posts from this blog

Oracle SOA Suite- Implementing Email Notification

Oracle SOA Suite 12c- PKIX path building failed & unable to find valid certification path to requested target

Migration of Oracle SOA Suite Composite from 11g to 12c