Uploaded image for project: 'Teiid'
  1. Teiid
  2. TEIID-3814

Rest Web Service URL for VDB

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: Minor Minor
    • 8.12.3, 8.13
    • 8.4
    • None
    • None
    • Hide

      Create a Project with a model view defined with capital letters (eg.testView) and a procedure in it.

      Follow the instructions on

      https://docs.jboss.org/author/display/teiid812final/REST+Service+Through+VDB

      to expose the procedure as a web service

      Example:
      VDB name: testVdb
      Model View name: testView
      Procedure name: listXML

      http://serverAddress:port/testVdb_1/testView/listXML/0000004541 --> does not work (JBWEB000124: The requested resource is not available.)

      http://serverAddress:port/testVdb_1/testview/listXML/0000004541 --> works

      Show
      Create a Project with a model view defined with capital letters (eg.testView) and a procedure in it. Follow the instructions on https://docs.jboss.org/author/display/teiid812final/REST+Service+Through+VDB to expose the procedure as a web service Example: VDB name: testVdb Model View name: testView Procedure name: listXML http://serverAddress:port/testVdb_1/testView/listXML/0000004541 --> does not work (JBWEB000124: The requested resource is not available.) http://serverAddress:port/testVdb_1/testview/listXML/0000004541 --> works
    • Workaround Exists
    • Hide

      Insert the "view" part of the URL in lower letters

      Show
      Insert the "view" part of the URL in lower letters

      Exposing a Teiid Procedure as Rest Service the url, as defined in
      https://docs.jboss.org/author/display/teiid812final/REST+Service+Through+VDB as

      http://

      {host}

      :8080/sample_1/view/g1/123

      "view" must be in lower case in order to be accepted, even if it is been created with capital letters.

              rhn-engineering-rareddy Ramesh Reddy
              mirco73_jira Mirco Marchitiello (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

                Created:
                Updated:
                Resolved: