Advertisements
RSS

Migrating Oracle Service Bus 11g to 12c (and the XQuery 1.0 upgrade)

03 Dec

You can easily import an Oracle Service Bus 11g project archive (JAR) in your JDeveloper 12c SB application (File -> Import)

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.

XQuery04

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.

 

convert

 

The “04” icons dissapear in your project and the result will be that your XQuery files will be moved to:


XQuery_10

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:

Advertisements
 
6 Comments

Posted by on 03-12-2014 in Oracle, OSB

 

Tags: , ,

6 responses to “Migrating Oracle Service Bus 11g to 12c (and the XQuery 1.0 upgrade)

  1. archenroot

    11-12-2014 at 12:53

    Reblogged this on Black Hole Of My Memory.

     
  2. 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) ?

       
  3. 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

     

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

 
%d bloggers like this: