I have built a complex query mechanism which I want to provide a factory for in order to assist people with common query patterns. My methods are all revealed via WCF as a SOAP web service. What is the best way to ensure that my factory is easy to use across all clients that may wish to use my service (as I don't expect all of my customers to use .net)?
Update: I want to write some factory methods to assist with common patterns against a "query system" that I have written. I have currently multiple OperationContracts exposed from my Service and multiple DataContracts exposed as well. I'm having a mental block as to the best way to build something of a Factory to return my custom query objects to support common patterns that I am assuming they desire.
A concrete example of this is would be one method returns hits on my database based on a search request object that has multiple groups of multiple match concepts, my code translates all of this into LINQ expression trees, one common group in this search request object would be to limit the results to just sources of US origin, which is actually a group of about 20 matches and can shift, so instead of showing a hard-coded code example, I'd prefer to just return the group object based on the data about where the items were sourced which they can then use in their search request object. This sounds ideal for a Factory Method like "GroupFactory.CreateGroupOfSomethingOrOther", but what is the best place for me to do this? Or am I just making this far more complicated in my mind than it should be?