Java Reference
In-Depth Information
At this point, a new node labeled Web Service References is added to our project.
Expanding this node all the way reveals the operations we defined in our web
services project.
Typically, writing a web services client involves some amount of "boilerplate" code,
however, when using NetBeans, we can simply drag the web service operation we
wish to invoke to our code. This results in generating all necessary boilerplate code,
and leaving us to simply specify which parameters we want to send to the web
service. Dragging the inchesToCentimeters operation from the Projects window to
the main class of our web services client project results in the following code being
generated:
 
Search WWH ::




Custom Search