<html>
  <head>
    <meta content="text/html; charset=utf-8" http-equiv="Content-Type">
  </head>
  <body bgcolor="#FFFFFF" text="#000000">
    Hi Shelly,<br>
    <br>
    please try this:<br>
    <br>
    <notificationConfiguration><br>
    ...<br>
    <br>
    <handler><br>
       <simpleResourceObjectNotifier><br>
       <name>Notify system administrator for accounts</name><br>
         <recipientExpression><br>
            <value><a class="moz-txt-link-abbreviated" href="mailto:notify@example.com">notify@example.com</a></value><br>
         </recipientExpression><br>
         <status>success</status>        <br>
         <transport>mail</transport><br>
        </simpleResourceObjectNotifier><br>
    </handler><br>
    <br>
    ...<br>
    </notificationConfiguration><br>
    <br>
    There were some changes; wiki is just being updated.<br>
    <br>
    Regards,<br>
    IVan<br>
      <br>
    <div class="moz-cite-prefix">On 08/28/2014 09:31 AM, Shelly Piplani
      wrote:<br>
    </div>
    <blockquote cite="mid:1409211090238.83930@ilantus.com" type="cite">
      <pre wrap="">Hi Chris,

Thanks for the reply. I removed the  extra <notificationConfiguration> tag and tried again.
The error I am getting now is :

No field simpleAccountNotifier in class class com.evolveum.midpoint.xml.ns._public.common.common_3.NotificationConfigurationType (and no element method in object factory too)
Save object (Gui)
Cause: No field simpleAccountNotifier in class class com.evolveum.midpoint.xml.ns._public.common.common_3.NotificationConfigurationType (and no element method in object factory too)

Attached is the modified system configuration xml .

I believe I need to import some packages but not sure which one and where.
Please suggest.

Regards,
Shelly
________________________________________
From: <a class="moz-txt-link-abbreviated" href="mailto:Chris.Woods@rohde-schwarz.com">Chris.Woods@rohde-schwarz.com</a> <a class="moz-txt-link-rfc2396E" href="mailto:Chris.Woods@rohde-schwarz.com"><Chris.Woods@rohde-schwarz.com></a>
Sent: 28 August 2014 12:52
To: Shelly Piplani
Cc: <a class="moz-txt-link-abbreviated" href="mailto:midpoint-dev@lists.evolveum.com">midpoint-dev@lists.evolveum.com</a>
Subject: Antwort: [Midpoint-dev] Issue while configuring email notification

Hi Shelly,

on lines 66/67 you have <notificationConfiguration> nested within
<notificationConfiguration> - maybe this is the problem.

Cheers,

Chris Woods
Rohde & Schwarz GmbH & Co. KG
Postbox 80 14 69, D-81614 Muenchen
Dept. 6OIZ

email: <a class="moz-txt-link-abbreviated" href="mailto:chris.woods@rohde-schwarz.com">chris.woods@rohde-schwarz.com</a>
------------------------------------------------------------
Geschäftsführung / Executive Board: Manfred Fleischmann (Vorsitzender /
Chairman), Christian Leicher, Peter Riedl, Sitz der Gesellschaft /
Company's Place of Business: München, Registereintrag / Commercial
Register No.: HRA 16 270, Persönlich haftender Gesellschafter / Personally
Liable Partner: RUSEG Verwaltungs-GmbH, Sitz der Gesellschaft / Company's
Place of Business: München, Registereintrag / Commercial Register No.: HRB
7 534, Umsatzsteuer-Identifikationsnummer (USt-IdNr.) / VAT Identification
No.: DE 130 256 683, Elektro-Altgeräte Register (EAR) / WEEE Register No.:
DE 240 437 86




Von:    Shelly Piplani <a class="moz-txt-link-rfc2396E" href="mailto:shelly.piplani@ilantus.com"><shelly.piplani@ilantus.com></a>
An:     <a class="moz-txt-link-rfc2396E" href="mailto:midpoint-dev@lists.evolveum.com">"midpoint-dev@lists.evolveum.com"</a>
<a class="moz-txt-link-rfc2396E" href="mailto:midpoint-dev@lists.evolveum.com"><midpoint-dev@lists.evolveum.com></a>
Datum:  28.08.2014 09:06
Betreff:        [Midpoint-dev] Issue while configuring email notification
Gesendet von:   <a class="moz-txt-link-abbreviated" href="mailto:midpoint-dev-bounces@lists.evolveum.com">midpoint-dev-bounces@lists.evolveum.com</a>



Hi,


I am using Midpoint3.0
I am  trying to configure email notification for account creation.
Following is the code which I am adding in my system configuration

<notificationConfiguration>
<mail>
    <server>
        <host>smtp.gmail.com</host>
        <port>25</port>
        <username><a class="moz-txt-link-abbreviated" href="mailto:test@gmail.com">test@gmail.com</a></username>
        <password>
            <clearValue>ila123</clearValue>
        </password>
        <transportSecurity>none</transportSecurity>
    </server>
    <defaultFrom><a class="moz-txt-link-abbreviated" href="mailto:abc@gmail.com">abc@gmail.com</a></defaultFrom>
    <debug>true</debug>
</mail>

<simpleAccountNotifier>
        <statusFilter>
            <status>success</status>
        </statusFilter>
        <transport>mail</transport>
    </simpleAccountNotifier>
</notificationConfiguration>
However I am getting following error:
No field notificationConfiguration in class class
com.evolveum.midpoint.xml.ns._public.common.common_3.NotificationConfigurationType
(and no suitable substitution too)
Save object (Gui)
Cause: No field notificationConfiguration in class class
com.evolveum.midpoint.xml.ns._public.common.common_3.NotificationConfigurationType
(and no suitable substitution too)..

Attached is the  xml for System configuration

Please suggest.

Regards,
Shelly




This message contains information that may be privileged or confidential
and is the property of ILANTUS Technologies. It is intended only for the
person to whom it is addressed. If you are not the intended recipient, you
are not authorized to read, print, retain, copy, disseminate, distribute,
or use this message or any part thereof. If you receive this message in
error, please notify the sender immediately and delete all copies of this
message. [attachment "systemconfig.xml" deleted by Chris Woods/RSD]
_______________________________________________
midPoint-dev mailing list
<a class="moz-txt-link-abbreviated" href="mailto:midPoint-dev@lists.evolveum.com">midPoint-dev@lists.evolveum.com</a>
<a class="moz-txt-link-freetext" href="http://lists.evolveum.com/mailman/listinfo/midpoint-dev">http://lists.evolveum.com/mailman/listinfo/midpoint-dev</a>

This message contains information that may be privileged or confidential and is the property of ILANTUS Technologies. It is intended only for the person to whom it is addressed. If you are not the intended recipient, you are not authorized to read, print, retain, copy, disseminate, distribute, or use this message or any part thereof. If you receive this message in error, please notify the sender immediately and delete all copies of this message.
This message contains information that may be privileged or confidential and is the property of ILANTUS Technologies. It is intended only for the person to whom it is addressed. If you are not the intended recipient, you are not authorized to read, print, retain, copy, disseminate, distribute, or use this message or any part thereof. If you receive this message in error, please notify the sender immediately and delete all copies of this message.
</pre>
      <br>
      <fieldset class="mimeAttachmentHeader"></fieldset>
      <br>
      <pre wrap="">_______________________________________________
midPoint-dev mailing list
<a class="moz-txt-link-abbreviated" href="mailto:midPoint-dev@lists.evolveum.com">midPoint-dev@lists.evolveum.com</a>
<a class="moz-txt-link-freetext" href="http://lists.evolveum.com/mailman/listinfo/midpoint-dev">http://lists.evolveum.com/mailman/listinfo/midpoint-dev</a>
</pre>
    </blockquote>
    <br>
    <pre class="moz-signature" cols="72">-- 
  Ing. Ivan Noris
  Senior Identity Management Engineer
  evolveum.com
  ___________________________________________
           "Idem per idem - semper idem Vix."
</pre>
  </body>
</html>