Follow following steps to initiate BPEL Process using Email notification :
1> Create async bpel process with inputvariable type : mailMessage
2> add MyAccount.xml to location :
soa_home\bpel\domains\my_domain\metadata\MailService
3> Contents of MyAccount.xml
4> add activation agents to bpel.xml after partnerLinkBindings
5> Deploy project
Very informative post. Just wanted to share a piece of information with the readers. As Lalit said, the process is initiated by a request message with a payload containing an element of type mailMessage. This element is defined in Mail.xsd, which is shipped with BPEL Prcess Manager and can be found at $lt;SOA_HOME>\bpel\system\xmllib.
ReplyDeleteThat was a very useful add on information provided by sankash.
ReplyDeleteBut readers i want to add one more thing that at the same time you also have to add one more xsd file called "common.xsd" present at the same location.