[ 
https://issues.apache.org/jira/browse/OPENMEETINGS-2353?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17109156#comment-17109156
 ] 

Murali commented on OPENMEETINGS-2353:
--------------------------------------

Here is the code i have tried.

$client = new OpenMeetingsSoap('admin','Admin@123');

$user =  [

                   
'address'=>['additionalname'=>'additionalname','comment'=>'comment','fax'=>'2327337','country'=>'IT','street'=>'test','town'=>'test','zip'=>'2234234','mail'=>'[[email protected]|mailto:[email protected]]','phone'=>'2343434334'],

        'externalId'=>'1',

        'externalType'=>'School',

        'firstname'=>'padma',

                              'id'=>"25",

       'languageId'=>"1",

       'lastname'=>'priya',

       'login'=>'padma123',

       'password'=>'Padma@123',

                  'pictureUri'=>'picture',

                  'rights'=>'SOAP',

                  'timeZoneId'=>'Asia/Kolkata',

                  'type'=>'EXTERNAL'    

     ];

$client->addUser($user,'false');

public function addUser($user = null, $confirm= null)

{

               $client = new \mongosoft\soapclient\Client([

                                             'url' => 
'[http://216.158.233.60:5080/openmeetings/services/UserService?wsdl]',

                              ]);

        return 
$client->add(['sid'=>$this->sid,'user'=>$user,'confirm'=>$confirm]);

  }

 

i am using 
[apache-openmeetings-5.0.0-M4|https://www.apache.org/dyn/closer.lua/openmeetings/5.0.0-M4/bin/apache-openmeetings-5.0.0-M4.zip]

i am trying to implement from laravel.

 

regards

Murali

> unable to add User from SOAP API
> --------------------------------
>
>                 Key: OPENMEETINGS-2353
>                 URL: https://issues.apache.org/jira/browse/OPENMEETINGS-2353
>             Project: Openmeetings
>          Issue Type: Bug
>          Components: SOAP/REST API
>    Affects Versions: 5.0.0-M4
>            Reporter: Murali
>            Assignee: Maxim Solodovnik
>            Priority: Major
>
> Hi
> When i am trying to add a new user using SOAP, i am getting following error.
> local.ERROR: Marshalling Error: class 
> org.apache.openmeetings.webservice.error.ServiceException nor any of its 
> super class is known to this context. {"exception":"[object] 
> (mongosoft\\soapclient\\Exception(code: 0): Marshalling Error: class 
> org.apache.openmeetings.webservice.error.ServiceException nor any of its 
> super class is known to this context. at 
> C:\\xampp\\htdocs\\school\\vendor\\mongosoft\\yii2-soap-client\\Client.php:66,
>  SoapFault(code: 0): Marshalling Error: class 
> org.apache.openmeetings.webservice.error.ServiceException nor any of its 
> super class is known to this context. at 
> C:\\xampp\\htdocs\\school\\vendor\\mongosoft\\yii2-soap-client\\Client.php:64)
>  
> Please help me.



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

Reply via email to