Make this WCF client code work on Mono and MonoTouch on the Mac?

前端 未结 2 1348
暖寄归人
暖寄归人 2021-01-07 13:02

I am trying to get the following piece of code to work in a Mono console app and as the ultimate goal in a MonoTouch application. The code works fine under VS2008 using a Wi

2条回答
  •  耶瑟儿~
    2021-01-07 13:36

    The problem line of code is:

    BasicHttpSecurityMode.TransportWithMessageCredential
    

    Mono does not support WS-Security. Basically there are many options on BasicHttpSecurityMode which will not work. If you require Message Credentials, then I'm afraid this code cannot be made to work. Here is a related link:

    http://lists.ximian.com/pipermail/mono-bugs/2010-January/096972.html

提交回复
热议问题