Poll a Microsoft Exchange mailbox from OSB using DavMail by Laurens van der Starre

 

clip_image002The Oracle Service Bus has built in features to poll an IMAP of POP3 mail account. There are loads of excellent blog posts that exactly describe how to do it. However, when the mail server happens to be a Microsoft Exchange server, things become shady. Exchange’s IMAP implementation tends to be not really that compatible, and the server log will fill up with stacktraces such as:

Of course we can connect using the Exchange Web Services (EWS) using the OSB, but that is loads of work. Luckily there is DavMail. DavMail is an gateway that sits in between Exchange and your third party mail clients. Using DavMail, you can connect using simple POP3 or IMAP protocols to DavMail which in turn connects to Exchange using the EWS. DavMail is build in java, and runs happily on WebLogic Server.

So, download DavMail’s WAR distribution for SourceForge. Unpack the WAR-file and edit the properties file in WEB-INF/classes.

Set is to run in Server mode, and let it know where the EWS is: Read the complete article here.

SOA & BPM Partner Community

For regular information on Oracle SOA Suite become a member in the SOA & BPM Partner Community for registration please visit www.oracle.com/goto/emea/soa (OPN account required) If you need support with your account please contact the Oracle Partner Business Center.

Blog Twitter LinkedIn image[7][2][2][2] Facebook clip_image002[8][4][2][2][2] Wiki

JSON is flowing through SOA’s veins by Laurens van der Starre

This year’s Oracle Open World is again all about Cloud and Mobile. However, this year it is getting more and more concrete. Apart from all the announcements of Process Cloud and integration cloud services there will be more JSON support in Oracle’s SOA Suite.

In Oracle SOA Suite 12C (12.1.3) the REST Adapter already made its appearance. This adapter makes it make your SCA component available as, and leverage REST services, using JSON. This JSON support starts and end with the REST adapter. Inside your SCA components, it is still XML.

In the second release of Oracle SOA Suite 12C (12.1.4) there will be JSON flowing through all the veins of the SCA components. In Service Bus, you will be able to have JSON context variables. Instead of only having xpath operations on your context variables, you have the ability to use JavaScript. There will also be a JavaScript activity which lets you write JavaScript “transformations” on your context variables.

The same goes for BPEL. BPEL is heavily based on XML, but here also the JSON support will be end-to-end. Pretty exiting, but also scary because of the “unstructuredness” of JSON.

Oracle SOA Suite 12.1.4 will probably available in H1 of 2015.

SOA & BPM Partner Community

For regular information on Oracle SOA Suite become a member in the SOA & BPM Partner Community for registration please visit www.oracle.com/goto/emea/soa (OPN account required) If you need support with your account please contact the Oracle Partner Business Center.

Blog Twitter LinkedIn image[7][2][2][2] Facebook clip_image002[8][4][2][2][2] Wiki

Create a 12c development server from the SOA 12c Quickstart by Laurens van der Starre

So at the time of writing there is only the “Quickstart” 12C SOA and BPM. That’s all fun and games, it installs straight out of the box.
However, I want a real development environment, and run it on my dev server. So, first thing first. Create Domain

  1. Download the SOA Suite and BPM 12c.
  1. Then install the SOA Suite quick installer.
  2. Install BPM 12c in the same ORACLE_HOME as the SOA Suite.
  3. Make sure you have a certified database available. 11gR2 Express Edition will do (although some warnings will show up).

And now it is business as usual.

  1. Go to your < SOA_SUITE >/common/bin and run rcu. (On Windows, edit the rcu.bar, and change line 112 in such a way that $JAVA_HOME is replaced by the hardcoded path to your java.exe. Otherwise it won’t start).
  2. Create your database schemas as usual. Notice the kickass new features with creating the database schemas: you can now create a database install script from RCU which your DBA can run for you!
  3. After the RCU, go to /wlserver/bin and run config to create your domain!

So the Domain Config Creation Utility is pretty much as we already know from 11g, only more elaborate. Read the complete article here.

SOA & BPM Partner Community

For regular information on Oracle SOA Suite become a member in the SOA & BPM Partner Community for registration please visit www.oracle.com/goto/emea/soa (OPN account required) If you need support with your account please contact the Oracle Partner Business Center.

Blog Twitter LinkedIn image[7][2][2][2] Facebook clip_image002[8][4][2][2][2] Wiki

Getting started with Oracle Service Bus 12c: importing 11g sources by Laurens van der Starre

Oracle has finally announced 12c, so now everybody can get their hands on it. One of the new features is that Oracle Service Bus development is integrated into Oracle jDeveloper Studio.Export from OEPE
One way to get started quickly is by simply importing your 11g service bus sources into 12c.
First export your 11g sources, either from the Servicebus Console or Eclipse (OEPE):
Then, this sbconfig.jar is easily imported into the new Oracle jDeveloper Studio 12c (as expected):

The wizard flow is basically the same as importing resources into Eclipse in 11g: Read the complete article here.

SOA & BPM Partner Community

For regular information on Oracle SOA Suite become a member in the SOA & BPM Partner Community for registration please visit www.oracle.com/goto/emea/soa (OPN account required) If you need support with your account please contact the Oracle Partner Business Center.

Blog Twitter LinkedIn image[7][2][2][2] Facebook clip_image002[8][4][2][2][2] Wiki