| 1 |
SOAP services (deprecated) |
| 2 |
========================== |
| 3 |
|
| 4 |
LL::NG portal provides a SOAP server that can be enable to give |
| 5 |
configuration and/or session. These features can be enabled using the |
| 6 |
manager. |
| 7 |
|
| 8 |
Portal SOAP services |
| 9 |
-------------------- |
| 10 |
|
| 11 |
SOAP functions are not accessible over network by default. SOAP functions |
| 12 |
are protected by Web Server, you can change this in |
| 13 |
:ref:`portal configuration<configlocation-portal>`. |
| 14 |
|
| 15 |
- Read-only functions (index.pl/sessions or index.pl/adminSessions |
| 16 |
paths): |
| 17 |
|
| 18 |
- **getCookies(user,password)**: authentication system. Returns |
| 19 |
cookie(s) name and values |
| 20 |
- **getAttributes(cookieValue)**: get elements stored in session |
| 21 |
- **isAuthorizedURI(cookieValue,url)**: check if user is granted to |
| 22 |
access to the function |
| 23 |
- **getMenuApplications(cookieValue)**: return a list of |
| 24 |
authorized applications (based on menu calculation) |
| 25 |
|
| 26 |
- Read/Write functions (index.pl/adminSessions paths): |
| 27 |
|
| 28 |
- **setAttributes(cookieValue,hashtable)**: update a session |
| 29 |
- **newSession**: create a session (return attributes) |
| 30 |
- **deleteSession**: delete a session |
| 31 |
- **get_key_from_all_sessions**: list all sessions and return asked |
| 32 |
keys |
| 33 |
|
| 34 |
- Notification send function (index.pl/notification): |
| 35 |
|
| 36 |
- **newNotification(xmlString)**: insert a notification for a user |
| 37 |
(see :doc:`Notifications system<notifications>` for more) |
| 38 |
|
| 39 |
- Notification delete function: |
| 40 |
|
| 41 |
- **deleteNotification**: delete notification(s) for a user (see |
| 42 |
:doc:`Notifications system<notifications>` for more) |
| 43 |
|
| 44 |
|
| 45 |
.. attention:: |
| 46 |
|
| 47 |
When you use |
| 48 |
:doc:`SOAP sessions backend<soapsessionbackend>`, it is recommended to |
| 49 |
use read-only URL (/index.fcgi/sessions). Write session path is needed |
| 50 |
only if you use a remote session explorer or a remote portal |
| 51 |
|
| 52 |
WSDL |
| 53 |
---- |
| 54 |
|
| 55 |
You can enable WSDL server in the manager. It will provide WSDL file |
| 56 |
(/portal.wsdl). |