Return-Path: Delivered-To: apmail-ws-axis-c-dev-archive@www.apache.org Received: (qmail 77070 invoked from network); 15 Mar 2004 22:45:30 -0000 Received: from daedalus.apache.org (HELO mail.apache.org) (208.185.179.12) by minotaur-2.apache.org with SMTP; 15 Mar 2004 22:45:30 -0000 Received: (qmail 40628 invoked by uid 500); 15 Mar 2004 22:45:18 -0000 Delivered-To: apmail-ws-axis-c-dev-archive@ws.apache.org Received: (qmail 40580 invoked by uid 500); 15 Mar 2004 22:45:17 -0000 Mailing-List: contact axis-c-dev-help@ws.apache.org; run by ezmlm Precedence: bulk list-help: list-unsubscribe: list-post: List-Id: "Apache AXIS C Developers List" Reply-To: "Apache AXIS C Developers List" Delivered-To: mailing list axis-c-dev@ws.apache.org Received: (qmail 40550 invoked from network); 15 Mar 2004 22:45:17 -0000 Received: from unknown (HELO fep02-mail.bloor.is.net.cable.rogers.com) (66.185.86.72) by daedalus.apache.org with SMTP; 15 Mar 2004 22:45:17 -0000 Received: from GOOSE ([65.50.23.89]) by fep02-mail.bloor.is.net.cable.rogers.com (InterMail vM.5.01.05.12 201-253-122-126-112-20020820) with ESMTP id <20040315224428.QEGP434741.fep02-mail.bloor.is.net.cable.rogers.com@GOOSE> for ; Mon, 15 Mar 2004 17:44:28 -0500 Message-ID: <005e01c40adf$319ec510$2c01a8c0@GOOSE> From: "Tom Alexandrowicz" To: "Apache AXIS C Developers List" References: <4055F262.1080508@free.fr> Subject: soap fault handling on the client side Date: Mon, 15 Mar 2004 17:45:19 -0500 MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 6.00.2800.1106 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1106 X-Authentication-Info: Submitted using SMTP AUTH LOGIN at fep02-mail.bloor.is.net.cable.rogers.com from [65.50.23.89] using ID at Mon, 15 Mar 2004 17:44:28 -0500 X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N X-Spam-Rating: minotaur-2.apache.org 1.6.2 0/1000/N Hi, I'm using your library as a soap client in a project I'm working on. I've noticed that there's no code and some TODOs around the handling of soap faults on the client side. I've got to handle this for my project. I'm wondering if you have a plan as to how the handling should work. That way, if I followed your plan I maybe you merge the code I write into your tree. Anyhow, in case you don't have a plan or answer me in time, I'm working on my own plan... I'll let you know in a day or so... Also, I'm building under VC7.1 (visual studio 2003). The Axis 1.0 release didn't build under this environment because default values on functions aren't handled. So I just pulled your CVS tree about a week ago and I'm working off that. I did notice one bug which doesn't occur under VC6 because the implementations of stl::string::c_str() between VC7.1 and VC6 are different. Under VC7.1 c_str() returns a copy of the string's buffer. That copy is allocated on the stack and gets destroyed when the calling function returns. So you the way c_str() was being called in HttpTransport::operator >> was broken. I'd suggest the solution I used, but it isn't very elegant or efficient... It looks like this area of the system is under current development anyhow... Other than than these little issue, the library's working great for me... you've done a great job! Cheers, Tom