[
https://issues.apache.org/jira/browse/OPENMEETINGS-1857?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Maxim Solodovnik updated OPENMEETINGS-1857:
-------------------------------------------
Issue Type: Bug (was: Task)
> RoomWebService hash method is broken
> ------------------------------------
>
> Key: OPENMEETINGS-1857
> URL: https://issues.apache.org/jira/browse/OPENMEETINGS-1857
> Project: Openmeetings
> Issue Type: Bug
> Components: SOAP/REST API
> Affects Versions: 4.0.2
> Reporter: Maxim Solodovnik
> Assignee: Maxim Solodovnik
> Priority: Major
> Fix For: 4.0.3, 5.0.0
>
>
> Hello,
>
> I have a problem with Room hash invitation in
> RoomWebService.
> Given Service :
> @Path(value="/hash")
> public ServiceResult
> hash(@QueryParam(value="sid")
> String sid,
>
> @QueryParam(value="invite")
> InvitationDTO invite,
>
> @QueryParam(value="sendmail")
> boolean sendmail)
> I can generate following URL :
> URL :
> /room/hash?sid=94bc68fa-a946-4b0d-a845-e959deeab317&invite={"firstname":"Mark","lastname":"Steven","email":"[[email protected]|mailto:[email protected]]","password":"Sys@123!","passwordProtected":true,"subject":"Health
> Meeting","roomId":"2","message":"Meeting","validFrom":"2018-03-19
> 02:25:12","validTo":"2018-04-20 02:25:12"}&sendmail=true
>
> parameter as bellow,
> sid = 94bc68fa-a946-4b0d-a845-e959deeab317
> invite =
> {"firstname":"Mark","lastname":"Steven","email":"[[email protected]|mailto:[email protected]]","password":"Sys@123!","passwordProtected":true,"subject":"Health
> Meeting","roomId":"2","message":"Meeting","validFrom":"2018-03-19
> 02:25:12","validTo":"2018-04-20 02:25:12"}
> sendmail = true
>
> On Restlet it will give me 500 Error :
> Parameter Class
> org.apache.openmeetings.db.dto.room.InvitationDTO has no constructor with
> single String parameter, static valueOf(String) or fromString(String) methods
>
> So please suggest how to pass parameter in
> room hash webservice, Specifically @QueryParam(value="invite")InvitationDTO
> invite. And How to genarate URL for this RoomWebService.
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)