SOAP functions are not accessible by network by default. SOAP functions are protected by Apache, you can change this in <ahref="configlocation.html#portal"class="wikilink1"title="documentation:2.0:configlocation">Apache portal configuration</a>:
</p>
<preclass="code file apache"><spanclass="co1"># SOAP functions for sessions management (disabled by default)</span>
<spanclass="kw1">Allow</span> from <spanclass="kw2">all</span>
</<spanclass="kw3">Location</span>></pre>
<divclass="notetip">You can create a SOAP only portal by setting “soapOnly = 1” in lemonldap-ng.ini (section PORTAL)
</div><ul>
<liclass="level1"><divclass="li"> Read-only functions (index.pl/sessions or index.pl/adminSessions paths):</div>
<ul>
<liclass="level2"><divclass="li"><strong>getCookies(user,password)</strong>: authentication system. Returns cookie(s) name and values</div>
</li>
<liclass="level2"><divclass="li"><strong>getAttributes(cookieValue)</strong>: get elements stored in session</div>
</li>
<liclass="level2"><divclass="li"><strong>isAuthorizedURI(cookieValue,url)</strong>: check if user is granted to access to the function</div>
</li>
<liclass="level2"><divclass="li"><strong>getMenuApplications(cookieValue)</strong>: return a list of authorizated applications (based on menu calculation)</div>
<liclass="level2"><divclass="li"><strong>setAttributes(cookieValue,hashtable)</strong>: update a session</div>
</li>
<liclass="level2"><divclass="li"><strong>newSession</strong>: create a session (return attributes)</div>
</li>
<liclass="level2"><divclass="li"><strong>deleteSession</strong>: delete a session</div>
</li>
<liclass="level2"><divclass="li"><strong>get_key_from_all_sessions</strong>: list all sessions and return asked keys</div>
</li>
</ul>
</li>
<liclass="level1"><divclass="li"> Notification send function (index.pl/notification):</div>
<ul>
<liclass="level2"><divclass="li"><strong>newNotification(xmlString)</strong>: insert a notification for a user (see <ahref="notifications.html"class="wikilink1"title="documentation:2.0:notifications">Notifications system</a> for more)</div>
<liclass="level2"><divclass="li"><strong>deleteNotification</strong>: delete notification(s) for a user (see <ahref="notifications.html"class="wikilink1"title="documentation:2.0:notifications">Notifications system</a> for more)</div>
</li>
</ul>
</li>
</ul>
<divclass="noteimportant">When you use <ahref="soapsessionbackend.html"class="wikilink1"title="documentation:2.0:soapsessionbackend">SOAP sessions backend</a>, it is recommended to use read-only <abbrtitle="Uniform Resource Locator">URL</abbr> (<ahref="http://portal/index.pl/sessions"class="urlextern"title="http://portal/index.pl/sessions"rel="nofollow">http://portal/index.pl/sessions</a>). Write session path is needed only if you use a remote session explorer or a remote portal