Skip to main content

Query on Cached service with Lookup table

Comments

2 comments

  • Dan Giersz
    I would talk to your network administrators about it.  Sounds like some sort of network config blocking the queries from external sources.  When I try it, Fiddler shows the query requests getting rejected (even when running it from the services REST endpoint and not the viewer).  Also seems to be all your layers, not just SA Vegetation.
    0
  • Chris Roberts
    Thanks Dan

     

    What I have found out is that its to do with the LIKE expression and the % wildcard is a blacklisted character by the F5 confirguration. The Network managers wont change this policy as far as the policy is concerned it looks like a "SQL Injection" attack. Therfore, any LIKE comparison wont get past out DMZ-e front end.

     

    They did suggest a work around by rewriting the query using an Orcale regular expression to return the same result:

     

    eg where=(LOWER(HUNDRED) LIKE LOWER('%APPILA%')) is rewritten as where=REGEXP_LIKE(LOWER(HUNDRED), LOWER('APPILA'))

     

    Is this even possible to do in Geocortex???

     

    My other option is just to remove the contains and does not contain options from the Query options.

     

     

     
    0

Please sign in to leave a comment.