[
https://issues.apache.org/jira/browse/OPENMEETINGS-2374?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17118338#comment-17118338
]
Noddy commented on OPENMEETINGS-2374:
-------------------------------------
Here is squence:
1. Create room
API: services/RoomService?wsdl
headers: \{'content-type': 'text/xml'}
body:
<x:Envelope xmlns:x="http://schemas.xmlsoap.org/soap/envelope/"
xmlns:web="http://webservice.openmeetings.apache.org/">
<x:Header/>
<x:Body>
<web:add>
<sid>%(sid)s</sid>
<room>
<name>%(name)s</name>
<type>%(type)s</type>
<capacity>%(numberOfParticipants)s</capacity>
<allowRecording>%(allowRecording)s</allowRecording>
<appointment>false</appointment>
<isPublic>false</isPublic>
<demo>false</demo>
<closed>false</closed>
<demoTime>0</demoTime>
<externalType>%(external_type)s</externalType>
<moderated>true</moderated>
<allowUserQuestions>true</allowUserQuestions>
<waitRecording>false</waitRecording>
<audioOnly>true</audioOnly>
<redirectUrl>https://ocean.paramatrix.com/droana/</redirectUrl>
</room>
</web:add>
</x:Body>
</x:Envelope>
Response:
<room_id>
2. Create Hash for external_users to join:
API: services/UserService/?wsdl
headers: \{'content-type': 'text/xml'}
body:
<x:Envelope xmlns:x="http://schemas.xmlsoap.org/soap/envelope/"
xmlns:web="http://webservice.openmeetings.apache.org/">
<x:Header/>
<x:Body>
<web:getRoomHash>
<sid>%(sid)s</sid>
<user>
<login>%(login)s</login>
<firstname>%(firstname)s</firstname>
<lastname>%(lastname)s</lastname>
<email>%(email)s</email>
<externalId>%(external_id)s</externalId>
<externalType>%(external_type)s</externalType>
</user>
<options>
<roomId>%(roomid)s</roomId>
<recordingId>%(recording_id)s</recordingId>
<moderator>%(moderator)s</moderator>
<showAudioVideoTest>%(showaudiovideotest)s</showAudioVideoTest>
<allowSameURLMultipleTimes>true</allowSameURLMultipleTimes>
<allowRecording>%(allow_recording)s</allowRecording>
</options>
</web:getRoomHash>
</x:Body>
</x:Envelope>
Returns:
<hash_code>
If i visit url with hash code, i see exception in OM's log.
If room is already created with it's type, is it again require to provide room
type in 2nd API call?.
Also add-on as i already mentioned, even if error occurred, if i room /hash and
instead manually hit on /#room/<id> then it works properly since session
already authneticated.
> An HTTP error response in websocket communication would not be processed by
> the browser.
> ----------------------------------------------------------------------------------------
>
> Key: OPENMEETINGS-2374
> URL: https://issues.apache.org/jira/browse/OPENMEETINGS-2374
> Project: Openmeetings
> Issue Type: Bug
> Components: Room, SOAP/REST API
> Affects Versions: 5.0.0-M4
> Environment: Ubuntu 20.04 | docker container
> Reporter: Noddy
> Assignee: Maxim Solodovnik
> Priority: Major
> Attachments: wb.log
>
> Original Estimate: 24h
> Remaining Estimate: 24h
>
> I created room normally with web-ui, everything works fine.
> But when i created room & logged in user using SOAP 'services/RoomService'
> and provide room URL (which redirects on /hash?secure=<random-hash> as
> usual), room freezed on loading screen and OM5 threw exception.
> Log file is attached.
--
This message was sent by Atlassian Jira
(v8.3.4#803005)