axis-c-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Mark Nüßler <mark.nuess...@9elements.com>
Subject create and use context's
Date Thu, 27 Sep 2007 08:14:22 GMT
hello users,

in java i am able to use the different context's,
like service context and playing around with the
different scope's.

i can see, that the adb_svc_skel_<service>_invoke
method passes a message context (axis2_msg_ctx_t *msg_ctx).

when i try to get the service context id, it's NULL.

tmp_a_str = axis2_msg_ctx_get_svc_ctx_id(msg_ctx, env);
printf("Id : %s\n", tmp_a_str);
out -> Id : NULL

when i try to get the service context from the message context,
i get a message context object, but it seems not to work.

i think i have to register the context i want to use in
adb_svc_skel_<service>_init, but i don't know how to do this.

who can explain ?

mfg derMark


---------------------------------------------------------------------
To unsubscribe, e-mail: axis-c-user-unsubscribe@ws.apache.org
For additional commands, e-mail: axis-c-user-help@ws.apache.org


Mime
View raw message