Hi Maxim,

the source folder name is called "fileservice" as the axis webService
URL path it is mapped to is also
localhost:5080/openmeetings/services/FileService?wsdl
same as source folder "roomservice" is
localhost:5080/openmeetings/services/RoomService?wsdl
so: Each Axis2 WebService has its own source folder with the package structure:
org.openmeetings.axis.services.* (and the URL pattern in lowercase as
source folder).

I have given internally the Classes the names * + WebService to have
an indicator in the name of the class for beeing used in the Axis2 or
related to the Axis2 WebService.
Otherwise it is easy to mix it up with the "Services" that are in the package:
org.openmeetings.app.remote.* (those are deployed as Red5 service and
available via RTMP)

I don't know "jabberservice" (yet :)) but is this a REST or a RTMP service?
If its a RTMP related serveice the class would be simply in the
package org.openmeetings.app.remote.JabberService in the main
"src/app" folder.
If JabberService is Axis2 related class it should have the same
structure then the other  Axis2 webservices.

Sebastian

2012/3/23 Maxim Solodovnik <[email protected]>:
> Hello Sebastian,
>
> While helping with integrating openmeetings with jabber I have created
> JabberService with following methods:
>
> /*Returns the list of all rooms available to the user identified by SID*/
> public Rooms[] getAvailableRooms(String SID)
>
> /*Returns number of users in particular room*/
> int getUserCount(String SID, Long roomId)
>
> /*Returns one-time invitation hash for the particular user*/
> String getInvitationHash(String SID, String username, Long room_id)
>
> The reasons for creating such service are:
> 1) the functionality above was necessary
> 2) There are no such methods available or there are methods but available
> for admin only
>
> Can I check this work into the trunk?
> If yes should I create separate JabberService (as it is now) or add
> necessary methods to correspondent services: UserService/RoomService?
>
>
> And one additional question:
> why do we have:
> src/fileservice
> src/jabberservice
> src/roomservice
> src/userservice
>
> but not:
> src/webservices
> or even better:
> src/app/org/openmeetings/axis/services
>
>
> Thanks in advance for your answers
>
> --
> WBR
> Maxim aka solomax



-- 
Sebastian Wagner
http://www.openmeetings.de
http://incubator.apache.org/openmeetings/
http://www.webbase-design.de
http://www.wagner-sebastian.com
[email protected]

Reply via email to