axis2c - addr_out_handler.c(133) No action present. Stop processing addressing -
i'm started use axis2c (rev 1.5 on linux ) , rewrite simple service copy of add functionality of math service.
it seems ok @ end of procedure, when service should send result of sum, report error "no action present".
i called service "ctictrlintf" , inside ctictrlintf_invoke function node 2 parameter add.
here content of node printed using axiom_node_to_string api.
<ns1:test1 xmlns:ns1="http://ws.apache.org/axis2/services/ctictrlintf"> <param1>40</param1> <param2>8</param2> </ns1:test1>
at end of function ctictrlintf_invoke returned nod ewith result of addiction.
<ns1:result xmlns:ns1="http://axis2/test/namespace1">48</ns1:result>
what happened after reported below.
somewhere in addr_out_handler.c program reported error "no action present" , abort operation.
[debug] phase.c(210) invoke handler addressingouthandler within phase messageout [info] starting addressing out handler [debug] addr_out_handler.c(133) no action present. stop processing addressing [info] request served in 0.012 seconds
what mean error , action should require library complete work ?
best reagards, enzo
added 18.07.2013 16:56
inside config file axis2.xml there still enable addressing module
<!-- ================================================= --> <!-- global modules --> <!-- ================================================= --> <module ref="addressing"/>
and when server started log report note activation of addressing
[debug] conf_builder.c(234) no custom dispatching order found. continue default dispatching order [debug] conf_builder.c(379) module addressing found in axis2.xml [debug] class_loader.c(140) /usr/local/axis2c/lib/libaxis2_http_sender.so shared lib loaded [debug] class_loader.c(140) /usr/local/axis2c/lib/libaxis2_http_receiver.so shared lib loaded [debug] dep_engine.c(1283) axis2_dep_engine_load_module_dll: dll path : /usr/local/axis2c/modules/addressing/libaxis2_mod_addr.so [debug] class_loader.c(140) /usr/local/axis2c/modules/addressing/libaxis2_mod_addr.so shared lib loaded [debug] dep_engine.c(1283) axis2_dep_engine_load_module_dll: dll path : /usr/local/axis2c/modules/logging/libaxis2_mod_log.so [debug] class_loader.c(140) /usr/local/axis2c/modules/logging/libaxis2_mod_log.so shared lib loaded [debug] svc_builder.c(318) dll path : /usr/local/axis2c/services/ctictrlintf/libctictrlintf.so [debug] svc_builder.c(318) dll path : /usr/local/axis2c/services/echo/libecho.so [debug] svc_builder.c(318) dll path : /usr/local/axis2c/services/math/libmath.so [debug] phase_holder.c(139) add handler addressinginhandler phase transport
and service code had following call
/* create epr given address */ endpoint_ref = axis2_endpoint_ref_create(env, address); /* setup options */ options = axis2_options_create(env); axis2_options_set_to(options, env, endpoint_ref); axis2_options_set_action(options, env, "http://www.aesys.com/axis2/services/ctictrlintf/test1"); /* set service client options */ axis2_svc_client_set_options(svc_client, env, options); /* engage addressing module */ axis2_svc_client_engage_module(svc_client, env, axis2_module_addressing);
this message produced addressing module , not error.
your service has no addressing support , didn't send or receive addressing-specific headers.
information ws-addressing support in axis2/c here.
Comments
Post a Comment