Return-Path: Delivered-To: apmail-ws-axis-c-user-archive@www.apache.org Received: (qmail 72824 invoked from network); 4 May 2005 03:28:20 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur.apache.org with SMTP; 4 May 2005 03:28:20 -0000 Received: (qmail 33307 invoked by uid 500); 4 May 2005 03:30:09 -0000 Delivered-To: apmail-ws-axis-c-user-archive@ws.apache.org Received: (qmail 33226 invoked by uid 500); 4 May 2005 03:30:08 -0000 Mailing-List: contact axis-c-user-help@ws.apache.org; run by ezmlm Precedence: bulk list-help: list-unsubscribe: List-Post: List-Id: "Apache AXIS C User List" Reply-To: "Apache AXIS C User List" Delivered-To: mailing list axis-c-user@ws.apache.org Received: (qmail 33210 invoked by uid 99); 4 May 2005 03:30:08 -0000 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests= X-Spam-Check-By: apache.org Received-SPF: pass (hermes.apache.org: local policy) Received: from arbutus.hardersoft.com (HELO mail.hardersoft.com) (208.181.129.66) by apache.org (qpsmtpd/0.28) with ESMTP; Tue, 03 May 2005 20:30:08 -0700 Received: from localhost (localhost [127.0.0.1]) by mail.hardersoft.com (Postfix) with ESMTP id B13323DE183 for ; Tue, 3 May 2005 20:28:15 -0700 (PDT) Received: from mail.hardersoft.com ([127.0.0.1]) by localhost (arbutus.hardersoft.com [127.0.0.1]) (amavisd-new, port 10025) with ESMTP id 06632-05 for ; Tue, 3 May 2005 20:28:13 -0700 (PDT) Received: from Satellite (kits.hardersoft.com [208.181.145.237]) by mail.hardersoft.com (Postfix) with ESMTP id B83833DE105 for ; Tue, 3 May 2005 20:28:13 -0700 (PDT) From: "Ian Harder" To: "'Apache AXIS C User List'" Subject: RE: Creating ws client within ws server Date: Tue, 3 May 2005 20:28:13 -0700 Message-ID: <001b01c55059$4db7a6c0$6501a8c0@Satellite> MIME-Version: 1.0 Content-Type: text/plain; charset="US-ASCII" Content-Transfer-Encoding: 7bit X-Priority: 3 (Normal) X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook, Build 10.0.4510 X-MIMEOLE: Produced By Microsoft MimeOLE V6.00.2900.2180 Importance: Normal In-reply-to: X-Virus-Scanned: by amavisd-new at hardersoft.com X-Virus-Checked: Checked X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N Thanks for the info Tim. I should be able to work around it, although it would be nice not to have that kind of restriction on an Axis process. Ian -----Original Message----- From: Tim Bartley [mailto:tbartley@au1.ibm.com] Sent: May 3, 2005 8:03 PM To: Apache AXIS C User List Subject: Re: Creating ws client within ws server Hi Ian, "Ian Harder" wrote on 04/05/2005 10:47:25: > I've been working on a project where a web service is used to > perform a number of tasks, including the calling of another web > service to verify a user id. > > When I attempt to create the web service client within the server > method, the server method dies, and control jumps right to the fini > method. I've tried a number of things including creating the client > both statically and dynamically, etc, but no matter what, whenever > the client is created the server method it dies. I don't believe this is possible today. Axis C++ can't operate in both client and server mode, or behave as multiple clients or behave have multiple servers. I have previously opened requirements AXISCPP-427 and AXISCPP-426 to help address this (see: http://issues.apache.org/jira/browse/AXISCPP-427 and http://issues.apache.org/jira/browse/AXISCPP-426). The only way I could think of to workaround this today would be to have two (or more) separate instances of Axis (different shared library names, different C++ namespace) and set one up as the server and the other as the client. This would be very painful. Regards, Tim