To send an outbound email, we have to configure following 2 steps:
Implementation:
Create a SOA project.
Create a XSD:
<?xml version='1.0' encoding='windows-1252'?>
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
- Email driver setup.
- UMS adapter configurations.
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