Book Image

Mastering Netbeans

5 (1)
Book Image

Mastering Netbeans

5 (1)

Overview of this book

Table of Contents (17 chapters)
Mastering NetBeans
Credits
About the Author
About the Reviewers
www.PacktPub.com
Preface
Index

Web Services


Invoking web services used to be a complicated procedure. You had to choose a client web services library to use and then usually write an Ant script that would parse a WSDL file and generate some client classes for you. Fortunately, NetBeans has made this whole process a lot easier. With NetBeans, we can now simply drag and drop a web service into a class, allowing us to easily invoke web service operations. Let's take a look at exactly what we mean by this.

Within the Web Services node of the Services window, NetBeans is preconfigured with many web service definitions from the following vendors:

  • Amazon

  • Delicious

  • Flickr

  • Google

  • StrikeIton

  • WeatherBug

  • Zillow

  • Zvents

Each of these categories contains one or more different web services that we can invoke from within our applications. For example, if we expand the Amazon node, we can see that there are web services for Amazon—Associates Service, EC2 Service, S3 Buckets Service, and S3 Service:

Expanding any service completely will result in...