none
(C++) How to communication with C# XML Web Service? RRS feed

  • 问题

  • I am writing a C++ windows store app.

    If the xml web service is developed by C#,can I use C++ to communicates with it?

    If it is possible,how to do it?

    Thanks.

    2013年10月4日 5:17

答案

  • Hi waterrock,

    If you're prepared to go with managed C++ then you can use WCF.

    However, if this isn't an option then your best bet is to go with a socket
    approach. You'll need some cross-language way to represent the data your sending
    from C++ to C# and back again. Google Protobuf will help here as there are frameworks for both
    languages, in addition to many others.

    Regards!


    We are trying to better understand customer views on social support experience, so your participation in this interview project would be greatly appreciated if you have time. Thanks for helping make community forums a great place.
    Click HERE to participate the survey.

    2013年10月7日 3:10
    版主
  • REST C++ SDK

    Win8 Developer QQ Group 95331609

    2013年10月8日 3:41

全部回复

  • Hi waterrock,

    If you're prepared to go with managed C++ then you can use WCF.

    However, if this isn't an option then your best bet is to go with a socket
    approach. You'll need some cross-language way to represent the data your sending
    from C++ to C# and back again. Google Protobuf will help here as there are frameworks for both
    languages, in addition to many others.

    Regards!


    We are trying to better understand customer views on social support experience, so your participation in this interview project would be greatly appreciated if you have time. Thanks for helping make community forums a great place.
    Click HERE to participate the survey.

    2013年10月7日 3:10
    版主
  • REST C++ SDK

    Win8 Developer QQ Group 95331609

    2013年10月8日 3:41