-
1. Re: RESTEASY001185: Could not find resource for relative
shawkins Jul 24, 2017 2:29 PM (in response to rflesken)Can you provide the generated REST war?
-
2. Re: RESTEASY001185: Could not find resource for relative
rflesken Jul 25, 2017 3:10 AM (in response to shawkins)Hi Steven,
Thanks! Please see the project and war in the ZIP below:
Regards,
Ruud
-
3. Re: RESTEASY001185: Could not find resource for relative
rflesken Jul 25, 2017 10:06 AM (in response to shawkins)Just fixed it by removing a forward slash in the URI parameter of the virtual procedure...
The JB540 manuals showed a prefix slash there, but it shouldn't be there in Teid 9.
De application Java showed:
@Path( "//getAddress/{Postcode},{BuildingNr}
(notice 2 forward slashes)
-
4. Re: RESTEASY001185: Could not find resource for relative
shawkins Jul 25, 2017 11:05 AM (in response to rflesken)Can you point to where the documentation needs updated?
-
5. Re: RESTEASY001185: Could not find resource for relative
rflesken Jul 26, 2017 3:47 AM (in response to shawkins)Hi Steven,
I got it out of the JB450 documentation.Red Hat JBoss Data Virtualization Development - JB450
Chapter 10:
Selecting the virtual procedure name in the Model Explorer shows the properties for the procedure. There are several extension properties that begin with REST:. In this example, we set two of them:
REST:Rest Method = GET
REST:URI = /GetFirstName/{custId}
Note the use of the input parameter, custId, in the URI.
In this virtual procedure, the result, an XMLLITERAL, is built using a series of XML functions: XMLELEMENT, XMLAGG, and XMLFOREST.