[
https://issues.apache.org/jira/browse/OPENMEETINGS-1857?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16407959#comment-16407959
]
ASF subversion and git services commented on OPENMEETINGS-1857:
---------------------------------------------------------------
Commit 9e93ededc9d06a3886d3b378f030315d999bc3af in openmeetings's branch
refs/heads/master from [~solomax]
[ https://gitbox.apache.org/repos/asf?p=openmeetings.git;h=9e93ede ]
[OPENMEETINGS-1857] 'hash' method of room service is fixed
> RoomWebService hash method is broken
> ------------------------------------
>
> Key: OPENMEETINGS-1857
> URL: https://issues.apache.org/jira/browse/OPENMEETINGS-1857
> Project: Openmeetings
> Issue Type: Task
> 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)