Return-Path: Delivered-To: apmail-ws-axis-c-user-archive@www.apache.org Received: (qmail 2613 invoked from network); 19 May 2004 10:34:52 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur-2.apache.org with SMTP; 19 May 2004 10:34:52 -0000 Received: (qmail 93377 invoked by uid 500); 19 May 2004 10:34:49 -0000 Delivered-To: apmail-ws-axis-c-user-archive@ws.apache.org Received: (qmail 93312 invoked by uid 500); 19 May 2004 10:34:48 -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 93289 invoked by uid 98); 19 May 2004 10:34:48 -0000 Received: from tcp@metrocast.net by hermes.apache.org by uid 82 with qmail-scanner-1.20 (clamuko: 0.70. Clear:RC:0(207.5.128.164):. Processed in 0.016506 secs); 19 May 2004 10:34:48 -0000 X-Qmail-Scanner-Mail-From: tcp@metrocast.net via hermes.apache.org X-Qmail-Scanner: 1.20 (Clear:RC:0(207.5.128.164):. Processed in 0.016506 secs) Received: from unknown (HELO aphrodite.gwi.net) (207.5.128.164) by hermes.apache.org with SMTP; 19 May 2004 10:34:48 -0000 Received: from Perseverance.metrocast.net (207-5-172-124.metrocast.net [207.5.172.124]) by aphrodite.gwi.net (8.12.9p2/8.12.9) with ESMTP id i4JAYkaS044540 for ; Wed, 19 May 2004 06:34:47 -0400 (EDT) (envelope-from tcp@metrocast.net) Message-Id: <6.0.1.1.0.20040519055659.01f7ad90@winter1.winter-harbor.com> X-Sender: tcp@pop.metrocast.net X-Mailer: QUALCOMM Windows Eudora Version 6.0.1.1 Date: Wed, 19 May 2004 06:34:36 -0400 To: axis-c-user@ws.apache.org From: Thomas Subject: Exception thrown & missing client-side files? In-Reply-To: <1084941571.73236.ezmlm@ws.apache.org> References: <1084941571.73236.ezmlm@ws.apache.org> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii"; format=flowed X-Spam-Rating: hermes.apache.org 1.6.2 0/1000/N X-Spam-Rating: minotaur-2.apache.org 1.6.2 0/1000/N I'm new to Axis C++ and am trying to build a Client-side application under MSVC. I have chosen the Calculator as my test. Now, I have successfully built the application with Axis C++ 1.1, and the application loads properly with AxisClient.dll and the expat's dll also. The difficulty I am seeing is that the application throws an exception during construction of the calculator! It appears to be thrown during the construction of the Call() object. Calculator::Calculator() { m_pCall = new Call(); // *********** bad - exception thrown .... } I have tried to learn more about this problem by building the Axis C++ debug client library from downloaded sources (the .zip file download). When I link with and load this rebuilt version of the Axis client library the exception is not thrown. BUT the application still fails, it returns an AXIS_FAIL instead of throwing an exception. The reason for the new failure is that the Client library seems to be looking for some very specific files and setup information: * An environment variable called AXIS_HOME * A config file called axiscpp.conf * Another config file known as the client side WSDD This is as far as I have gotten, maybe there are additional requirements I have not uncovered yet. When I reviewed the instructions for creating and running the Calculator example, with the heading " Coding the client," I did not notice any of these things mentioned as requirements before it would be possible to run the program; so perhaps I accidentally overlooked them. Then I searched recursively for any .conf file in my AxisCPP directory and there was no .conf file to be found anywhere. So there does not seem to be a file that gives an example of the correct syntax. For right now, can anyone supply example of the required .conf file and maybe instructions about how the client-side .wsdd should be edited (customized?) for the particular machine it is running on. (I hope that maybe in the future these things might become optional, perhaps automatically set to reasonable defaults, because it seems like excessive amount of setup required simply to run Calculator client program.) Ok, well, thank you for your help!