Slow Monkey King
Slow Monkey King

Reputation: 33

How to create and test a SOAP and HTTP web service in Java, Maven, and Spring

Essentially I am trying to create a simple SOAP Webservice in Java, Maven, and Spring. I have tried following tutorials, books, and just hacking at it. Can anyone help please.

Background

What I'm trying to achieve

What I have tried:

1. Creating a web service with "Top down Java bean Web Service" type pointing to the wsdl, VMware server.

Problems:


2. Created an SomeNameEndpoint.java file and generated a web service project from this.

Problems:

Upvotes: 1

Views: 7933

Answers (1)

indybee
indybee

Reputation: 1736

This tutorial along was really helpful for me, the project is available for github download, and uses maven and spring web services. It uses spring-ws with spring annotations of @Endpoint and @PayloadRoot annotations rather than the @WebService you have above.

http://briansjavablog.blogspot.com/2013/01/spring-web-services-tutorial.html

Upvotes: 2

Related Questions