Using a web service from C ++ / CLI

Is it possible to use a web service (written in C #, ... I have no control over it, just the url for it .asmx) from C ++ / CLI? In the C ++ / CLI project there is no "add web link" :(

+3
source share
2 answers

Yes. if you want to do this, just create a dll proxy in C # (add a web link) and then destroy these assemblies, or you can pass the proxy code to C ++ / CLI.

Edit to reflect the comment.

You can use ILMerge to combine multiple assemblies into one, if necessary.

ILMerge takes a set of assembly input data and combines them into one target assembly.

+4

M $ " -.." ++ (!!! - ;)) - wsdl/language: cpp, .h - , . .h . . .h, - gcnew

+4

Source: https://habr.com/ru/post/1761700/


All Articles