4 Replies Latest reply on Apr 10, 2017 11:18 AM by Srini Chavali-Oracle

    XML Email not Bursting if multiple Emails

    1567114

      Hello,

       

      I am able to do Burst if I put a single Email but it fails if multiple emails produced

       

      Below is the XML File:

       

      <?xml version="1.0" encoding="UTF-8"?>

       

       

      -<LIST_G_HEADER>

       

       

       

       

      -<G_HEADER>

       

       

      <CONTRACT_NUMBER>111123</CONTRACT_NUMBER>

       

       

      <ACCOUNT>ABC</ACCOUNT>

       

       

      <PO_NUMBER>45023</PO_NUMBER>

       

       

      <END_CUSTOMER>ABC</END_CUSTOMER>

       

       

      <REGION>America Service Certificate</REGION>

       

       

      <FromEmailAddress>sdf@abc.com</FromEmailAddress>

       

       

      <ReplyToAddress>fgh@abc.com</ReplyToAddress>

       

       

      <ToEmailAddress>ssd@abc.com;sdf@abc.com</ToEmailAddress>

       

       

      <CcEmailAddress>sdf@abc.com</CcEmailAddress>

       

       

      <EMAILSUBJECT>Contract Number for Renewal</EMAILSUBJECT>

       

       

      <AttchName>Contract Number_289834</AttchName>

       

       

       

       

      -<G_LINE>

       

       

      <SUB_LINE_NUMBER>1</SUB_LINE_NUMBER>

       

       

      <COVERED_ITEM>TH-ASD</COVERED_ITEM>

       

       

      <SERVICE_NAME>GOLD SUPPORT</SERVICE_NAME>

       

       

      <SERIAL_NUMBER>SoftA34</SERIAL_NUMBER>

       

       

      <SUB_START_DATE>15-MAY-17</SUB_START_DATE>

       

       

      <SUB_END_DATE>14-MAY-18</SUB_END_DATE>

       

       

      </G_LINE>

       

       

       

       

      -<G_LINE>

       

       

      <SUB_LINE_NUMBER>2</SUB_LINE_NUMBER>

       

       

      <COVERED_ITEM>TH-ASD</COVERED_ITEM>

       

       

      <SERVICE_NAME>GOLD SUPPORT</SERVICE_NAME>

       

       

      <SERIAL_NUMBER>SoftA4567</SERIAL_NUMBER>

       

       

      <SUB_START_DATE>15-MAY-17</SUB_START_DATE>

       

       

      <SUB_END_DATE>14-MAY-18</SUB_END_DATE>

       

       

      </G_LINE>

       

       

      </G_HEADER>

       

       

      </LIST_G_HEADER>

       

       

       

      And below is the Bursting Control file:

       

      <?xml version="1.0" encoding="UTF-8"?>

      <xapi:requestset xmlns:xapi="http://xmlns.oracle.com/oxp/xapi" type="bursting">

      <xapi:request select="/G_HEADER/G_LINE">

      <xapi:delivery>

      <xapi:email id="xxsmtp" server="${ServerIp}" port="25" from="${FromEmailAddress}" reply-to="${ReplyToAddress}">

      <xapi:message id="xxsmtp" to="${ToEmailAddress}"  cc="${ccEmailAddress}" attachment="true"

      subject="${EMAILSUBJECT}"> Attached is an Service Certificate.</xapi:message>

      </xapi:email>

      </xapi:delivery>

      <xapi:document output="${AttchName}" output-type="pdf" delivery="xxsmtp">

      <xapi:template type="rtf" location="xdo://XXTEST.XXA_EMAIL_BURST.en.US/?getSource=true">

      </xapi:template>

      </xapi:document>

      </xapi:request>

      </xapi:requestset>