I m trying to build a light-weight SOAP client without using Add Service Reference. Ideally, this client should work for as many services as possible. Currently, it uses ServiceDescriptionImporter
to generate the service assembly. Unfortunately, this doesn t appear to work for WCF services. Someone recommended that I use ServiceContractGenerator
instead, because ServiceDescriptionImporter
is designed specifically for ASMX web services.
If I use ServiceContractGenerator
, will I be locked into only supporting WCF services?