You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@openmeetings.apache.org by Randall Smith <ra...@tnr.cc> on 2012/11/14 16:47:12 UTC
SOAP addNewUser returns NULL/nill
Hi,
I'm trying to create a new user using the SOAP interface. I've been
able to create rooms, but when I try to create a user, I get a "nill"
response / no error. I'm using suds for Python. Here is the response I
get:
<?xml version='1.0' encoding='utf-8'?><soapenv:Envelope
xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/"><soapenv:Body><ns:addNewUserResponse
xmlns:ns="http://services.axis.openmeetings.org"><ns:return
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:nil="true"/></ns:addNewUserResponse></soapenv:Body></soapenv:Envelope>
And here is the request:
<?xml version="1.0" encoding="UTF-8"?><SOAP-ENV:Envelope
xmlns:ns0="http://services.axis.openmeetings.org"
xmlns:ns1="http://schemas.xmlsoap.org/soap/envelope/"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/"><SOAP-ENV:Header/><ns1:Body><ns0:addNewUser><ns0:SID>5d783c0bd7ee6be65cd3c2bb9aeff415</ns0:SID><ns0:username>test</ns0:username><ns0:userpass>test</ns0:userpass><ns0:lastname>last</ns0:lastname><ns0:firstname>first</ns0:firstname><ns0:email>test@localhost</ns0:email><ns0:additionalname>additional</ns0:additionalname><ns0:street>street</ns0:street><ns0:zip>zip</ns0:zip><ns0:fax>fax</ns0:fax><ns0:states_id>225</ns0:states_id><ns0:town>town</ns0:town><ns0:language_id>1</ns0:language_id></ns0:addNewUser></ns1:Body></SOAP-ENV:Envelope>
Any help is appreciated.
Thanks.
-Randall
Re: SOAP addNewUser returns NULL/nill
Posted by Randall Smith <ra...@tnr.cc>.
Fixed.
I need to set "allow_frontend_register".
On 11/14/2012 09:47 AM, Randall Smith wrote:
> Hi,
>
> I'm trying to create a new user using the SOAP interface. I've been
> able to create rooms, but when I try to create a user, I get a "nill"
> response / no error. I'm using suds for Python. Here is the response
> I get:
>
> <?xml version='1.0' encoding='utf-8'?><soapenv:Envelope
> xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/"><soapenv:Body><ns:addNewUserResponse
> xmlns:ns="http://services.axis.openmeetings.org"><ns:return
> xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
> xsi:nil="true"/></ns:addNewUserResponse></soapenv:Body></soapenv:Envelope>
>
> And here is the request:
>
> <?xml version="1.0" encoding="UTF-8"?><SOAP-ENV:Envelope
> xmlns:ns0="http://services.axis.openmeetings.org"
> xmlns:ns1="http://schemas.xmlsoap.org/soap/envelope/"
> xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
> xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/"><SOAP-ENV:Header/><ns1:Body><ns0:addNewUser><ns0:SID>5d783c0bd7ee6be65cd3c2bb9aeff415</ns0:SID><ns0:username>test</ns0:username><ns0:userpass>test</ns0:userpass><ns0:lastname>last</ns0:lastname><ns0:firstname>first</ns0:firstname><ns0:email>test@localhost</ns0:email><ns0:additionalname>additional</ns0:additionalname><ns0:street>street</ns0:street><ns0:zip>zip</ns0:zip><ns0:fax>fax</ns0:fax><ns0:states_id>225</ns0:states_id><ns0:town>town</ns0:town><ns0:language_id>1</ns0:language_id></ns0:addNewUser></ns1:Body></SOAP-ENV:Envelope>
>
> Any help is appreciated.
>
> Thanks.
>
> -Randall
>
>