You can easily import an Oracle Service Bus 11g project archive (JAR) in your JDeveloper 12c SB application (File -> Import)
XQuery upgrade:
Howver, when you import your Oracle Service Bus 11g project you will most likely import XQuery transformations as well. When you look at the XQuery editor in JDeveloper 12c you will probably notice that you only have “source” mode and not a graphical editor. Besides that the XQuery files show a “04” icon.
Since the early days of AquaLogic Service Bus the company formerly known as BEA (TCFKAB) supported the W3C working draft of “XQuery 1.0 and XPath 2.0 Functions and Operators” dated 23 July 2004.
In addition TCFKAB supported a number of extension functions easy to recognize with their fn-bea prefix. Since then the world moved on and XQuery made it to version 1.0 in 2007. So now in 12c there is a way to upgrade your XQuery 2004 files to version 1.0.
The “04” icons dissapear in your project and the result will be that your XQuery files will be moved to:
Besides that, since April 2014 the XQuery 3.0 recommendations are also available. We will probably see those in future releases of SOA/OSB.
References:
- Oracle: How to Upgrade Your XQuery Resources to use XQuery 1.0
- W3C: XQuery 1.0 and XPath 2.0 Functions and Operators W3C Working Draft 23 July 2004
- Wikipedia: XQuery
- W3C: XQuery 3.0 specifications
archenroot
11-12-2014 at 12:53
Reblogged this on Black Hole Of My Memory.
saiju
06-01-2015 at 11:22
After the up gradation followed followed , most of the components are migrated correctly but not for file adapters, getting an error as below
<tran:provider-id>jca</tran:provider-id> <tran:inbound>false</tran:inbound> <tran:URI weight="1"> <env:value>jca://eis/FileAdapter</env:value> </tran:URI> <tran:outbound-properties> <tran:load-balancing-algorithm>round-robin</tran:load-balancing-algorithm> <tran:retry-count>0</tran:retry-count> <tran:retry-interval>30</tran:retry-interval> <tran:retry-application-errors>true</tran:retry-application-errors> <tran:delay-interval-configuration isEnabled="false"> <tran:delay-interval>0</tran:delay-interval> </tran:delay-interval-configuration> </tran:outbound-properties> <tran:all-headers>false</tran:all-headers> <tran:provider-specific xsi:type="jca:JCAEndPointConfiguration"> <jca:jca-file ref="CSF_OSB/Infrastructure Services/JCAs/FileAdp_WriteLog"/> <jca:adapter-name>File Adapter</jca:adapter-name> <jca:adapter-type>FILE</jca:adapter-type> <jca:always-use-wsdl>false</jca:always-use-wsdl> <jca:connection-mode>managed</jca:connection-mode> <jca:outbound-properties> <jca:operation-properties> <jca:operation-name>logMessage</jca:operation-name> <jca:spec-properties> <jca:property> <jca:name>FileNamingConvention</jca:name> <jca:value>ServiceLog.log</jca:value> </jca:property> <jca:property> <jca:name>PhysicalDirectory</jca:name> <jca:value>OSBCSF/logs</jca:value> </jca:property> <jca:property> <jca:name>Append</jca:name> <jca:value>true</jca:value> </jca:property> </jca:spec-properties> </jca:operation-properties> </jca:outbound-properties> </tran:provider-specific> </xml-fragment>”/>
Could please give your suggestions for this error
jvzoggel
06-01-2015 at 11:34
Hi Saiju, can you send me the osb project jar file you want to import (and upgrade) ?
Ankababu
02-01-2017 at 13:31
HI,
we are facing error while deploying 11g osb services in 12.1.3 sb console which is running on
Operatiing System is linux6.8
error:
[RouteNode1, Assign action] XQuery expression validation failed: line 8, column 24: {err}FONS0003: “utilgU”: prefix not defined in static context
after coverting Xquery version 1.0 in Jdeveloper 12.1.3 it is throwing below error:
RouteNode1, Assign action] XQuery expression validation failed: {http://www.w3.org/2005/xqt-errors}XPST0081: The prefix “utilgU” used in the qualified name “utilgU:gethostinfo” can not be resolved
Note: But it is working on soa 12.1.3 which is running on OS linux 5.8 version box
Could please give your suggestions for this error
umesh
05-03-2018 at 06:36
hi getting this error while migrating to xquery 1.0
Invalid Xquery content:line 89, column 44: {http://www.w3.org/2005/xqt-errors}XPST0003 [{http://xmlns.oracle.com/xdk/xquery/error}XPST0003c]: Syntax error. “/ns1:produ” is unexpected