Hi Gimmy;
Sorry for being late in the reply to this question. I was on customer meetings and Bugzilla this AM and have just gotten around to the Community Forum this afternoon.
The answer is NO ... there should not be any visual object use in any Web Service component. To that end, you will not see any Visual Object classes in the STD Web Service framework. For new components, you should create them by inheriting from the current NVUO's in the framework, as follows for an MVC design implementation:
- Interface: nc_interface_master ( aka view)
- Controller: nc_business_master
- Model: nc_business_master
Note1: The "Interface" object class will support the "Activate" and "Deactivate" events (by IIS) when called by the the outside world in the IIS instantiation of the thread.
Note2: The "Controller" does not have the events from note#1 as the IIS task manager will not use these for an internal object dispatch calling. Thus, the "interface" object needs to call the Controller's related methods and pass initial information to the Controller object class as required.
Note3: The "Model" object class is optional. If the business rule processing is simplex, you can implement all the business logic in the controller. If the business log is complex, then one or more Model object class(es) can be created to implement one logical encapsulated set of business rules. Thus, the "Model" object class needs to called from the Controller object class. The "Controller" would then live up its name to control (co-ordinate) the Model objects processing flow and then finally - commit the DB transaction(s) if the Model object(s) vote OK.
HTH
Regards ... Chris
Ty for answer.
I know that web services CANNOT have visual objects (UO) but only NON visual oblject (NVUO).
It was my transcription error from Google translator (sorry for the level of my English).
Going to the problem.
I understand that I can have other NVUOs and they must inherit from 'nc_business_master'.
Furthermore, these new NVUOs must be instantiated and called up in the controller.
It's right ?
Gmy