This content has been marked as final.
Show 2 replies
-
1. Re: REST service with Seam 2.1.1GA
jharting Jan 17, 2009 12:18 PM (in response to mvlach)You should use @Path(
/{customerId}
) instead of the one you have on testIt method, and then access it on .../yourapp/seam/resource/testurl/1 for instance -
2. Re: REST service with Seam 2.1.1GA
mvlach Jan 17, 2009 6:23 PM (in response to mvlach)Hi,
now the proof work. There are some problems:
1. interface annotated by @Path - can't have constructor - IndexOutOfBoundsException
2. the class wasn't visible (in hotdeploy /WEB-INF/dev folder)
3. the path is case sensitive testurl vs. testUrl
4. old version of seam (now I'm using 2.1.1GA)Now all works good.
Thanks Mila