If you've come across the task of consuming a web service via a WSDL you were
given, there's a chance you may have cringed a bit. All that XML involved and
then determining your approach is a challenge as well! Do you want to use a
SOAPConnectionFactory or create an XML message by hand and parse the response?
These approaches will work but it will likely take time away from what you
really want to do and that is develop the application you're working on. Along
comes WSDL2JAVA, a tool which will build Java proxies and skeletons for services
with WSDL descriptions. In this article I'll highlight the steps needed to
consume a web service with WSDL2JAVA.
Read More >