Saturday, June 2, 2012

Disable unnecessary WS-Addressing Headers in Oracle BPEL Process responses


In Oracle SOA 11g, the WS-Binding component includes the following
WS-Addressing headers
  • wsa:to
  •  wsa:replyTo
  •  wsa:action
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 for each of the Partner Links with which you interact.

<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.

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: (in the <service name="…"> section)

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


No comments:

Post a Comment