Wednesday, March 18, 2020

12c SOA -UMS Adapter send outbound email

To send an outbound email, we have to configure following 2 steps:
  • Email driver setup.
  • UMS adapter configurations.
Here I will show you the UMS adapter configuration and send outbound emails without attachment.

Implementation:
Create a SOA project.


 Create a XSD:


 <?xml version='1.0' encoding='windows-1252'?>
<xsd:schema xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns="http://www.email.soa" targetNamespace="http://www.email.soa" elementFormDefault="qualified">
   <xsd:element name="EmailInput" type="EmailType"/>
   <xsd:complexType name="EmailType">
      <xsd:sequence>
         <xsd:element name="Email">
            <xsd:complexType>
               <xsd:sequence>
                  <xsd:element name="EmailContent" type="xsd:string"/>
<xsd:element name="EmailSubject" type="xsd:string"/>
                  <xsd:element name="From" type="xsd:string"/>
                  <xsd:element name="To" type="xsd:string"/>
                  <xsd:element name="EmailAttachmentString" type="xsd:string"/>
               </xsd:sequence>
            </xsd:complexType>
         </xsd:element>
      </xsd:sequence>
   </xsd:complexType>
</xsd:schema>

UMS Adapter Configuration:






 Create a BPEL Process



 Take a invoke and call the UMS partnerlink

 Assign the email content.

 In the invoke properties, we will assign the jca to from etc. properties.
 Deploy and test


No comments:

Post a Comment

Featured Post

11g to 12c OSB projects migration points

1. Export 11g OSB code and import in 12c Jdeveloper. Steps to import OSB project in Jdeveloper:   File⇾Import⇾Service Bus Resources⇾ Se...