本帖最后由 VisualEleven 于 2011-07-14 09:09:35 编辑

解决方案 »

  1.   

    #import "stl.h" ?!
    是object c还是c啊?
    c的话要用 #include
      

  2.   

    生成头文件的时候不要加载stl库,使用-s参数即可
    wsdl2h -s xxxx.wsdl
      

  3.   

    楼上的大哥,能具体一点吗。我是要开发webservice服务端。
    我的头文件是是自己定义的,snmpInterface.h
    然后用soapcpp2.exe工具生成代码, cmd>soapcpp2.exe snmpInterface.h -L -S -I D:\gSOAP\gsoap_src\gsoap-2.8\gsoap\import
      

  4.   

    你需要用到stl吗?如果不用,没必要包括stl.h啊