Monday, February 29, 2016

Namespace prefix can not be resolved


I was using following function in SOA 12c to get the title for the composite

setCompositeInstanceTitle

However when i set this property it was giving me compilation issue

namespace prefix "oraext" can not be resolved



The reason for this error is that even though we get this functionality in the Jdeveloper by applying patch but it was missing an entry for the prefix.

By default when you use this function it comes as follows

oraext:setCompositeInstanceTitle()

Now you need to make sure that you are adding the prefix oraext explicitly in your BPEL code.

Open your BPEL code

Go to the source code and add following name space in the already existing list of namespace

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

Save the changes and rebuild

1 comment:

rmouniak said...

This blog gives very important info ,
Oracle SOA Online Course Bangalore