rss
SOATUBE
Oracle
Custom Search SOABYTE here

Thursday, August 25, 2011

Distributed Queue Topic Messages Are Retrieved Multiple Times by Subscribers

Problem
 
In a clustered environment, a queue topic is being retrieved multiple times by the subscribers. SOA clusters are typically homogenous (that is, each node has the same services running). Therefore, if a queue topic has multiple subscribers (say ServiceA & SeviceB) , then in a clustered environment, each service is running on every node. If it is a two-node cluster, then there are two instances of the  serviceA and two instances of the serviceB, each of which retrieve the topic message. This is not desirable.

Solution

Set the consuming service singleton property to ensure that in a multinode environment, only one of the subscriber instances can consume the topic message.

[snippet]

<service name="ServiceA" ui:wsdlLocation="
ServiceA
.wsdl">
<interface.wsdl interface="---------------------------------------------"/> <binding.jca config="
ServiceA
_jms.jca">
<property name="singleton">true</property> </binding.jca> </service>
[snippet]

Wednesday, August 17, 2011

How to disable unnecessary WS Addressing Headers in BPEL Process

In Oracle SOA Suite 11g, the WS-Binding component includes the following
WS-Addressing headers:


– wsa:to
– wsa:replyTo
– wsa:action

 
Although the SOAP message generated by 11g is fully specification compliant, there are service provider implementations that do not understand these WS-Addressing headers when included in the
request message for synchronous operations. This is why the invocation fails.


To increase interoperability, the property oracle.soa.ws.outbound.omitWSA
has been introduced for the <binding.ws> element in the composite.xml file.
This property enables you to optionally suppress generation of WS-Addressing
headers in the request message when set to true. The default value is false.

Add following property under <binding.ws> tag in your composite.xml.


<binding.ws
-----

-----
<property name="oracle.soa.ws.outbound.omitWSA" type="xs:boolean"
many="false" override="may">true</property>


</binding.ws>


In SOA Suite 11g, the WS-Binding component includes the WS-Addressing
headers by default in the response messages. 

But there are service consumer implementations that do not understand the WS-Addressing headers when
included in the response message in synchronous request-response scenarios. This is why the invocation fails.
To increase interoperability with clients (consumers) that do not support
WS-Addressing headers, a property named
oracle.soa.addressing.response.enabled has been introduced. 

This property enables you to optionally suppress generation of
WS-Addressing headers in the response message when set to true. The default
value is false. 

Set the property in the composite.xml file as follows:

[snippet]
<binding.ws>
......
<property name="oracle.soa.addressing.response.enabled" type="xs:boolean"
many="false" override="may">false</property>
</binding.ws>
[/snippet]


Tuesday, August 9, 2011

Recent Oracle fusion related bookmarks

Created by Camtasia Studio 6
JDeveloper ESDK Samples
Scheduling a bpel process
Oracle SOA Suite - Team Blog
Batch Aggregation of files in BPEL process instances based on correlation
Manipulating XML Data in a BPEL Process
XSLT Questions and Answers - FAQ.
Fault handling in Oracle SOA Suite 11g – Part III | Approach
Technical whitepapers list as at March 2011 (The Shorten Spot)
Oracle JCA Adapter for Files/FTP
Oracle Sample Code : Project Home
Oracle Enterprise Repository
Preparing for Your Installation
Oracle Fusion Middleware 11g (11.1.1.4) Documentation Library
OER Integration Guide
OER Config Guide
OER Quick Start Guide
OER Installation Guide
SOA & Oracle Fusion Middleware
How to remove unwanted SOAP header elements in JAX-WS
OASIS Web Services Business Process Execution Language (WS-BPEL) 2.0
Transaction and Fault Propagation Semantics in BPEL Processes
Java Callout in Mediator to Automatically Deal With Empty Elements
Oracle 11g SOA Suite read multi record data from csv file with the file adapter (master-detail)
DB Adapter returning more than just results: status and messages
Embedding Java in BPEL process
SOA Suite 11g – introducing Mediator Java Callouts for debug, audit and …
Investigation into the true parallellism of the Oracle BPEL PM Flow activity in 11g (Technical Preview 4) – on flow, sequence, wait and (a)synchronous calls
SOA Suite 11g – Composite instance as WebService Result Cache using BPEL Correlation
SOA & Oracle Fusion Middleware
Creating a Synchronous BPEL composite using File Adapter (adapters)
Oracle Service-Oriented Architecture | Technologies | Oracle
Oracle JDeveloper 11g Tutorials - Getting Started With Oracle ADF 11g Desktop Integration
Oracle JDeveloper and Oracle ADF 11g Tutorials
Oracle BPA Suite tips: #2. Installation of the server | Approach
Oracle Business Process Analysis Suite 10g Software Downloads
Oracle WebLogic Server 10g R3: Monitoring and Performance Tuning Self-Study Course
BPEL Process Activities and Services
Coolest feature: using Instant Messaging for BPEL notifications (Oracle SOA Suite - Team Blog)
Comparison: Oracle WebLogic Integration's Custom Control and SOA Suite Spring Component (Oracle SOA Suite - Team Blog)
New article available in "SOA Suite Essentials for WLI Users" series: Dynamic Data Lookup in a Business Process (Oracle SOA Suite - Team Blog)
blogs.oracle.com/SOA/resource/Purging_Strategies_in_Oracle_SOA_Suite_11gR1_PS3.pdf
SOA@Oracle SCA, BPEL, BPM & Service Bus: Purging SOA Suite 11g, the Extreme Edition
 
Blogger Profile