On 31/08/2017 01:53, Sergio Muriel wrote:

Hi everyone!

I'm trying to push changes to the users on Sakai LMS by using a given SOAP web service:

https://qa10-mysql.nightly.sakaiproject.org/sakai-axis/SakaiScript.jws?wsdl


The operation I want to use is: changeUserName

Parameters  are:

  * sessionid: The ID of the http session.
  * eid: Entity ID, i.e. Student ID.
  * firstname
  * lastname


How can I configure the connector's Service Endpoint, Service name and SOAPAction URI Prefix?


And most important thing: How can I make  a matching rule for sessionid?


Hi Sergio,
of all available technologies for connecting Syncope to Identity Stores [1], SOAP is by far the less comfortable.

The main problem here is that the ConnId connector must be using exactly the WSDL of the target SOAP service, hence the ConnId SOAP connector [2] is simply not applicable as it is modeled on its own WDSL.

A while ago I built a sample connector [3] relying on some CXF goodness to generated classes from a custom WDSL, but honestly I don't think it would easy at all for you to modify it to suit your needs.

My hint is to see if there is any other way to provision users to Sakai (REST, database, ...).

HTH
Regards.

[1] https://syncope.apache.org/docs/reference-guide.html#identity-stores
[2] https://github.com/Tirasa/ConnIdSOAPBundle
[3] https://github.com/ilgrosso/ConnIdSampleWS

--
Francesco Chicchiriccò

Tirasa - Open Source Excellence
http://www.tirasa.net/

Member at The Apache Software Foundation
Syncope, Cocoon, Olingo, CXF, OpenJPA, PonyMail
http://home.apache.org/~ilgrosso/

Reply via email to