You can quickly create a web service to expose the method in the Java class as an operation in the service.
To begin creating a web service, you will launch the Create Java Web Service wizard. To launch the wizard, in the Application Navigator, right-click the project and choose New . In the New Gallery, select Web Services under Business Tier in the Categories tree and Java Web Service in the Items list, then click OK.
Alternatively, you can right-click the Java class file in the Application Navigator, and choose Cr eate Web Service from the context menu to launch the wizard.
In the wizard, you will specify a deployment platform, and then enter a web service name and port name.
You will also be selecting SOAP 1.2 binding and the Document/Literal SOAP message format.
Copyright © 1997, 2009, Oracle. All rights reserved.