Custom 11G XPath function not showing up in JDeveloper 12C

You can write your own XPath lib in Java to make certain things easier and re-usable. For an example see here. From the documentation of 12C, nothing indicated that things would have been changed so I stuck in an old library and restarted JDev. When I opened the xslt mapper, I didn’t see my functions under User Defined. This made me wonder if maybe something did have changed. Last week Continue ReadingCustom 11G XPath function not showing up in JDeveloper 12C

Synchronous BPEL process with a wait activity fails with a timeout

OFM

Recently we had a timing issue in our project. We were processing certain events and one event got processed before another one which caused a problem. A quick fix seemed possible by adding a Wait activity in our BPEL process which got processed too quickly. We added the Wait and set it to 2 seconds. We deployed it, ran our unit test again but it seemed to ignore the 2 Continue ReadingSynchronous BPEL process with a wait activity fails with a timeout

Converting JSON to XML in the OSB when consuming a REST service.

In my previous post I showed you how you could consume the Google Geo service using the OSB. In that example we used XML as the return format. It was also possible to return JSON. JSON stands for JavaScript Object Notation and is smaller then XML and faster en easier to parse. The JSON text format is syntactically identical to the code for creating JavaScript objects. That is why it Continue ReadingConverting JSON to XML in the OSB when consuming a REST service.

Consuming Google Geo REST service using the OSB

In this article I will explain how you can make use of the Google Geo Service API using the OSB. Check out this page to see what we can do with this API. Basically it makes it possible to enter address details and Google comes up with the geographical details including longitude and latitude if Google can find it. The result can either be returned as JSON or as XML. Continue ReadingConsuming Google Geo REST service using the OSB

Removing files from a database based MDS

When you are the MDS of the SOA Suite you probably added some files by mistake which where not mend to be in there. If it is a file based MDS…..no problem. Just delete them from the file system. But when it is a database based MDS, you have to do a bit more. One way is to use WLST to remove the files. Go to MIDDLEWARE_HOME/Oracle_soa1/common/bin and start wlst.sh. Continue ReadingRemoving files from a database based MDS

Add cookie to service callout using the OSB

It might be possible that you want to send a cookie along with a service callout. You can add a Transport Header action to your callout to add a header but I found out that you can’t just input a String in there. You have to insert a cookie-values fragment. You can accomplish it by doing this. First insert you Transport Header. Next select the ‘Add header’ button and select Continue ReadingAdd cookie to service callout using the OSB

Using JDeveloper to deploy to weblogic over SSL

When you start working with the SOA Suite 11G the server has a default keystore set. Connecting to this setup over HTTPS usually doesn’t give any problem as the CA’s used are generally trusted by default by the JDK used. One of the things you maybe are going to encounter when you equip your server with a genuin certificate with CA’s in the chain which are not trusted by default, Continue ReadingUsing JDeveloper to deploy to weblogic over SSL