ChinaUnix.net
相关文章推荐:

gsoap c 中文乱码

服务器端是java,客户端是标准C,用gsoap连服务器,函数返回的字符串要求是中文,但gsoap客户端接收到的是乱码,怎么解决啊?

by 阿飞侠 - C/C++ - 2010-12-06 16:10:00 阅读(19162) 回复(27)

相关讨论

OS:AIX5.3 Locale:en_us iso8859-1 Compiler:VisualAge for c/c++ 6.0 gsoap:gsoap 2.7 手工编译 Web Services是用VS.NET2005 C#开发的 现象: 1不使用soap_set_mode(soap, SOAP_C_UTFSTRING)函数,windows端接受字符即为乱码,这是必然的结果 2使用soap_set_mode(soap, SOAP_C_UTFSTRING)函数,windows端接受字符为■■■■■■ 3.Net开发人员先在接受时做了UTF8-GB2312转码处理,依然不行,之后恢复到没有修改之前的状态日志中居...

by wingofwind - C/C++ - 2011-03-21 10:20:02 阅读(5174) 回复(3)

gsoap!gsoap!急寻gsoap!大哥! 救助,用c写的gsoap的简单服务、客户端,最主要的是整体流程,其实小弟对gsoap的情况还不甚了解,以及安装配置,作用机理是什么,有没有大侠能帮帮我啊,自己研究不通啊!(linux下),拜托了!老板让弄出来一个这东西呢! 哪位大哥对gsoap!有研究啊,能不能交流一下啊,偶的msn是 [email]xanderxa@msn.com[/email] , qq是:55881959 有哪位大哥能不能加一下啊,或留下方式小弟来加您啊!真心求教...

by 蜗大牛牛 - C/C++ - 2006-09-20 15:44:58 阅读(1324) 回复(1)

前几天用axis2c开发不会编译,现在换gsoap开发一个webservice客户端, 在usr/include下面有.h文件,都可以引用到, 但在usr/include/gsoap/下面的.c文件却无法引用到, 我是用Eclipse 做开发工具的, 谁能帮我解释一下应该怎么去解决这个问题呢? 谢谢

by root_user - C/C++ - 2008-07-28 10:17:01 阅读(2838) 回复(4)

前几天遇到gsoap服务器报错, 报这个错“End of file or no input: 'Operation interrupted or timed out' ,Error Detail : ” 查gsoap文档是因为时间超时所致,采取的解决办法报超时时间设置为0 即永远不超时即可 Example: struct soap soap; soap_init(&soap); soap.send_timeout = 10; soap.recv_timeout = 10; This will result in a timeout if no data can be send in 10 seconds and no data is received within ...

by mseaspring - HP文档中心 - 2008-07-11 17:35:09 阅读(3500) 回复(0)

在linux下安装gsoap 时用./configure 出现"checking for disable namespaces in library... no" 然后再用make就出现 stdsoap2_cpp.cpp:7982: `strtof' undeclared (first use this function) stdsoap2_cpp.cpp:7982: (Each undeclared identifier is reported only once for each function it appears in.) make[2]: *** [libgsoap___a-stdsoap2_cpp.o] Error 1 make[2]: Leaving directory `/home/sps/gsoap/gsoap-2.7/soapcpp2'...

by xiaohe_mimang - 系统管理 - 2006-07-25 10:31:04 阅读(773) 回复(0)

请问诸位使用过gsoap的大虾: 1. gsoap的异步(asynchronous)方式可以在HTTPS下运行吗? 2. 异步方式下,client如何获取server端的处理结果呢? 查阅gsoap手册无解,特在此求助,多谢!

by thinshootout - C/C++ - 2015-05-05 14:43:05 阅读(2620) 回复(2)

我用gsoap写了个服务器端程序,可是发现有个很奇怪的问题,同样的程序在HP-UNIX上面没有问题,但是到了linux下,运行十天,日志跟踪到soap_serve里面程序就没有返回了,没有调用我定义的服务方法. soap_init(&soap);我用这种方式初始话的,对方的速度也不快,查了很多资料都没有找到原因,请高手赐教啊.多谢了.我看了下生成的源文件, 程序可能一直soap_begin_recv方法里由于出错而循环.由此造成了死循环.但是实在是不不懂里面定义的...

by mseaspring - C/C++ - 2007-09-28 18:44:00 阅读(2123) 回复(2)

在linux下安装gsoap 时用./configure 出现"checking for disable namespaces in library... no" 用make会出现 stdsoap2_cpp.cpp:7982: `strtof' undeclared (first use this function) stdsoap2_cpp.cpp:7982: (Each undeclared identifier is reported only once for each function it appears in.) make[2]: *** [libgsoap___a-stdsoap2_cpp.o] Error 1 make[2]: Leaving directory `/home/sps/gsoap/gsoap-2.7/soapcpp2' make...

by xiaohe_mimang - BSD - 2007-04-10 09:09:54 阅读(4255) 回复(1)

有哪位兄弟姐妹在嵌入式linux上开发过gsoap,请介绍一下经验。我在这里谢过先。

by pangxiongqi - 程序开发 - 2006-06-14 17:30:54 阅读(951) 回复(1)

gsoap 实现 webservice 客户端 这一行代码带了xmlns:ns1="http://aaa.bbb"参数,请问手动写.h文件怎么写? 谢谢。。 1 ...

by goon86 - Web开发 - 2009-09-02 17:14:59 阅读(1714) 回复(0)