0

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

Navap
  • 1,050
  • 9
  • 18

1 Answers1

1

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

SalientBrain
  • 2,431
  • 16
  • 18
  • This is similar to svcutil.exe; we can produce C# files using datasvcutil.exe or svcutil.exe. Is there a way to produce in memory, refence them in memory and hit the service with in memory objects. – Navap Nov 28 '12 at 05:09