Uploaded image for project: 'Teiid Designer'
  1. Teiid Designer
  2. TEIIDDES-2284

Preview Error for REST Web Service Source

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: Blocker Blocker
    • 9.0, 8.6.1
    • 8.6
    • Data Preview
    • None

      When previewing a procedure that invokes a REST web service source, I get the following error:

      select * from ( exec "ViewModel"."google"('toolbar','reciever') ) AS X_X

      org.teiid.runtime.client.TeiidClientException: java.lang.RuntimeException: Remote org.teiid.core.TeiidProcessingException: TEIID30152 Failed to evaluate XQuery expression; Please check the query and correct errors in syntax or usage.

      However, if I add the view procedure to a VDB and deploy, I am able to execute without error.

      GOOGLE SEARCH URL: http://www.google.com/complete/search

        1. GoogleRest.mps
          49 kB
          Edwin Jones
        2. GoogleRest.mps
          23 kB
          Edwin Jones
        3. googleRestCP.xml
          0.5 kB
          Edwin Jones

              rhn-engineering-tejones Edwin Jones
              rhn-engineering-tejones Edwin Jones
              Votes:
              0 Vote for this issue
              Watchers:
              5 Start watching this issue

                Created:
                Updated:
                Resolved: