OK,
Just have checked :))
The problem is here:
<options>
<!--Optional:-->
<roomId>1</roomId>
<!--Optional:-->
<recordingId>1</recordingId>
<moderator>1</moderator>
<showAudioVideoTest>1</showAudioVideoTest>
<allowSameURLMultipleTimes>1</allowSameURLMultipleTimes>
<allowRecording>1</allowRecording>
</options>
You are specifying both *roomId* and *recordingId *which is wrong :(
You should specify only one of those
*roomId* if you would like to enter the room
*recordingId* if you would like to show recording
Please also NOTE <moderator>1</moderator> might not work (doesn't work for
JSON) you might need to specify <moderator>true</moderator>
On Thu, Jun 21, 2018 at 9:44 AM Maxim Solodovnik <[email protected]>
wrote:
> Hello,
>
> I'm usually testing REST (it is faster to test :))))
> will try your exact values and will write back
>
> On Wed, Jun 20, 2018 at 11:38 PM Equinoxe 4 <[email protected]>
> wrote:
>
>> I have tried to do the sequence of calls using SoapUI directly (no PHP
>> APIs). I first call:
>>
>> http://localhost:5080/openmeetings/services/UserService
>>
>> <soapenv:Envelope xmlns:soapenv="
>> http://schemas.xmlsoap.org/soap/envelope/" xmlns:web="
>> http://webservice.openmeetings.apache.org/">
>> <soapenv:Header/>
>> <soapenv:Body>
>> <web:login>
>> <!--Optional:-->
>> <user>rgonzalez</user>
>> <!--Optional:-->
>> <pass>******</pass>
>> </web:login>
>> </soapenv:Body>
>> </soapenv:Envelope>
>>
>> (rgonzalez is an user with all the rights).
>>
>> Then I call this to generate the room hash, using the SID I got from the
>> previous call:
>>
>> http://localhost:5080/openmeetings/services/UserService
>>
>> <soapenv:Envelope xmlns:soapenv="
>> http://schemas.xmlsoap.org/soap/envelope/" xmlns:web="
>> http://webservice.openmeetings.apache.org/">
>> <soapenv:Header/>
>> <soapenv:Body>
>> <web:getRoomHash>
>> <!--Optional:-->
>> <sid>3b4f8c0e-40d1-4156-bf7e-67ca6b171438</sid>
>> <!--Optional:-->
>> <user>
>> <!--Optional:-->
>> <login>patito</login>
>> <!--Optional:-->
>> <firstname>S</firstname>
>> <!--Optional:-->
>> <lastname>F</lastname>
>> <!--Optional:-->
>> <profilePictureUrl></profilePictureUrl>
>> <!--Optional:-->
>> <email>[email protected]</email>
>> <!--Optional:-->
>> <externalId>1</externalId>
>> <!--Optional:-->
>> <externalType>1</externalType>
>> </user>
>> <!--Optional:-->
>> <options>
>> <!--Optional:-->
>> <roomId>1</roomId>
>> <!--Optional:-->
>> <recordingId>1</recordingId>
>> <moderator>1</moderator>
>> <showAudioVideoTest>1</showAudioVideoTest>
>> <allowSameURLMultipleTimes>1</allowSameURLMultipleTimes>
>> <allowRecording>1</allowRecording>
>> </options>
>> </web:getRoomHash>
>> </soapenv:Body>
>> </soapenv:Envelope>
>>
>> As far as I understand, this is the correct sequence (see
>> https://openmeetings.apache.org/RestAPISample.html )
>>
>> But them I try to enter the room I got from the previous call:
>>
>>
>> http://localhost:5080/openmeetings/hash?secure=37713a28-41e4-4979-a957-a10424a2be53&language=1
>>
>> and I get a blank screen with just some labels.
>>
>> I wonder if this is the right sequence of calls or I'm missing something?
>> (os SOAP is broken?)
>>
>> Any help is appreciated.
>> R.
>>
>>
>> ________________________________________
>> De: Equinoxe 4 <[email protected]>
>> Enviado: martes, 19 de junio de 2018 10:34:59 p. m.
>> Para: [email protected]
>> Asunto: SOAP integration
>>
>> Hi,
>>
>> I'm trying to integrate OM to an existing system. So far I have been able
>> to créate the room and get the hash, but whenever the user clicks the link
>> for the room, been like:
>>
>>
>> http://localhost:5080/openmeetings/hash?secure=4070e883-9e10-4074-93cf-e0968c7d8de8&language=1
>>
>> I get an almost blank page with just the title and some labels, and a
>> dropdown with "MP4" as the only ítem. I don't know if attachments are
>> allowed in this group, but I could send a screenshot. In the log I only get:
>>
>> DEBUG 06-19 20:58:34.866 o.a.o.d.u.AuthLevelUtil:42 [0.0-5080-exec-6] -
>> Level Admin :: [DENIED]
>>
>> But I guess this corresponds to another browser tab where I have an OM
>> admin session opened, which get closed at the same time that the room is
>> loaded in the other tab.
>>
>> I'd thank any help, just tell me if you need any other detail.
>>
>> Thanks.
>> R.
>>
>
>
> --
> WBR
> Maxim aka solomax
>
--
WBR
Maxim aka solomax