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

Yannick Warnier commented on OPENMEETINGS-802:
----------------------------------------------

OK, I reinstalled OpenMeetings in version 2.2 (and wrote this guide to remind 
myself of how to do it quickly: 
http://beeznest.wordpress.com/2013/12/30/howto-install-openmeetings-2-2-debian-wheezy/
 )
I think I'm progressing a little, at least in my understanding of how this 
thing works.

I definitely get an answer on the "userlogin" step for my "webservices" type 
user, so this is OK.

Then I want to call (this is mimicking the Moodle plugin) the 
addRoomWithModerationAndExternalType service documented here 
http://openmeetings.apache.org/RoomService.html#addRoomWithModerationAndExternalType

The XML sent looks like this:
{code:xml}
<?xml version="1.0" encoding="UTF-8"?>
<SOAP-ENV:Envelope xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/"; 
xmlns:ns1="http://services.axis.openmeetings.apache.org";>
<SOAP-ENV:Body>
<ns1:addRoomWithModerationAndExternalType>
  <ns1:SID>58f7aca25fa39b7ed4d222ec98f7b0bb</ns1:SID>
  <ns1:name>C30</ns1:name>
  <ns1:roomtypes_id>1</ns1:roomtypes_id>
  <ns1:comment>none</ns1:comment>
  <ns1:numberOfPartizipants>40</ns1:numberOfPartizipants>
  <ns1:ispublic>true</ns1:ispublic>
  <ns1:appointment>false</ns1:appointment>
  <ns1:isDemoRoom>false</ns1:isDemoRoom>
  <ns1:demoTime>0</ns1:demoTime>
  <ns1:isModeratedRoom>true</ns1:isModeratedRoom>
  <ns1:externalRoomType>moodle</ns1:externalRoomType>
</ns1:addRoomWithModerationAndExternalType>
</SOAP-ENV:Body>
</SOAP-ENV:Envelope>
{code}

So I put "moodle" as the external type because I know this is used in the 
Moodle plugin, but I have no idea what is expected there.
I'm not sure the boolean values have to be indicated as "true" and "false" in 
SOAP, but I tried.

As a result, I'm always receiving:
{code:xml}
<?xml version='1.0' encoding='utf-8'?>
<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/";>
<soapenv:Body><ns:addRoomWithModerationAndExternalTypeResponse 
xmlns:ns="http://services.axis.openmeetings.apache.org";>
<ns:return>-1</ns:return>
</ns:addRoomWithModerationAndExternalTypeResponse>
</soapenv:Body>
</soapenv:Envelope>
{code}

I also tried doing that through REST but I get the same "-1" answer. I get no 
SOAP exception or error message of any kind, just that frustrating "-1".

So my first question is: "where do I get logs from OpenMeetings' SOAP server", 
so I can debug by myself a little more...

> Integration with Chamilo LMS
> ----------------------------
>
>                 Key: OPENMEETINGS-802
>                 URL: https://issues.apache.org/jira/browse/OPENMEETINGS-802
>             Project: Openmeetings
>          Issue Type: New Feature
>          Components: SOAP/REST API
>            Reporter: Yannick Warnier
>            Priority: Trivial
>              Labels: plugin
>   Original Estimate: 168h
>  Remaining Estimate: 168h
>
> We (at Chamilo/BeezNest) are currently developing a first plugin for 
> OpenMeetings, to be integrated to Chamilo LMS 1.9.8.
> This is just a placeholder so nobody has to dedicate time on this at the same 
> time (or if you do, let me know so I can add you to the team).



--
This message was sent by Atlassian JIRA
(v6.1.5#6160)

Reply via email to