Skip to content

What to put in each plugin field

Site administration → Plugins → Local plugins → SEPE teleformación connector. Lengths match the XSD. Wrong length is rejected.

Official codes such as CODIGO_CENTRO, specialty identifiers and action codes are assigned by SEPE / the competent body for your file. Do not invent official values; use placeholders only until the expediente provides them.

Endpoint (read-only)

Field What to put Example
SOAP endpoint Shown automatically from $CFG->wwwroot. This is the URL SEPE will call. https://campus.example.com/local/sepe/ws/service.php
WSDL Same URL plus ?wsdl. …/service.php?wsdl

WS-Security

Field in Moodle What to put Notes
WS-Security username SEPE unless the official kit says otherwise. Default is already SEPE.
WS-Security password (PasswordText) A long shared secret that you choose. Same value later on the SEPE form. Never commit it. HTTPS only in production.
Tracking URL (soap:address) Public HTTPS URL of service.php. Copy this into URL_SEGUIMIENTO and into the SEPE form.

SEPE does not invent this password. The centre defines it and then declares it in the official application. Every SOAP call must send UsernameToken with those values (PasswordText). There is no Moodle session cookie.

Training centre

Field Length What to put
ORIGEN_CENTRO 2 Origin code from the SEPE kit. Demo uses 20.
CODIGO_CENTRO 16 Centre code assigned when accreditation/inscription is registered. Until then use the placeholder your consultant gives you; demo uses 16 digits.
Centre name up to 40 Commercial name of the centre, same as in the application.
URL_PLATAFORMA URL Public Moodle URL, https:// only. Same value as “URL de la plataforma” on the SEPE form.
URL_SEGUIMIENTO URL SOAP URL (…/local/sepe/ws/service.php). Same as “URL del servicio web de seguimiento”.
Phone up to 15 Contact for training follow-up.
Email Contact for training follow-up.

Training actions (Acciones formativas SEPE)

Separate admin page. One row per action the SEPE may query with obtenerAccion.

Field What to put
ORIGEN_ACCION 2 characters. Demo: 20.
CODIGO_ACCION 30 characters. Official action code from SEPE when you have it.
Moodle course ID Numeric course id (Course administration). 0 = not linked. If set, obtenerAccion merges enrolments, completion, grades and logs.
SITUACION Action status code from the model (demo uses 10).
Start / end date dd/mm/yyyy.
Duration (hours) Integer hours of the action.
Complete itinerary SI or NO.
Financing type Code from the official model (demo 10).
Number of attendees Declared count; SOAP can also reflect Moodle enrolments when a course is linked.
Action name / general info / schedule / requirements / contact Free text as in the Annex V description block.
Specialty origin / professional area / specialty code Official specialty identifiers (demo: origin 20, area ADGN, code ADGN010PO00001).

Participant documents

Page SEPE participant documents. Maps a Moodle user to the identity SEPE expects.

Field What to put
Document type D for NIF/NIE in the usual case (XSD TIPO_DOCUMENTO).
Document number Up to 10 digits, no letter. The connector left-pads with zeros to 10.
NIF letter The control letter only (Z, B…).
Key competences indicator Two characters from the model (demo 00).

If the Moodle user idnumber is already a NIF like 12345678Z, the enricher can parse it when the mapping row is empty — still fill the mapping for production.