You are viewing a plain text version of this content. The canonical link for it is here.
Posted to c-user@axis.apache.org by Steven Zhang <sz...@altigen.com> on 2008/10/24 21:58:11 UTC

How can Axis2C client send requests in multiple threads?

Hi:
I have made an Axis2c 1.4 client application. So far it works great. But it can only send requests from a single thread, it limits the system capability for handling customers. I tried to send requests in multiple threads, exception happened. What can I do to make it work in multiple threads?

Thanks.
Steven Zhang

Re: How can Axis2C client send requests in multiple threads?

Posted by Supun Kamburugamuva <su...@gmail.com>.
Hi,

You should  create a axis2_svc_client_t for every thread and set the
appropriate properties every time. That is the only way that you can solve
this problem easily.

Supun.

On Sat, Oct 25, 2008 at 12:58 AM, Steven Zhang <sz...@altigen.com> wrote:

>  Hi:
> I have made an Axis2c 1.4 client application. So far it works great. But it
> can only send requests from a single thread, it limits the system capability
> for handling customers. I tried to send requests in multiple threads,
> exception happened. What can I do to make it work in multiple threads?
>
> Thanks.
> Steven Zhang
>



-- 
Software Engineer, WSO2 Inc
http://wso2.org