Wednesday 20 October 04
Now sorted out the problem of passing strings of arrays to the webservice – the problem was actually that I was calling the wrong service – doh! – so it wasn’t expecting an array of strings – hence the error message
Have got most of the rest of the player running with webservices, however there was one little problem that I came across in that the CC admin web service returned arrays of classes that were only defined in the CopperCore engine. This means that I would have to have CC and the player installed on the same machine, so that the player can get to the class definition for these CC classes, and I would like to be able to demonstrate that I can have the player running on one machine and CC on another. There are a couple of solutions to this:
- Update the CC admin webservice so that it returns XML strings rather than arrays of CC clasess
- Write another class within the player which just does the necessary functions to the objects that the player requires
I’ve gone for the second option, mainly because there is actually one one class that I will need to create, and there’s not much time left on the project for me to start updating a load of CC functionality. It may not be the best solution, but it will do what I need it to for now and updtaing CC to return XML instead of java objects can be added to the list of future developments
