Hi everyone,

I had a couple of issues regarding the implementation of Ben's configuration 
contract so let me know what you guys think:


-          I am developing the ConfigService as a console application for the 
sake of consistency with the BS and OPS. I guess we can change all of them to 
web services together. I am using the Order Processing Service as a guide for 
the structure of the ConfigService and as such the solution consists of a 
ConsoleHost, Contract, Implementation, ConfigurationService and existing 
projects of StockTraderDALSQLServer, StockTraderDALFactory and StockTraderIDAL



-          I have created an interface IConfig in StockTraderIDAL which 
accesses the configuration tables (ClientToBs, BsToOps, Service) in the 
database. - do you guys think this is the right way to go?


-          I have some questions about the contract IConfigService - right now 
I'm working on getting the main methods implemented (i.e. ClientConfigRequest, 
BSConfigRequest and OPSConfigRequest) However ClientConfigRequest takes a 
clientname as a parameter and returns an object of the type ClientConfigRequest 
which only has a string client as an attribute - is this the endpoint of the 
client? In this case does this method simply take the clientname and look it up 
In the service table and return the endpoint or that client? The reason for my 
confusion is that the PHP config_service has a ClientConfigRequest method which 
is meant to return the endpoint url of the business service that the client 
points to.



-          Some of the other methods in the contract are also confusing in 
terms of what they're meant to return. Is it okay if I change the contract a 
little bit or is that something we are leaving fixed for the sake of 
consistency with the PHP?



Thanks,
Avantika

Reply via email to