Page 1 of 1

Programatically Create a Member

Posted: Fri May 09, 2014 6:38 am
by Patson

Considering a limited knowledge with Struct,I would like to be able to create a new member, programatically, via a Rest api call
so i guess calling the serverlet that register the member should be enough, if i provide the required field.

I was wondering if someone has gone through the same manipulation, and if someone could outline the main step and pit falls on that way.


Re: Programatically Create a Member

Posted: Tue Jun 10, 2014 11:51 am
by Patson

I have to admit, my request was too vague, and too much on the fly.
I found out the webserice available to register a Member, and went ahead tried with soapui, from the wsdl url : cyclos/services/members?wsdl
But still stuck in the middle.

i understand that can be used on a standard channel, no need to create a specific channel, so i'm trying to create a member in the inactive group( id=6), disabled the mail confirmation,
<soapenv:Envelope xmlns:soapenv="" xmlns:mem="">
<!--Zero or more repetitions:-->


- Are all the field required?
-How should the server be prepared to receive the webservice call.
-Have i missed a step in the middle?

From SAOPUI , i got this:

<soap:Envelope xmlns:soap="">
<faultcode xmlns:ns1="cyclos">ns1:unexpected-error</faultcode>
<faultstring>Fault occurred while processing.</faultstring>

Can you please suggest where to look at?