Oracle released their new 12C edition of Oracle Fusion Middleware so lets have a look at some of the changes. We are going to make a simple Service Bus project which will take two currencies as input and will return the exchange rate. I installed locally Weblogic 12C and created a base domain. For a brief description how to install SOA Suite 12C see here. After you have installed weblogic, Continue ReadingBuilding a simple service using Oracle Service Bus 12C
In this post I will show how it is possible to make a dynamic routing in the OSB. You can use this if you need to route to different BusinessServices dependant of information you have. First we have to create a ProxyService CustomerService. As a last step insert an Routing element with a Dynamic Routing in it. We also create 2 BusinessServices where BS_CustomerA calls customers A service and BS_CustomerB Continue ReadingDynamic routing in 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
This is a very short post on how you can test your webservices build in the OSB or SOA Suite. We are going to use SoapUI for our tests, Maven for our build process, SVN as our repository and Jenkins as our Continuous Integration server. First we need a service which we want to test. Lets use a very simple Hello service. All this service does is greet the user. Continue ReadingUsing Jenkins to test your OSB/SOA Suite services
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
In this blog I will show how you can make a java callout from the OSB. This might be required if you want some basic functionality which is not provided by the OSB. In this example we are making a CryptService which hashes a string.
It might happen that you are using OEPE and that you want to deploy to the OSB server but when you try to do this, you recieve the ‘Error creating configuration jar’. When you look at the detail of the error it wil say this: Caused by: com.rsa.jsafe.JSAFE_PaddingException: Could not perform unpadding: invalid pad byte. The easiest workaround is just to delete your old OSB configuration project and create a Continue ReadingDeployment trouble using OEPE to deploy to the OSB (Could not perform unpadding: invalid pad byte)
When you use OEPE to deploy to the OSB, you might run into this problem during deployment: .FileNotFoundException: /oraclesoa/Middleware/user_projects/domains/MY_DOMAIN/osb/config/sessions/ALSB_IDE_Internal_PublishOp_1313998-1275/_binary/SessionData/singleton (No such file or directory) This problem occurs when your session is invalid or been corrupted. You can fix this by going to MY_ORACLE_HOME/user_projects/domains/MY_DOMAIN/osb/config/sessions/ and remove or rename the directory involved. After this, restart your managed server and the problem should have been fixed.
You might find yourself in a position where you want to add, edit or delete accounts in your Active Directory. The OSB itself doesn’t have an adapter for it so how do you resolve this? One of the options is to write a custom java library, add it to your domain and invoke it using a java-callout. Let’s start by making a simple Java project making use of Maven and Continue ReadingUsing Java and Spring to connect to an Active Directory