Changeset 3958 for TI01-discovery/branches/ws-Discovery2-upgrade/readme.txt
- Timestamp:
- 29/05/08 12:14:45 (13 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
TI01-discovery/branches/ws-Discovery2-upgrade/readme.txt
r3945 r3958 4 4 NB, completing the build here assumes you have both apache axis2 and ant installed. The AXIS2_HOME environment variable 5 5 should be set to point to the top level directory of the axis2 install. If you are deploying locally to tomcat, you need 6 to set CATALINA_HOME to the home dir of the tomcat install. Also, you may need to copy jdom.jar into your java jre/ext/lib dir 7 to get the compile working. 6 to set CATALINA_HOME to the home dir of the tomcat install. 8 7 9 8 The build file, \srcgen\buildDiscovery.xml, now includes targets to run the WSDL2Java code generation and do all the setting up … … 17 16 ant -f buildClient.xml - defaults to building the service jar 18 17 19 NB, to get the DiscoveryService.wsdl file to be generated properly, you will likely have to temporarily rename the jsr18 NB, to get the DiscoveryService.wsdl file to be generated properly, you may have to temporarily rename the jsr 20 19 file, as mentioned below. Also note that the WSDL2JAVA operation generates its own unique version of xmlbeans which is then 21 20 referenced by the generated code - as such you should be careful not to mix the xmlbeans code generated between doing client 22 21 and service jar builds. 22 23 Eclipse set up 24 ------------------- 25 To remove build errors in the code, ensure that the client build is ran, and eclipse is refreshed to pick the 26 generated code. Add all the jars in the resources dir to the build classpath and also add all the jars in the AXIS2_HOME/lib 27 dir. 28 29 Running tests 30 ---------------- 31 There are a few JUnit tests that can be ran to check the basic integrity of the web service. From these to be ran from inside 32 eclipse, you'll need to add the generated XBeans-packaged.jar (in build/lib) to the build path. 23 33 24 34 Trouble Shooting
Note: See TracChangeset
for help on using the changeset viewer.