dana-i2cat/opennaas — pull request #140 by isartcanyameres (2012-05-08 10:22:06+00:00)
Title: Feature/ws prototype

This patch implements a webservice facade for chassisCapability.
Use it as a model to implement web services for other capabilities.

IChassisCapability is exported as a WS through a SOAP endpoint, using CXF.

The interface is not exported as such. Instead, an extra parameter containing the resourceId is added to all calls, as shown in IChassisCapabilityService.
IChassisCapabiiltyService implementation is a facade which resolves correct IChassisCapability instance (the one related to given resourceId) and calls the appropriated method.

Router model has been annotated to allow marshalling and unmarshalling, to call IChassisCapability methods. However, this patch does not check model is well marshalled/unmarshalled. It is possible that calls launched from the web service fails due to incomplete parameters.
Another pull request will fix these issues.