Back Forum Reply New

Project to be selected for spring-ws (getting started)

Dear all,

I'm trying to develop my own webservices using spring-ws.

Therefore I've downloaded:

- SpringSource Tool Suite Version: 2.2.1.200910210131-RELEASE (IDE)
- Spring-framework-3.0.0.RC2 (Spring framework)
- Spring-ws-1.5.8 (Spring-ws)

I'm trying to verify the example shown on the following webpage:

articles/spring-ws-how

Unfortunately I'm not able to understand what eclipse project I need to choose in order to deploy my webservice on the dm server after developing it.

I've tried quot;Spring Projectquot; but there is no way to deploy on tc or dm server.
Furthermore I've tried to use Maven Project but I do not have a spring-ws-archtype for it.

Thus I'm wondering:

a) what eclipse project do I need to choose in order to develop and deploy a string-ws using sts?
b) Is there a good (maybe screencast) example how to do so?

Cheers,
Stefan

1/ I create a dynamic web project under eclipse
2/ this post (2007/...spring-ws.html) helped me a lot

And get familiar with xsd stuff, that was the hard part for me (and this tool 2009/...-xml-file.html helped me a lot too)

Thank you for your support. I still struggle with a couple of issues

What have I done?

- I started a new quot;Dynamic Web Projectquot; in Eclipse
- I created the java source files mentioned in your quot;Echo Service Examplequot;
- I created a spring configuration file which I called quot;spring-ws.xmlquot; and placed it on the root level of the eclipse project
- I adjusted my web.xml based on the quot;Echo Service Examplequot;
- I've added the following three libraries to the project (spring-ws-1.5.8-all.jar, jdom.jar, org..core-3.0.0.0.RC2.jar)

You can see everything I've done in the attached screenshot.

My open questions are:

1. What do I need to do next? I'd like to deploy the webservice to my glassfish webserver.

2. Is it right to place the spring configuration file in the project root folder?

3. Do I have to name the configuration file in a special way?

4. How do I generate a WSDL file so that I can test the deployed (refer [1]) webservice using SOAPUI?

P.S. If it does not take too long for you it would be very helpful for me to see how your Dynamic Web Project is set up (maybe per screenshot).

Cheers,
Stefan

-
¥
Back Forum Reply New