总之,我试图熟悉Axis2 2/C框架,并且无法使用Savan模块附带的WS-Eventing示例(天气服务-订阅者-侦听器)。根据日志文件,url有一个问题,但是我不能ť理解,可能是什么问题。有谁有同样的问题吗?
[Thu Oct 24 21:25:57 2013] [debug] publisher.c(209) [savan] Publishing to:urn:uuid:4e482bf8-3cd3-1e31-3822-080027ac2daf
[Thu Oct 24 21:25:57 2013] [debug] publisher.c(280) [savan] Publishing to:http://localhost:9090/axis2/services/listener
[Thu Oct 24 21:25:57 2013] [error] publisher.c(290) Could not create the filter module
[Thu Oct 24 21:25:57 2013] [error] publisher.c(229) Publishing to the Data Sink:http://localhost:9090/axis2/services/listener proviced by subscriber:urn:uuid:4e482bf8-3cd3-1e31-3822-080027ac2daf Failed.
Check whether the Data Sink url is correct发布于 2013-10-28 20:25:07
我找到了解决办法。在这个例子中有一个bug。在第84行的文件listener_skeleton.c中,必须将操作名称更改为与services.xml中的名称相同。
原件:
axutil_array_list_add(svc_skeleton->func_array, env, "weather");固定:
axutil_array_list_add(svc_skeleton->func_array, env, "send");https://stackoverflow.com/questions/19575274
复制相似问题