Question

I did some Core Java programming a decade back. Now I've got a project to create SOAP website.

I've a Windows machine setup on Amazon with Eclipse installed on it.

I thought of buying this book: http://shop.oreilly.com/product/9780596001759.do but it was released in 2002 and it's contents may be obsolete.

I could not find any other stuff about how to go about creating SOAP webservice in Java.

Please HELP!

So I want to know step by step procedure, setting up the IDE + libraries etc.

Was it helpful?

Solution

Read some tutorial from internet for creating jax-ws webservice.

If you want to read some books I would recommend these two books :

1.Java Web Services: Up and Running

2.Apache CXF Web Service Development

OTHER TIPS

You can use axis2 for creating your webservices. Axis2 Web Service using Eclipse will give you some help about creating one.

The standard way is to use JaxWS, which is a part of Java 6 and later. The approach varies depending if you use the "Java classes first" or "Contract first" approach.

I always use contract first:

  • Write the WSDL and any supporting XSDs that might be required
  • Create the Java classes using wsimport (command line or as a Maven plugin)
  • Add the business logic to the generated class

There are multiple tutorials on the web. Search on JaxWS and wsimport.

The integration with Java even allows you to publish a web service from a triial command line program.

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top