https://issues.apache.org/jira/browse/OPENMEETINGS-1857
On Wed, Mar 21, 2018 at 9:04 PM, Maxim Solodovnik <[email protected]> wrote: > Will do it myself > > On Wed, Mar 21, 2018 at 8:54 PM, Maxim Solodovnik <[email protected]> > wrote: > >> Seems to be reproducible >> please file JIRA >> >> On Wed, Mar 21, 2018 at 8:02 PM, Shamsundar Bairagi < >> [email protected]> wrote: >> >>> 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-4 >>> b0d-a845-e959deeab317&invite={"firstname":"Mark","lastname": >>> "Steven","email":"[email protected]","password":"Sys@123!","pass >>> wordProtected":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-e959de >>> eab317 >>> >>> invite = {"firstname":"Mark","lastname" >>> :"Steven","email":"[email protected]","password":"Sys@123!","pas >>> swordProtected":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. >>> >>> >>> >>> Thanks & Regards, >>> >>> *Shamsundar K. Bairagi* >>> >>> Software Engineer | TRIARQ Health >>> >>> *Mobile*: +91.82750.23265 >>> >>> *Office*: +91.253.2344395/96 x 525 >>> >>> www.TRIARQhealth.com <http://www.triarqhealth.com/> >>> >>> >>> >>> [image: cid:[email protected]] >>> >>> >>> >>> [image: cid:[email protected]] >>> <https://www.facebook.com/TriarqHealth/> [image: Image result for >>> instagram logo] <https://www.instagram.com/triarqhealth/?hl=en> [image: >>> cid:[email protected]] >>> <https://twitter.com/triarqhealth?lang=en> [image: Image result for >>> linkedin logo] <https://www.linkedin.com/company/9246337/> [image: >>> youtube_social_icon_red] >>> <https://www.youtube.com/channel/UCuvgSm3gg1wY9hxjm2ZdMhQ/featured> >>> >>> >>> >>> *This e-mail message and any documents attached to it are confidential >>> and may contain information that is protected from disclosure by various >>> federal and state laws, including the HIPAA privacy rule (45 C.F.R., Part >>> 164). This information is intended to be used solely by the entity or >>> individual to whom this message is addressed. If you are not the intended >>> recipient, be advised that any use, dissemination, forwarding, printing, or >>> copying of this message without the sender's written permission >>> is strictly prohibited and may be unlawful. Accordingly, if you have >>> received this message in error, please notify the sender immediately by >>> phone at **1.877.456.3671* <(877)%20456-3671>*, and then delete this >>> message.* >>> >>> >>> >> >> >> >> -- >> WBR >> Maxim aka solomax >> > > > > -- > WBR > Maxim aka solomax > -- WBR Maxim aka solomax
