Archive for October, 2009

Oracle SOA Suite 11g, Setting and Getting Preferences

In Oracle Bpel 10g we had the functionality to add preferences to your bpel process. By adding the next xml to the bpel.xml file we could get the value as variable into our process and change the value from the console. [sourcecode language="xml"] MyCurrentValue [/sourcecode] In the new Oracle SOA 11g things changed a little but. Like Marc already described in his blog we now need to add the preferences to the composite.xml of our Composite Application. Add the next xml to the...

Oracle Service Bus, JMS Request/Response pattern

Inspired by the article of Edwin about JMS Request Reply Interaction Pattern in Soa Suite 11g, i will show a little example of what functionality Oracle Service Bus supplies to implement the jms request/response (reply) pattern. The solution is quiet simple. Create the wls resources Create JMS Server, MyJMSServer Create JMS Modules, MyJMSResources Create a Connection Factory, MyConnectionFactory Create 2 queues, MyQueueIn (request message), MyQueueOut (response message) Create...

Oracle Service Bus, transporting large files fails

Error [sourcecode language="xml"] weblogic.socket.MaxMessageSizeExceededException: Incoming message of size: '20000160' bytes exceeds the configured maximum of: '20000000' bytes for protocol: 't3'. weblogic.socket.MaxMessageSizeExceededException: Incoming message of size: '20000160' bytes exceeds the configured maximum of: '20000000' bytes for protocol: 't3' at weblogic.socket.AbstractMuxableSocket.incrementBufferOffset(AbstractMuxableSocket.java:262) at...

Evaluating xpath expressions

This week we were messing around with a routing problem in one of the Oracle Service Bus projects. We had an if-then-else construction which selects on the payload to see what transformation is needed and which business service it needs to call. Example payload [sourcecode language="xml"] VALUE1 1 VALUE2 10 [/sourcecode] test1 : /EDI/CONF_UNB/SYNTAX_ID result : node SYNTAX_ID with value 'VALUE1' test2 : count(/EDI/CONF_UNB/SYNTAX_ID) = 1 result :...