Hi Folks, Thanks for the replies. I agree with Alfred and Tauf... it would be best to wrap the WS calls inside an application or some other interface. And we have done that. Some of our PHP and Perl experts have built modules that expose the Web services indirectly. But when these modules were built, we weren't really aware of this issue so no effort was made to ensure that the qualification was not null. I plan to go back to these groups and request this type of checking be added.
However, we have also published the Web services directly so there is the possibility that they are out there, "in the wild". I was hoping there were steps that I could take from the Remedy side to make sure that WS requests with null qualifications could be caught and handled. Thanks again for your assistance. On Mon, Jul 29, 2013 at 3:49 PM, Differ, Alfred W CTR PHD NSWC, 210 < [email protected]> wrote: > With a previous employer our users were interacting with a web app that > would construct the WS request. We just made sure the qualification line > could not be null in the app and then intentionally hid the WS URL from the > outside world. With no way to get inside except through that app, we > prevented the null qualification or at least made sure it was our error if > it DID happen. > > -al > > > -----Original Message----- > From: Action Request System discussion list(ARSList) [mailto: > [email protected]] On Behalf Of L G Robinson > Sent: Monday, July 29, 2013 12:33 PM > To: [email protected] > Subject: Web services with null qualifications > > ** > Hi Folks, > > > We make heavy use of Web services here at NC State and I have come across > a problem. We have a number of standard get-entry and get-list operations > defined against our main form. These operations have the usual: > > > Qualification > StartRecord > MaxLimit > > > input parameters. > > > The problem... If a user of the Web services invokes one of these > operations with a null qualification, this results in a full table scan. > Obviously, this is not ideal for a table with ~275K records. > > > My server settings are set to disallow unqualified searches > (Allow-Unqual-Queries: F) and there is also a limit on the number of > returned records (Max-Entries-Per-Query: 50000). Apparently, the Web > services are exempt from these limitations. > > > Does anyone have any suggestions on how I can prevent these table scans? > It doesn't happen often but when it does, I end up restarting the AR server > as performance eventually becomes unacceptable before the scan completes. > > > On a side note, if I know the server thread that is processing the table > scan, is there any way to kill that process without killing the whole > server? > > > Thanks for any insights you might have. > > > ARS: 7.6.03 on Solaris 10. > Mid Tier: 7.6.04 SP3 201208101612 Hotfix on Red Hat Linux > Tomcat: 6.0.35 > Java: 1.7.0_05 > > > Larry Robinson > Remedy Developer/Admin > NC State University > Raleigh, NC > > > PS: I voted. ;-) > _ARSlist: "Where the Answers Are" and have been for 20 years_ > > > _______________________________________________________________________________ > UNSUBSCRIBE or access ARSlist Archives at www.arslist.org > "Where the Answers Are, and have been for 20 years" > _______________________________________________________________________________ UNSUBSCRIBE or access ARSlist Archives at www.arslist.org "Where the Answers Are, and have been for 20 years"

