Return-Path: X-Original-To: apmail-axis-c-user-archive@www.apache.org Delivered-To: apmail-axis-c-user-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id ADB10EBDF for ; Tue, 19 Feb 2013 17:23:17 +0000 (UTC) Received: (qmail 29599 invoked by uid 500); 19 Feb 2013 17:23:17 -0000 Delivered-To: apmail-axis-c-user-archive@axis.apache.org Received: (qmail 29520 invoked by uid 500); 19 Feb 2013 17:23:16 -0000 Mailing-List: contact c-user-help@axis.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: "Apache AXIS C User List" Delivered-To: mailing list c-user@axis.apache.org Received: (qmail 29510 invoked by uid 99); 19 Feb 2013 17:23:16 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 19 Feb 2013 17:23:16 +0000 X-ASF-Spam-Status: No, hits=1.5 required=5.0 tests=HTML_MESSAGE,RCVD_IN_DNSWL_LOW,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of zackhasit@gmail.com designates 209.85.220.46 as permitted sender) Received: from [209.85.220.46] (HELO mail-pa0-f46.google.com) (209.85.220.46) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 19 Feb 2013 17:23:10 +0000 Received: by mail-pa0-f46.google.com with SMTP id kp14so3464854pab.19 for ; Tue, 19 Feb 2013 09:22:49 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:x-received:in-reply-to:references:date:message-id :subject:from:to:content-type; bh=IPZftdTqlFDhp6OxMfwvIJL6LM3bfZnnzNH4jlDX8Ps=; b=TgWqKLQsNe/aNszdZF/uohdUB6BCXvI7NvPsqg0atUv+PRVES9zGWQLczUKvA927CV ahX4SJObRSkVGwGSOqFeGhvamDDYfiU2HbwNXWLmNRuL/L+v4YTetpYt1oKMwTEiYDSG NXR9JBNj5kX+VEKiBURbVrdW1YEER3SOoTlHAvfN6+JvzrbcF5hD3MOvPJuI0qn0CMUS n+vVmE5lOc8yYAvutMTosRGfuW4pMp11AnlP1u7onmdpFR066/DmD+BslmTjzzb/+n9E Z7neBsWipnkobiIwzKvnLfGMrBfYrJrYgIQL3gXpSgd1IUMm58Xih6C/cZ3xwXeV1i0j Zoiw== MIME-Version: 1.0 X-Received: by 10.66.73.105 with SMTP id k9mr47439837pav.37.1361294569841; Tue, 19 Feb 2013 09:22:49 -0800 (PST) Received: by 10.68.228.1 with HTTP; Tue, 19 Feb 2013 09:22:49 -0800 (PST) In-Reply-To: References: Date: Tue, 19 Feb 2013 12:22:49 -0500 Message-ID: Subject: Re: Axis 2C embedded server From: zack Hasit To: Apache AXIS C User List Content-Type: multipart/alternative; boundary=f46d042f9f9a45236504d61717f7 X-Virus-Checked: Checked by ClamAV on apache.org --f46d042f9f9a45236504d61717f7 Content-Type: text/plain; charset=windows-1252 Content-Transfer-Encoding: quoted-printable Hi, I looked at "echo_non_blocking_dual.c". It is a client implementation to call the service. I was looking for server side. Ill try to explain the scenario.... When the echo service gets called following function gets called on server side : axis2_echo_echo. In this function the node "axiom_node_t *ret_node" is returned. What I really want to do is that I want to modify axis2_echo_echo to send the text message (with additional header info) to another server (lets call this server SERVER-A) using activeMQ and then go and service next echo request from client and forget about this one for now= . Meanwhile I'll spawn another thread (in my application) to read responses from SERVER-A asynchronously (via activeMQ). Since responses would be out of order ill identify them based on headerinfo and ill know where this response needs to be sent to. I want to then send this to correct client. Please let me know if this is possible. On Tue, Feb 19, 2013 at 4:47 AM, Stadelmann Josef < josef.stadelmann@axa-winterthur.ch> wrote: > seek this file in your axis2/c kit "echo_non_blocking_dual.c"**** > > not under samples but user guide clients =85 J**** > > ** ** > > And Axis2/C is at version 1.6.0, and the trunk sources have entries from > January 2013, so there is work going on.**** > > i.e. > http://svn.apache.org/repos/asf/axis/axis2/c/core/trunk/src/core/transpor= t/httpis brand new. > **** > > ** ** > > Josef**** > > ** ** > > *Von:* zack Hasit [mailto:zackhasit@gmail.com] > *Gesendet:* Dienstag, 19. Februar 2013 02:45 > *An:* c-user@axis.apache.org > *Betreff:* Axis 2C embedded server**** > > ** ** > > ** ** > > Hi, I am planning to use Axis 2C. Could someone please help answer this.*= * > ** > > 1. Is the standalone http server (simple http server) good for production > situation? I ask because it maybe for for testing purposes only. Any > performance concerns with it ?**** > > 2. Is Axis being maintained actively ? I ask because there hasn't been a > new release since 2009 ?**** > > 3. I need to break request and response in two separate functions. Is tha= t > possible. In samples I see echo implementation where one method implement= s > service and returns the node to send response. I don't want to send > response on return but at a later time after I do do some other processin= g > aynchronously. Is there any sample for that ?**** > > Please let me know if there is another place to ask this.**** > > ** ** > > Thanks**** > > ** ** > --f46d042f9f9a45236504d61717f7 Content-Type: text/html; charset=windows-1252 Content-Transfer-Encoding: quoted-printable
Hi,


I looked at "echo_non_blocking_dual.c"= ;. It is a client implementation to call the service. I was looking for ser= ver side. Ill try to explain the scenario....

When the echo= service gets called following function gets called on server side : axis2_= echo_echo. In this function the node "axiom_node_t *ret_node" is = returned. What I really want to do is that I want to modify axis2_echo_echo= to send the text message (with additional header info) to another server (= lets call this server SERVER-A) using activeMQ and then go and service next= echo request from client and forget about this one for now.

Meanwhile I&#= 39;ll spawn another thread=A0 (in my application) to read responses from SE= RVER-A asynchronously (via activeMQ). Since responses would be out of order= ill identify them based on headerinfo and ill know where this response nee= ds to be sent to. I want to then send this to correct client.

Please let me= know if this is possible.

<= br>
On Tue, Feb 19, 2013 at 4:47 AM, Stadelmann Jose= f <josef.stadelmann@axa-winterthur.ch> wrot= e:

= seek this file in your axis2/c kit "echo_non_blocking_dual.c"<= /u>

not under sa= mples but user guide clients =85 J

=A0

And Axis2/C is at version 1.6.0, and the trunk sources have entries fro= m January 2013, so there is work going on.

i.e. http://svn.apache.org/repos/asf/axis/axis2/c/co= re/trunk/src/core/transport/http is brand new.

=A0

Josef

=A0

Von: zack Hasit [mailto:zackhasit@gmail.com]
Gesendet: Dienstag, 19. Februar 2013 02:45
An: c-user@axis.apache.org=
Betreff: Axis 2C embedded server

<= div>

=A0

=A0

Hi, I am planning to use Axis 2C. Could someone please help answer this.=

1. Is the standalone http server (simpl= e http server) good for production situation? I ask because it maybe for fo= r testing purposes only. Any performance concerns with it ?

2. Is Axis being maintained actively ? I ask because t= here hasn't been a new release since 2009 ?

3. I need to break request and response in two separate func= tions. Is that possible. In samples I see echo implementation where one met= hod implements service and returns the node to send response. I don't w= ant to send response on return but at a later time after I do do some other= processing aynchronously. Is there any sample for that ?

Please let m= e know if there is another place to ask this.

<= p class=3D"MsoNormal" style=3D"margin-left:35.4pt">=A0

Thanks

=A0


--f46d042f9f9a45236504d61717f7--