new services are registered in wsbuild
[jabaws.git] / how_to_add_new_webservice.txt
index 8d7e7cc..7df641e 100644 (file)
@@ -30,6 +30,14 @@ Edit binaries/src setexecutableflag.sh and compilebin.sh scripts accordingly.
 \r
 12) Register web service in WEB-INF/ web.xml and sun-jaxws.xml\r
 \r
+13) Add generated wsdl to wsbuild.xml ant script to generate the stubs\r
+\r
+14) Run build-server task in wsbuild file. Watch for errors. If cannot compile that means \r
+that JAXB cannot serialize some of the data structures. Add appropriate annotations to your data types.\r
+Check that \r
+  - you do not have interfaces as fields\r
+  - you have a default no args constructor (can be private if you do not need it)    \r
+\r
 13) Modify the client to work with your web service. \r
 \r
 14) Test. \r