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 A686CEFF7 for ; Thu, 21 Feb 2013 13:20:41 +0000 (UTC) Received: (qmail 50084 invoked by uid 500); 21 Feb 2013 13:20:41 -0000 Delivered-To: apmail-axis-c-user-archive@axis.apache.org Received: (qmail 49633 invoked by uid 500); 21 Feb 2013 13:20:35 -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 49581 invoked by uid 99); 21 Feb 2013 13:20:33 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 21 Feb 2013 13:20:33 +0000 X-ASF-Spam-Status: No, hits=2.2 required=5.0 tests=HTML_MESSAGE,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: local policy) Received: from [163.156.213.177] (HELO sphinx17.axa.com) (163.156.213.177) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 21 Feb 2013 13:20:23 +0000 X-IronPort-AV: E=Sophos;i="4.84,709,1355094000"; d="scan'208,217";a="12255525" Received: from i35eip02-d1.medc.services.axa-tech.intraxa ([10.140.32.73]) by ZS31EIP01.medc.services.axa-tech.intraxa with ESMTP; 21 Feb 2013 14:20:02 +0100 X-IronPort-AV: E=Sophos;i="4.84,709,1355094000"; d="scan'208,217";a="6146772" Received: from c005812.chres1.doleni.net ([194.40.60.24]) by I35EIP02-d2.medc.services.axa-tech.intraxa with ESMTP; 21 Feb 2013 14:20:02 +0100 Received: from c005815.chres1.doleni.net ([194.40.60.9]) by c005812.chres1.doleni.net with Microsoft SMTPSVC(6.0.3790.4675); Thu, 21 Feb 2013 14:20:02 +0100 X-MimeOLE: Produced By Microsoft Exchange V6.5 Content-class: urn:content-classes:message MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="----_=_NextPart_001_01CE1036.279B0506" Subject: AW: Axis 2C embedded server Date: Thu, 21 Feb 2013 14:20:01 +0100 Message-ID: In-Reply-To: X-MS-Has-Attach: X-MS-TNEF-Correlator: thread-topic: Axis 2C embedded server thread-index: Ac4PzTQJYdaUS0IZTvWyYY3MH0PDUgAZ/IEg References: From: "Stadelmann Josef" To: "Apache AXIS C User List" X-OriginalArrivalTime: 21 Feb 2013 13:20:02.0126 (UTC) FILETIME=[27BC66E0:01CE1036] X-Virus-Checked: Checked by ClamAV on apache.org ------_=_NextPart_001_01CE1036.279B0506 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable In this case just download the axis2/C kit and build axis2C, then use a debugger and debug the axis2c_engine. Very interesting when it starts up; go once through and you will understand axis much better. i.e. see when things take place and how they come into effect. Look for a directory IDES and find various VC VC6 VC9 Projects prepared as well as a Makefile project for your OS. =20 But just be made aware, also it is documented on many places; the simple servers axis2/J and axis2/C are not for production! =20 Josef =20 =20 =20 Von: zack Hasit [mailto:zackhasit@gmail.com]=20 Gesendet: Donnerstag, 21. Februar 2013 01:48 An: Apache AXIS C User List Betreff: Re: Axis 2C embedded server =20 Hi, How can I get more information on Inbuilt HTTP server called simple axis server. I am trying to find out about its architecture. I need to understand how threads are created and deleted (does it have a thread pool with max and min threads which are instantiated at start-up ?) and if its scalable. Word "simple" is making me think there could be limitations for its use in production scenario ? Thanks =20 On Wed, Feb 20, 2013 at 10:41 AM, Stadelmann Josef wrote: It is possible using addressing and the proper addressing header information and configuration records both at client and at server. =20 i.e. in the header you need to tell the service which client is calling (request-id) and about the listener/port to contact as well as the call-back-routine to be called. =20 The server once finished needs to know to which request-id this response-id belongs to; but that is not all. it needs to know clinet-host:port and client-call-back-routine processing the response. =20 It is not so simple; hence I encourage you to go through the various echo examples AND OTHERS, client and server side, unless you understand the asynchronous technology field. Keep in mind you might have an asynchronous working transport AND you may have an asynchronous working client/server. This is not the same. =20 your client might send a request, the server receives it, and allows the thread to return before it starts working =20 your client may hand over a request to the transport and continue, the transport sends the request, the server accepts it and allows the thread to return, the transport at the client side is happy and maybe signals that o the client. Later on the server does the same with the response in reverse direction. =20 This are two scenarios with many wrinkle and challenge to master. =20 basically, the service, when it has the result ready after some time, needs to know the host:port numbers and a call-back-routine in the client to contact;=20 and there is a need to know for the infrastructure axis2-engine to which request this response belongs to, given your client has multiple outstanding request belonging to request sent some time ago. =20 Again: starts simple, keep subsystems small, test it, and integrate when all subsystems works. =20 Unless you master your asynchronously working axis2 client talking to your asynchronous working web service, you don't need more than one later 2 pc's, and yes: long lasting sessions might be another issue to look at. =20 Josef =20 =20 Von: zack Hasit [mailto:zackhasit@gmail.com]=20 Gesendet: Dienstag, 19. Februar 2013 18:23 An: Apache AXIS C User List Betreff: Re: Axis 2C embedded server =20 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. =20 On Tue, Feb 19, 2013 at 4:47 AM, Stadelmann Josef wrote: seek this file in your axis2/c kit "echo_non_blocking_dual.c" not under samples but user guide clients ... J =20 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/transpo rt/http is brand new. =20 Josef =20 Von: zack Hasit [mailto:zackhasit@gmail.com]=20 Gesendet: Dienstag, 19. Februar 2013 02:45 An: c-user@axis.apache.org Betreff: Axis 2C embedded server =20 =20 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 that possible. In samples I see echo implementation where one method implements 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 processing aynchronously. Is there any sample for that ? Please let me know if there is another place to ask this. =20 Thanks =20 =20 =20 ------_=_NextPart_001_01CE1036.279B0506 Content-Type: text/html; charset="us-ascii" Content-Transfer-Encoding: quoted-printable

In this case just download the axis2/C kit and build axis2C, then use a = debugger and debug the axis2c_engine.

Very interesting when it starts up; go once through and you will = understand axis much better. i.e. see when = things

take place and how they come into effect.

Look for a directory IDES and find various VC VC6 VC9 Projects prepared = as well as a Makefile project for your OS.

 

But just be made aware, also it is documented on many places; the = simple servers axis2/J and axis2/C are not for = production!

 

Josef

 

 

 

Von:<= /b> zack Hasit = [mailto:zackhasit@gmail.com]
Gesendet: Donnerstag, 21. = Februar 2013 01:48
An: Apache AXIS C User = List
Betreff: Re: Axis 2C embedded = server

 

Hi,

   How can I get more information on Inbuilt = HTTP server called simple axis server. I am trying to find out about its = architecture. I need to understand how threads are created and deleted = (does it have a thread pool with max and min threads which are = instantiated at start-up ?) and if its scalable. Word "simple" = is making me think there could be limitations for its use in production = scenario ?

Thanks

 

On Wed, Feb 20, 2013 at 10:41 AM, = Stadelmann Josef <josef.stadelmann@axa-winterthur.ch> = wrote:

It is possible using addressing and the proper addressing header = information and configuration records both at client and at = server.

 

i.e. in the header you need to tell the service which client is calling = (request-id) and about the listener/port to contact as well as the = call-back-routine to be called.

 

The server once finished needs to know to which request-id this = response-id belongs to; but that is not all. it needs to know = clinet-host:port and client-call-back-routine processing the = response.

 

It is not so simple; hence I encourage you to go through the various = echo examples AND OTHERS, client and server side, unless you understand = the asynchronous technology field. Keep in mind you might have an = asynchronous working transport AND you may have an asynchronous working = client/server. This is not the same.

 

your client might send a request, the server receives it, and allows = the thread to return before it starts working

 

your client may hand over a request to the transport and continue, the = transport sends the request, the server accepts it and allows the thread = to return, the transport at the client side is happy and maybe signals = that o the client. Later on the server does the same with the response = in reverse direction.

 

This are two scenarios with many wrinkle and challenge to = master.

 

basically, the service, when it has the result ready after some time, = needs to know the host:port numbers and a call-back-routine in the = client to contact;

and there is a need to know for the infrastructure axis2-engine to = which request this response belongs to, given your client has multiple = outstanding request belonging to request sent some time = ago.

 

Again: starts simple, keep subsystems small, test it, and integrate = when all subsystems works.

 

Unless you master your asynchronously working axis2 client talking to = your asynchronous working web service, you don’t need more than = one later 2 pc's, and yes: long lasting sessions might be another issue = to look at.

 

Josef

 

 

Von:<= /b> zack Hasit = [mailto:zackhasit@gmail.com]
Gesendet: = Dienstag, 19. Februar 2013 18:23
An: Apache AXIS C User = List
Betreff: Re: Axis 2C embedded = server

 

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 … 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/transport/http is brand new.

 

Josef

 

Von:<= /b> 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 = that possible. In samples I see echo implementation where one method = implements 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 = processing aynchronously. Is there any sample for that = ?

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

 

Thanks

 

 

 

------_=_NextPart_001_01CE1036.279B0506--