Java Reference
In-Depth Information
To add a web service operation, we simply need to click on the
Add
Operation...
button and fill in the blanks in the resulting window.
Our web service will have two operations; one to convert from inches to centimeters
and another one to convert centimeters to inches. Both of these operations will
take a single parameter of type double, and return a double value. After clicking
on the
Add Operation...
button we can enter the required information for the
inchesToCentimeters
operation.
We then need to do the same for the
centimetersToInches
operation (not shown).
After doing so our design window will show the newly added operations.