There are couple of issues that I can see in the code:
1. You are reusing the same OM Node for each service client request. You
basically have to create a new in_node struct instance.
2. Instead of using the soap builder to build your in_node, use the
programatic model. e.g You can use the following code:
axiom_node_t *
build_payload(const axutil_env_t *env)
{
axiom_node_t *om_node = NULL;
axiom_element_t* om_ele = NULL;
om_ele = axiom_element_create(env, NULL, "helloRequest", NULL,
&om_node);
return om_node;
}
and in the SOAP call loop, use:
in_node = build_payload(env);
out_node = axis2_svc_client_send_receive(svc_client[i], env, in_node);
HTH
Thanks,
Samisa...
Stefano Pettini wrote:
Hi all,
Again multithreading. That's my last effort to solve the problem, then
I give up. Please have a look to the attached file, that can be
compiled and run using VS6 on Windows. The file is easy to understand
and can be run just tuning the #defines at the beginning.
May you help me testing client multithreading on Windows?
Thanks.
Stefano
------------------------------------------------------------------------
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
--
Samisa Abeysinghe : http://www.wso2.org/ (WSO2 Oxygen Tank - Web Services
Developers' Portal)
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]