Return-Path: Delivered-To: apmail-ws-axis-c-dev-archive@www.apache.org Received: (qmail 18163 invoked from network); 22 Jul 2004 03:22:33 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur-2.apache.org with SMTP; 22 Jul 2004 03:22:33 -0000 Received: (qmail 26072 invoked by uid 500); 22 Jul 2004 03:22:32 -0000 Delivered-To: apmail-ws-axis-c-dev-archive@ws.apache.org Received: (qmail 26053 invoked by uid 500); 22 Jul 2004 03:22:32 -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 26040 invoked by uid 99); 22 Jul 2004 03:22:32 -0000 X-ASF-Spam-Status: No, hits=0.1 required=10.0 tests=DNS_FROM_RFC_ABUSE X-Spam-Check-By: apache.org Received: from [66.218.78.145] (HELO web40608.mail.yahoo.com) (66.218.78.145) by apache.org (qpsmtpd/0.27.1) with SMTP; Wed, 21 Jul 2004 20:22:28 -0700 Message-ID: <20040722032227.59681.qmail@web40608.mail.yahoo.com> Received: from [220.247.210.131] by web40608.mail.yahoo.com via HTTP; Wed, 21 Jul 2004 20:22:27 PDT Date: Wed, 21 Jul 2004 20:22:27 -0700 (PDT) From: Samisa Abeysinghe Subject: Re: Removal of prefix from HeaderBlock To: Apache AXIS C Developers List In-Reply-To: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Virus-Checked: Checked X-Spam-Rating: minotaur-2.apache.org 1.6.2 0/1000/N --- Adrian Dick wrote: > > > > > Hi, > > Having just moved up to the 1.2 release of the Axis C++ code, we've found > that it is no longer possible to specify a prefix on HeaderBlocks. This > causes us significant problem, as the backend server (not an Axis C++ > server) expects the HeaderBlocks to be of a specific prefix - not the one > generated during serialization. > > We are currently using the following 2 methods of adding SOAPHeaderBlocks > From within the stub > stub->createSOAPHeaderBlock > From within a handler > IHandlerSoapSerializer->createHeaderBlock > For both methods it was previously possible to assign a prefix to the > HeaderBlock either during construction or through the setPrefix method. > > Why have the methods to assign a prefix been removed from HeaderBlock, and > in turn the createSOAPHeader methods in Call and Stub? > > The only comment I can see on this change is in HeaderBlock.cpp in the > commented out setPrefix method: > The prefix should be decided by the Serializer at runtime > Surely, this is wrong! It should be decided by the Serializer at runtime, > only if one has not been specified. > Sounds like the prefix is required as a parameter. Is it possible to add the older api back to the code? One idea; As more people are trying to use Axis C++ project, it is not a good idea to drop API calls all the sudden, even if they have problems. Rahter Axis C++ team need to adopt a 'deprecate' methodology where older APIs are phased out gradually. However, in this case it is not a problem of phasing out; rhather keeping it to make the API flexible enough for developers. Thanks, Samisa... > As this is affecting us now, we would appreciate a speedy response. > > Thanks, > Adrian > _______________________________________ > Adrian Dick (adrian.dick@uk.ibm.com) > > __________________________________ Do you Yahoo!? Vote for the stars of Yahoo!'s next ad campaign! http://advision.webevents.yahoo.com/yahoo/votelifeengine/