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:
- Create a dynamic web project
- Create a JavaBean that will provide methods to be invoked over the web
- Open the Eclipse web services wizard and choose the bottom-up web service approach
- Choose the JavaBean whose methods are to be invoked over the web
- Click Finish on the Eclipse web services wizard and allow the bottom-up web services mapping to happen
- 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
- Test the SOAP web service using Eclipse’s web services explorer
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