服务端:
Linux下用C++和gsoap开发的现在要用C#写一个客户端去调用这个Webservice。各位高手给点思路或者例子,小弟刚接触这个,谢谢。

解决方案 »

  1.   

    C++、C#写的WebService相互调用
      

  2.   

    我底子比较差,能不能麻烦各位说的详细点?
    2楼的那个链接我看过了,但还是不太明白。我自己在本地用C++ 写了一个WebService,通过浏览器(http://localhost:4567/)看到的内容是:
    <SOAP-ENV:Envelope>

    <SOAP-ENV:Body>

    <SOAP-ENV:Fault SOAP-ENV:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/">
    <faultcode>SOAP-ENV:Client</faultcode>
    <faultstring>HTTP GET method not implemented</faultstring>
    </SOAP-ENV:Fault>
    </SOAP-ENV:Body>
    </SOAP-ENV:Envelope>然后在C#端添加Web引用,URL是http://localhost:4567/,但会提示“下载“http://localhost:4567/”时出错”