Thursday, April 17, 2014

Thursday, January 23, 2014

Changing SOAP Version 1.1 to 1.2 and Vice Versa

Problem: SOAP version mismatch

There may be scenarios where in you wanted to change the SOAP protocol. Since some of your partners might be using 1.1 and some might be using 1.2.


The best practice is to create a process with SOAP Version 1.1 and create a wrapper service calling 1.1 and create it as 1.2.

By this you are dually compatible and it wont affect any of your external or internal partners.


By default whenever a service is defined, it is SOAP 1.1 by default.

In order to change it to 1.2


  1. Go to Composite.xml
  2. Go to the binding section 
  3. Either you can add this text soapVersion="1.2" in binding.ws tag.
 Or you can go to the binding.ws tag and if you look at the property instructor you have a dropdown to change it.






Friday, December 20, 2013

Skip Fault due to Empty value in Assign activity

In many scenarios we use Assign activity and copy from variable to the target variable.
But we do see exception when there is no value from the source variable.

Non Recoverable System Fault :
faultName: {{http://docs.oasis-open.org/wsbpel/2.0/process/executable}selectionFailure} messageType: {{http://schemas.oracle.com/bpel/extension}RuntimeFaultMessage}


It may seem weird instead of skipping to next activity we should handle it in Catch block, or Instead we skip to use Transform activity instead.

But there is a way you can ignore this.

If you are not sure if there would be a value coming or not and you still want to handle it in xpath(Assign activity) you need to do the following.

1)

Open the Assign Activity :



2)

Right click on the block beside the source variable and click on ignoreMissingFromData



Redeploy the process and you should no longer see the error.





SOA 11g Installation Illustrated Guide :


Pre-requisites :


And download 
  1. XE Database https://db.tt/Rqw7sfxj
  2. Oracle Weblogic Server
  3. RCU
  4. SOA Suite
  5. Jdeveloper





1) Before Installing the Oracle Database Xe
   Go to Command Prompt and give the below command.
                
          set RCU_JDBC_TRIM_BLOCKS=TRUE








Install Database :





Give password as Welcome1






Install RCU :





Select SOA and BPM Infrastructure it will automatically populate schemas needeed.

Give the password as Welcome1

















 3. Install Oracle Weblogic Server












Install SOA SUite















Configure Weblogic server with the SOA Suite


















Install JDeveloper