THIS IS A TEST INSTANCE. ALL YOUR CHANGES WILL BE LOST!!!!
...
- Select Window -> Preferences.
- Select Web Services -> Axis2 Preferences.
- Under Axis2 Runtime tab, browse to the installation root of the Axis2 runtime installation to be used in Eclipse. Select OK.
Info title Useful Information A separate Axis2 runtime is required for use by the Eclipse Axis2 project facet. You can download use the pre-integrated Axis2 1.3 4 binaries (axis2axis-1.3-bin4.zipjar) from the following URL:
http://ws.apache.org/axis2/download.cgi
Unzip the downloaded binary and remember where you install it.local Geronimo repository under <Geronimo_home>/repository/axis/axis/1.4 - Righ click on the jaxws-calculator project and select Properties, then select Project Facets.
- On the next screen check the box for Axis2 Web Services.
- Select Finish.
This completes the configuration of Eclipse for application development.
...
- Export the source files to a jar as shown in the following three figures.
- Open a command prompt and point it to the bin directory of server installation.
- Run the command:
In this command -classpath is used to set the source.jar exported from Eclipse in the classpath, -d defines the location where all the generated artifacts will be placed, -wsdl:soap1.1 suggests a WSDL generation following soap1.1 protocol, and org.apache.geronimo.samples.jws.CalculatorService is the SEI used to generate the WSDL.Code Block title WSDL Generation command borderStyle solid Administrator@T60J9:/> jaxws-tools.bat wsgen -classpath C:/WSDL/source.jar -d C:/WSDL/ -wsdl:soap1.1 org.apache.geronimo.samples.jws.CalculatorService
- Once the above command is run
Calculator_schema1.xsd
andCalculator.wsdl
will be generated atC:/WSDL/
. - Rename
Calculator.wsdl
asCalculatorService.wsdl
and add both the generated files to WEB-INF directory of the project.
- Run the command:
...