You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@openmeetings.apache.org by Maxim Solodovnik <so...@gmail.com> on 2015/05/12 07:10:20 UTC

Re: SOAP API

you need to check the sources of the project:
https://code.google.com/a/apache-extras.org/p/openmeetings-api-plugin/source/browse/#svn%2Ftrunk%2Fsrc%2Fmain%2Fscripts
real-life example of this usage is Moodle plugin:
https://code.google.com/a/apache-extras.org/p/openmeetings-moodle-plugin/source/browse/#svn%2Ftrunk

On Wed, Apr 29, 2015 at 1:58 PM, Jacob Ouanounou <ja...@free.fr>
wrote:

>
> I am ready to use PHP SOAP API to connect to OM, but the link that you
> gave me is empty (I find no sample, nor information).
>
> Does someone have a sample PHP SOAP program to connect a user from a
> server A (in PHP) to a server B with OpenMeetings, directly into a
> conference room without having the user to login into OM server ?
>
> Thanx
>
> Jacob
>
> Le 29 avr. 2015 à 05:38, Maxim Solodovnik <so...@gmail.com> a écrit :
>
> Unfortunately I never used our API from JS :( and have no time to check it
> right now :(
>
> Maybe you can use our PHP API for your purposes?
> https://code.google.com/a/apache-extras.org/p/openmeetings-api-plugin/
>
> Hopefully I will be able to add JSON support to our API in one of next
> versions (is not added now to prevent API break)
>
> On Tue, Apr 28, 2015 at 4:19 PM, Jacob Ouanounou <ja...@free.fr>
> wrote:
>
>> Hello Maxim,
>>
>> I want the user to be on my personal website (XAMPP based) and I want to
>> connect him to the OpenMeetings server, from a php or an html page in my
>> XAMPP server, directly to a specific room in OM. (I am thinking of using
>> frames)
>>
>> I have noticed that if I user my internet browser, and enter this URL :
>> 192.168.1.54:5080/openmeetings/services/UserService/getSession, I get an
>> XML answer which contains a session number (and so on for user connection
>> and Hash code for the room). But : when I use this URL in an AJAX request,
>> I get the error message that I told you :
>> XMLHttpRequest cannot load
>> http://192.168.1.54:5080/openmeetings/services/UserService/getSession.
>> No 'Access-Control-Allow-Origin' header is present on the requested
>> resource. Origin 'null' is therefore not allowed access.
>>
>> I have checked on the net the parameters to put in web.xml file
>> concerning the Access-Control-Allow-Origin (filters defined there :
>> https://tomcat.apache.org/tomcat-7.0-doc/config/filter.html) but it
>> doesn’t help.
>>
>> That you for your help.
>>
>> Jacob
>>
>> Le 27 avr. 2015 à 19:40, Maxim Solodovnik <so...@gmail.com> a écrit
>> :
>>
>> Hello,
>>
>> Could you please clarify your question?
>> Would you like to be able to use OM on "another server"?
>> Or do you like OM to authenticate users using SOAP calls to another
>> server?
>>
>> On Mon, Apr 27, 2015 at 7:33 PM, Jacob Ouanounou <jacob.ouanounou@free.fr
>> > wrote:
>>
>>> Hi !
>>>
>>> Does someone know how to configure OM to use SOAP API to login from
>>> another server ?
>>>
>>> Jacob
>>
>>
>>
>>
>> --
>> WBR
>> Maxim aka solomax
>>
>>
>>
>
>
> --
> WBR
> Maxim aka solomax
>
>
>


-- 
WBR
Maxim aka solomax