fauntlers
|
|
« on: April 29, 2008, 11:48:27 » |
|
Hi,
I have an XML file in my Flex application that contains a list of webservices and some configuration for each one (WSDL, operation etc. etc.).
I have created WebServiceDefinitionVO which encapsulates a single web service definition.
I have created WebServiceDefinitionProxy which contains the logic to get the information from the XML file. It's data type is an ArrayCollection to which I add all of the WebServiceDefinitionVOs created from the file.
So...what I'm grappling with is....my proxy encapsulates a list of web service definitions but I really need something that encapsulates a single web service definition as I'm going to have methods that perform domain logic on the web service definition level.
So....do I put those methods directly onto the WebServiceDefinitionVO class and use the proxy to deliver instances of the VO class? OR do I create another proxy that encapsulates a single WebServiceDefinition?
I know I can get it working...I just want to know what best practice is.
|