Search code examples
wcfwsdlmetadataservicecontract

Calling a WCF service from a client without having the contract interface and DTO


I have 3rd party wcf soap service which needs to-be consume so i have discovered a way to generate code in memory and invoke the service with simple input arguments. I would like to do the same with complex arguments can anyone please help me as to how i can achieve this. Or can anyone please point me in the right direction.

Thanks in advance, Pavan


Solution

  • May be you can use output of datasvcutil at runtime with dynamic code generation/reflection. http://msdn.microsoft.com/en-us/library/dd756369.aspx