Hi.
I'm trying to get the ajax client to work following the guide at:
http://docs.jboss.org/resteasy/docs/2.0.0.GA/userguide/html_single/index.html#d0e3137
<http://docs.jboss.org/resteasy/docs/2.0.0.GA/userguide/html_single/index.html#d0e3137>I
am using JBOSS AS 6 M5 and my project is generated using the weld archetype
with some modifications.
Here is my pom: http://github.com/kenglxn/cdi-demo/blob/master/pom.xml
Here is my web.xml:
http://github.com/kenglxn/cdi-demo/blob/master/src/main/webapp/WEB-INF/web.xml
<http://gist.github.com/630714>I have followed the example and added
a JAX-RS API:
http://github.com/kenglxn/cdi-demo/blob/master/src/main/java/demo/resteasy/Foo.java
<http://gist.github.com/630715>I can't seem to find the generated javascript
anywhere. The result of a request to http://localhost:8080/cdi-demo/rest-js
gives: http://gist.github.com/630725
And there is no automatically generated javascript api.
Can't seem to figure out what I'm missing.
<http://gist.github.com/630725>Any help is greatly appreciated :)
/ken
P.S: the code in question is located here:
http://github.com/kenglxn/cdi-demo
|