From c-dev-return-23153-apmail-axis-c-dev-archive=axis.apache.org@axis.apache.org Sat Aug 6 17:57:21 2016 Return-Path: X-Original-To: apmail-axis-c-dev-archive@www.apache.org Delivered-To: apmail-axis-c-dev-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 18F73198E2 for ; Sat, 6 Aug 2016 17:57:21 +0000 (UTC) Received: (qmail 38783 invoked by uid 500); 6 Aug 2016 17:57:20 -0000 Delivered-To: apmail-axis-c-dev-archive@axis.apache.org Received: (qmail 38714 invoked by uid 500); 6 Aug 2016 17:57:20 -0000 Mailing-List: contact c-dev-help@axis.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: "Apache AXIS C Developers List" Delivered-To: mailing list c-dev@axis.apache.org Received: (qmail 38700 invoked by uid 99); 6 Aug 2016 17:57:20 -0000 Received: from arcas.apache.org (HELO arcas) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Sat, 06 Aug 2016 17:57:20 +0000 Received: from arcas.apache.org (localhost [127.0.0.1]) by arcas (Postfix) with ESMTP id 90E112C029E for ; Sat, 6 Aug 2016 17:57:20 +0000 (UTC) Date: Sat, 6 Aug 2016 17:57:20 +0000 (UTC) From: "Alexis Gruet (JIRA)" To: c-dev@axis.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Updated] (AXIS2C-1686) Can't reuse svc_client ? MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 [ https://issues.apache.org/jira/browse/AXIS2C-1686?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Alexis Gruet updated AXIS2C-1686: --------------------------------- Affects Version/s: (was: 1.6.0) > Can't reuse svc_client ? > ------------------------ > > Key: AXIS2C-1686 > URL: https://issues.apache.org/jira/browse/AXIS2C-1686 > Project: Axis2-C > Issue Type: Bug > Components: transport/http > Environment: Linux / Ubuntu 14.04 > Mac OS X > Reporter: Alexis Gruet > Priority: Minor > Fix For: 1.7.0 > > > When a single svc_client is created i've send two requests, like this pseudo code : > ret_node1 = axis2_svc_client_send_receive (svc_client, _env.get, payload); > ret_node2 = axis2_svc_client_send_receive (svc_client, _env.get, payload); > but the http client crash when building the soap_env, somewhere in soap_builder.c:281 ( axiom_soap_builder_next() ) > svc_client can't not be reused ? for each request we have to recreate a new svc_client ? However, In the axis2c samples ( echo service ) i can almost see the same case, so i suppose this should be supported. -- This message was sent by Atlassian JIRA (v6.3.4#6332) --------------------------------------------------------------------- To unsubscribe, e-mail: c-dev-unsubscribe@axis.apache.org For additional commands, e-mail: c-dev-help@axis.apache.org