What is the best class/bean to use for a Java Soap Web Service? I am a .NET guy and can't really tell from any articles on the web.
Asked
Active
Viewed 1,342 times
2 Answers
1
If you like to use spring-ws, just follow the tutorial on Spring Source. Basically, you have to
- define a dispatcher for SOAP requests in your web.xml file
- define a given WSDL in your spring-ws context XML file
- annotate any Bean with @Endpoint, and one method with @PayloadRoot(...)
These are the first basic steps to create a web service endpoint with Spring WS.

Oliver Marienfeld
- 1,154
- 9
- 17
0
for those looking for a simple tutorial, I recommend: http://www.javacodegeeks.com/2010/11/jaxws-with-spring-and-maven-tutorial.html makes use of spring-ws and spring-web

mel3kings
- 8,857
- 3
- 60
- 68