Steps to change no.reply@oracle.com to a different email address in MFT notifications

In MFT, when ever you receive a notification it comes by default from no.reply@oracle.com

Example:

On 5/8/2016 8:23 PM, no.reply@oracle.com wrote:
 Event Details:
 Artifact Type: Transfer
 Deployment Type: Single
 Artifact Name: InTransfer
 User: weblogic 
For changing default email address from no.reply@oracle.com to some other email address we have to follow to below steps.
1.Login to EM console , under the MFT folder, select mft-app
2. Click on “More MFT Configuration Properties…”
3. Go to operations tab
4. Click “addproperty”
5. Provide the following values:
key: defaultFromEmailAddressForNotification
value: the emailaddress you want
6. Click invoke then return
mftnotification
7. To make sure the property was created, click getproperty , in the key field enter: defaultFromEmailAddressForNotification and hit invoke, on the return value section you will see the value of that property.
After updating the above values we need to restart the server to reflect the changes.

Invoke REST Services from SOA Suite 12.2.1.0.0

In my previous post we saw how to create a REST service using SOA Suite 12.2.1.0.0.

To view my previous post ClickHere

To invoke REST services we will use WADL file of the REST service. In our previous version of SOA Suite we use the HTTP bindings to invoke the REST service but in SOA Suite 12c we have REST binding to invoke the REST services.

We have created a composite with a BPEL process .Now we will add reference to the composite to invoke REST service.

To add reference to composite file, drag REST bindings from component palette.

Provide the name and select the checkbox “Reference will be invoked by components using wsdl interfaces” and click on Next.

invokerest

In resources window click on + button of “configuration shortcut” and select the “Add resources and operation mappings based on WADL service”.

invokerest1

It will open the WADL chooser window , select the WADL file it will automatically fill all the columns like operation, resource path, http verb and complete.

invokerest2.jpg

Now click on Finish , it will ask you you to have the local copy of all files, select all check boxes and click on OK.

invokerest3.jpg

Now wire the BPEL process with REST reference. And your composite looks like this.

invokerest4

Now inside the BPEL process add a invoke activity to invoke the REST service and assign input to it .

invokerest5

compile this service and deploy it to the server. Now we will either test this service from HTTP analyzer or from EM console

Test it from EM console, open the deployed composite and click on test. Provide input and test the service. You can see success response in response tab. If we open the instance we will find the new service successfully invoked the REST service and got the response.

invokerest6