I wouldn't mix eclipse into that right upfront. 

Start with a clean maven project and build.
Pull in all the cxf dependencies and config files into the beans.xml.

Define one jaxws endpoint (as in one of the samples)
Then when you can build a war file, drop it into tomcat and check if
you can get a WSDL out of your endpoint.
Then add more stuff until you have a handle on it.

Java 1st definitely works as well as RESTful webservices - CXF rocks!!
Axis will be history especially after CXF became a core of WS stack on
JBoss.

My goal is also 0 manual WSDL and RESTful webservices through annotations.
Read jaxws and jaxrs specs.
Then WS-I specs etc. There is a lot.. but the point is not to try it all at
once..


Raughan wrote:
> 
> I am trying to write a simple hello world web service using CXF and the
> Spring-DM Server in Eclipse. Right now, I just want to see an
> auto-generated wsdl so that I know it is working. I have been playing with
> this for a couple of weeks now, and have hit a wall. Any assistance that
> could be given would be appreciated.
> 
> My source code can be found here: 
> http://www.nabble.com/file/p26032499/test.zip test.zip 
> 
> I have found two seemingly competing ways to implement, however neither
> work:
>  * http://cxf.apache.org/docs/writing-a-service-with-spring.html
>  * http://cxf.apache.org/dosgi-spring-dm-demo-page.html
> 
> In the first one, it shows the code using import statements in the context
> xml file. This gives me a file not found error for any of the files
> referenced using "classpath". Also the "jaxws:endpoint" element is not
> being recognized.
> 
> The second one doesn't throw any errors, but doesn't seem to do anything
> either. I can't seem to get the wsdl to show up.
> 
> On the plus side, I have been able to get a test html page to show up. But
> that excitement has since worn off.
> 
> Thanks,
> Dennis
> 

-- 
View this message in context: 
http://www.nabble.com/Trouble-wireing-up-Spring-DM-Server---CXF-in-Eclipse-%28with-Maven-support%29-tp26032499p26040922.html
Sent from the cxf-user mailing list archive at Nabble.com.

Reply via email to