Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Web Tools incubator » [JAX-WS] Unable to generate code from JAX-WS annotations
[JAX-WS] Unable to generate code from JAX-WS annotations [message #570091] Thu, 19 March 2009 23:56
Derek Palma is currently offline Derek PalmaFriend
Messages: 141
Registered: July 2009
Senior Member
Hi,

I have an existing eclipse project with a Spring nature that I want to use
with WTP JAX-WS in order to generate code for the JAX-WS annotations. I was
originally using JAX-WS from the STP project but wanted to switch to WTP. I
run my web services with Spring's
org.springframework.remoting.jaxws.SimpleJaxWsServiceExporte r, not in a web
container. My expectation is that if I edit a Java file with JAX-WS
annotations the corresponding Java should be generated when it is rebuilt. I
think I need to understand when and how they are built to solve this
problem.

Here is now I configured JAX-WS (I have not run into any specific
documentation for this other than the Fuse videos):

1) set CXF runtime tab to dir with apache-cxf-2.1.4
2) in Spring Config tab select "Use Spring Application Context" (I am not
sure what the purpose of the panel is???)
3) in <project> -> Properties -> Java Compiler -> Annotations I enabled
annotation processing by checking the box (no other changes)

I was notified with a dialog that the project needed to be rebuilt (and I
would expect it to detect the annotations in my source at this time). I see
and empty <project>/.apt_generated directory created but no .class files for
the JAX-WS annotated Java.

Any help appreciated.Thanks!
Derek
Previous Topic:[JAX-WS] Update site
Next Topic:webdav support in 3.4 or 3.5
Goto Forum:
  


Current Time: Sun Jun 04 22:13:11 GMT 2023

Powered by FUDForum. Page generated in 0.01343 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top