grouper-users - RE: [grouper-users] Web Service error condition catching
Subject: Grouper Users - Open Discussion List
List archive
- From: "Black, Carey M." <>
- To: Jeffrey Crawford <>
- Cc: Gouper Users List <>
- Subject: RE: [grouper-users] Web Service error condition catching
- Date: Tue, 12 Dec 2017 17:34:47 +0000
- Accept-language: en-US
- Authentication-results: spf=pass (sender IP is 128.146.138.10) smtp.mailfrom=osu.edu; internet2.edu; dkim=none (message not signed) header.d=none;internet2.edu; dmarc=pass action=none header.from=osu.edu;
- Ironport-phdr: 9a23:3GgQVRE+osZzHxx+U5c1nZ1GYnF86YWxBRYc798ds5kLTJ7yp82wAkXT6L1XgUPTWs2DsrQY07OQ6/iocFdDyK7JiGoFfp1IWk1NouQttCtkPvS4D1bmJuXhdS0wEZcKflZk+3amLRodQ56mNBXdrXKo8DEdBAj0OxZrKeTpAI7SiNm82/yv95HJbAhEmCexbaluIBmqsA7cqtQYjYx+J6gr1xDHuGFIe+NYxWNpIVKcgRPx7dqu8ZBg7ipdpesv+9ZPXqvmcas4S6dYDCk9PGAu+MLrrxjDQhCR6XYaT24bjwBHAwnB7BH9Q5fxri73vfdz1SWGIcH7S60/VC+85Kl3VhDnlCYHNyY48G7JjMxwkLlbqw+lqxBm3oLYfJ2ZOP94c6jAf90VWHBBU95RWSJfH428c4UBAekPPelaronyu1QBoACkCgWwAO7i0CNEimP00KA8zu8vERvG3AslH98WvnjZsdH1O70OXuC21KXD0CvOYOlM2Tjj6InDbxcvreuCUbltdsfe0k0vGBnZgVWTs4DpIi2Z2+oWvmic9OpgSPijhHA6pAFsuzWiwNonhIrRho8N11zI6Sp0zJw6KNC6UkJ2bsOoHIFNuy2HNYZ6WsEvTm5ytConxbAKpYS3cSYUxJg9wxPTdeSLc4aW7R/gSOqcJDJ1iXJ5d72jiRa/9Fasx+L9W8ap1VtHoSpIn9vCu30IyxPc8dOIReF780y8wziAzRrT5ftBIU0slarUNZohwrkom5QLrUnNGTP6lUvvgKGYcUsp9PGk6+P8bbr4vJOcMJJ0ih3lPaQph8y/B/k3PhIWX2iB/uS8yKPs8lHlQLVLif02lLPVsJfHJcQHoq65BAhV0oU55xmjCDem1cwUnXgBLF1bZBKKl5XlN03BLfziAvqygU6gnTh2y/zcI7HtH5fAImDGkLj7fLZ970BcyBA0zdBa/59bEbUBL+jvVU/yrtDUEwE1PgKvzubgE9V9y5kSVnySDa+EKK/Sq0OH5vozI+mQY48YoDn9K+Ii5/7zlX82h0UdcbC03ZsMdn+4BO9mLl6dYXrtmdcBDXwKshQkQOzrjl2CTSBcZ2y0X60i+jE3FpiqApneSYCw0/S923KZE5NYfG1XQnuWGGjmcJ+IE6MOZSycOMJwmRQZXqOqDYItyEf9mhX9zu8tBO7d8S5c/bnqztVkr8iV31lm/zh9BMfbijvWZ2ZvgyUFSyJgj/M3mlB01lrWifswuPdfD9EGoqoRCgo=
- Spamdiagnosticmetadata: NSPM
- Spamdiagnosticoutput: 1:99
Jeffrey Crawford, It looks like Jeff McCullough can get back a thrown Java exception message. Maybe you (Jeffrey) are not seeing your message due to how you are calling the Web Service? ( I have not tested this…. ) I reviewed the v2_3?wsdl and it looks like ( at least in the SOAP based calls ) there may be a way to get this kind of information in the returned response. I am look at this part: “ <xs:complexType name="WsResultMeta"> <xs:sequence> <xs:element maxOccurs="unbounded" minOccurs="0" name="params" nillable="true" type="ns:WsParam"/> <xs:element minOccurs="0" name="resultCode" nillable="true" type="xs:string"/> <xs:element minOccurs="0" name="resultCode2" nillable="true" type="xs:string"/> <xs:element minOccurs="0" name="resultMessage" nillable="true" type="xs:string"/> <xs:element minOccurs="0" name="success" nillable="true" type="xs:string"/> </xs:sequence> </xs:complexType> “ You may not be requesting the meta results in your calling of the Web Service? Maybe the REST form does not return the same meta data? ( I have not checked… but I hope it would be there too….) Just a few thoughts. ( Again, I have not tested my ideas out.) HTH. --
Carey Matthew From: [mailto:]
On Behalf Of Jeffrey Crawford Yes group name uniqueness is installed, however it seems like the failure is the same kind of failure you get if you don't have permission to create the new group. This is making informing the user
the reason why difficult. Is there some sort of status a web service could query? I suppose one could check if the group exists but wouldn't they need to try all the different cases? or can the web service search for a group in a case insensitive way? (Sorry
I don't use the WS much myself) I don't think getting a list of all groups to parse is very feasible since the list is very large. Is there really no message from the WS that informs the service as to why it failed, the UI says "The group ID is already in use, please
use a different ID" which seems to indicate that there is some way to do that. Thanks for your input
Jeffrey E. Crawford ^ ^ / \ ^ / \ ^ / \/ \ / \ / \ / \/ \/ \ / \ You have been assigned this mountain to prove to others that it *can* be moved. On Tue, Dec 12, 2017 at 12:03 AM, Hyzer, Chris <> wrote:
|
- [grouper-users] Web Service error condition catching, Jeffrey Crawford, 12/04/2017
- [grouper-users] Re: Web Service error condition catching, Jeffrey Crawford, 12/11/2017
- Re: [grouper-users] Web Service error condition catching, Jeff McCullough, 12/11/2017
- RE: [grouper-users] Web Service error condition catching, Hyzer, Chris, 12/12/2017
- Re: [grouper-users] Web Service error condition catching, Jeffrey Crawford, 12/12/2017
- RE: [grouper-users] Web Service error condition catching, Black, Carey M., 12/12/2017
- Re: [grouper-users] Web Service error condition catching, Jeffrey Crawford, 12/12/2017
- RE: [grouper-users] Web Service error condition catching, Hyzer, Chris, 12/13/2017
- Re: [grouper-users] Web Service error condition catching, Jeffrey Crawford, 12/18/2017
- RE: [grouper-users] Web Service error condition catching, Black, Carey M., 12/12/2017
- Re: [grouper-users] Web Service error condition catching, Jeffrey Crawford, 12/12/2017
- RE: [grouper-users] Web Service error condition catching, Hyzer, Chris, 12/12/2017
- Re: [grouper-users] Web Service error condition catching, Jeff McCullough, 12/11/2017
- [grouper-users] Re: Web Service error condition catching, Jeffrey Crawford, 12/11/2017
Archive powered by MHonArc 2.6.19.