sebawagner commented on a change in pull request #121:
URL: https://github.com/apache/openmeetings/pull/121#discussion_r565065591
##########
File path:
openmeetings-webservice/src/main/java/org/apache/openmeetings/webservice/UserWebService.java
##########
@@ -156,7 +156,7 @@ public UserDTO add(
@WebParam(name="sid") @QueryParam("sid") String sid
, @WebParam(name="user") @FormParam("user") UserDTO user
, @WebParam(name="confirm") @FormParam("confirm")
Boolean confirm
- )
+ ) throws ServiceException
Review comment:
It has to. That is the only way how it recognised by CXF to put mappings
for this object into the response payload.
If you don't, then CXF (no matter if Soap or Rest) won't know what to do
with this object and just return error 500 without any message.
See for example: https://stackoverflow.com/a/7992326/1448704
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
[email protected]