views:

7

answers:

1

Hello,

is it possible to consume web service (written in c#, ... I don't have control over it, just URL to it's .asmx) from C++/CLI? There is no 'add web reference' in C++/CLI project :(

+1  A: 

Yes. if you want to do it simply just create a proxy dll in C# (add web reference) and then consume those assemblies, or you can hand code the proxy in C++/CLI.

Edit to reflect comment.

You can use ILMerge to merge multiple assemblies into one if need be.

ILMerge takes a set of input assemblies and merges them into one target assembly.

Preet Sangha
Sounds like the only way.. Althrough I wanted to distribute only one executable, not DLLs with it.
Yossarian
Sorry, I forgot - thanks. :-)
Yossarian