Replace Map<String, HashSet<Score>> with ScoreManager and ScoreHolder classes to...
[jabaws.git] / how_to_add_new_webservice.txt
index 7df641e..cb11ba4 100644 (file)
@@ -35,8 +35,12 @@ Edit binaries/src setexecutableflag.sh and compilebin.sh scripts accordingly.
 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
+  - you do not have interfaces to serialize. JAXB cannot serialize them.\r
+  - you have a default no args constructor (can be private if you do not need it)\r
+  - JAXB cannot serialize a Map, use custom data structure instead!\r
+If you have the data on the server side, but nothing is coming through to the client, \r
+this is a JAXB serialization problem. They tend to be very silent and thus hard to debug. Check your \r
+data structure can be serialized! \r
 \r
 13) Modify the client to work with your web service. \r
 \r
@@ -46,7 +50,6 @@ Check that
 \r
 \r
 \r
-\r
 If executable does not support parameters do not add a reference to the XXXParameter.xml \r
 file into the Executable.properties file. Do the same for Presets\r
 \r