Clicking on the Secure Service checkbox results in security features; such
as encrypting messages between the client and server; and requiring client
authentication, to be enabled for our web service.
Web service security can be configured by clicking on the Advanced ... button
and selecting the appropriate security options in the resulting window.
We can see the generated method stubs by clicking on the Source tab.
Now all we need to do is to replace the generated body of the methods in the class
with the "real" bodies, deploy our application, and our web service will be good to
go. In our case, all we need to do is divide the inches by 2.54 to convert from inches
to centimeters, and multiply the centimeters by 2.54 to convert them to inches.
Once we have replaced the method bodies with the actual required functionality,
we are ready to deploy our web service, which can be done by right-clicking on our
project and selecting Deploy .