Coffee Talk: Java, News, Stories and Opinions

Jun 9 2018   12:14AM GMT

SOAP web services bottom-up approach example in Java using Eclipse

cameronmcnz Cameron McKenzie Profile: cameronmcnz

Tags:

Before there was EJB 3.0 and the annotation based approach to SOAP web services creation, there were Eclipse tools and Apache Axis web services frameworks that made it possible to take a bottom-up approach to SOAP web services creation. And what exactly is a bottom-up web services approach? In essence, you would take a POJO or a JavaBean and tell an Eclipse wizard to create a WSDL file and all of the supporting classes required to make the methods of the JavaBean available as a web service. Apache Axis played a big role in the process as well. This SOAP web services bottom-up approach example in Java using Eclipse demonstrates exactly how a bottom-up web service mapping was done.

SOAP web services bottom up approach

The following video takes you through the entire process of creating a SOAP web service using Eclipse’s bottom-up mapping tools. We will debrief the basic steps below.

Bottom-up web services example

The basic steps following in the SOAP web services bottom-up approach example in Java using Eclipse video were as follows:

  1. Create a dynamic web project
  2. Create a JavaBean that will provide methods to be invoked over the web
  3. Open the Eclipse web services wizard and choose the bottom-up web service approach
  4. Choose the JavaBean whose methods are to be invoked over the web
  5. Click Finish on the Eclipse web services wizard and allow the bottom-up web services mapping to happen
  6. Deploy the SOAP web service to a Java EE application server that supports the Java EE web profile. Tomcat or the WebSphere Liberty profile are possible options
  7. Test the SOAP web service using Eclipse’s web services explorer
bottom up web service approach

Using eclipse to take a bottom-up approach to SOAP web service creation.

And that’s it. That’s all there is to creating a SOAP web service in Java with a bottom up approach.

Modern web services development

Looking for a more modern approache to web service development? Here are some of the latest REST tutorials and SOAP web services examples that we’ve published on TheServerSide. We highly recommend them.

Want to learn about Git?

If you’re interested in learning about the most popular version control system on the market today, take a look at the following Git tutorials and examples

 Comment on this Post

 
There was an error processing your information. Please try again later.
Thanks. We'll let you know when a new response is added.
Send me notifications when other members comment.

Forgot Password

No problem! Submit your e-mail address below. We'll send you an e-mail containing your password.

Your password has been sent to:

Share this item with your network: