Given a WSDL file, what are the steps to consume a web service over the internet?

java, web-services, wsdl

Solution

The first step is to generate classes that can speak to this webservice. Take a look at open source solutions such as Axis2. This will generate stubs for you to talk to the webservice in code... then it's all up to you to use this service.

Problem

I have been given a WSDL file and I need to consume a web service using this WSDL file over the internet. I need to do this in Java. Could someone tell me the steps for doing this? I would also appreciate some useful links.

Original source

Related problems