Oracle SOA Suite Online Training

Interested in learning Oracle SOA Suite 12c?
Learn from the author of this blog!
A complete and comprehensive course on the #1 platform on SOA - Oracle SOA Suite

Click here to find the complete course details
Click here to check the first session on Oracle SOA Suite 12c


Replace NameSpaces in XSLT

You may come across a situation where you want to replace one set of namespaces to another set. A typical example is that you have a pass-through OSB Service whose proxy is based on your Project's namespaces and the underlying service is based on the out-of-the-box service namespaces.

In such cases, the following XSLT will search-replace the namespaces

For example, if your input xml looks like


and the response has to have a different set of namespaces,


The following XSLT works

<xsl:stylesheet version="1.0" xmlns:xsl="" xmlns:myns1=""

<xsl:template match="*">

<xsl:template match="ns2:*">
  <xsl:element name="myns2:{local-name()}">

<xsl:template match="ns3:*">
  <xsl:element name="myns3:{local-name()}">

<xsl:template match="ns4:*">
  <xsl:element name="myns4:{local-name()}">
<xsl:template match="ns5:*">
  <xsl:element name="myns5:{local-name()}">
<xsl:template match="@*">
<xsl:copy/> </xsl:template>

SOA Domain Creation Issue - Schema test failed

If Schema test fails during domain creation, you need to update that particular record in the database table.

connect sys/welcome1 as sysdba;
grant DBA to DEV_MDS;
update schema_version_registry set version='' where owner= 'DEV_MDS';
update schema_version_registry set version='' where owner= 'DEV_SOAINFRA';

Hope this helps!

Change default OWSM policies in Workflow Services

Oracle SOA provides default policies on some of its Workflow Services. In most of the cases, the policies attached are demo policies, ex : oracle/wss10_saml_token_service_policy

This blog explains you how to change those default policies to an OWSM policy of your choice.

EM --> rt click on soa-infra --> Administration --> System MBean Browser
Navigate to the WebService of your choice as shown below

Change the value in the policyReferenceURI to the OWSM policy of your choice.
Restart the server, and the change comes into effect.