Return-Path: Delivered-To: apmail-ws-axis-c-dev-archive@www.apache.org Received: (qmail 61868 invoked from network); 21 Jun 2004 03:44:02 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur-2.apache.org with SMTP; 21 Jun 2004 03:44:02 -0000 Received: (qmail 65876 invoked by uid 500); 21 Jun 2004 03:44:05 -0000 Delivered-To: apmail-ws-axis-c-dev-archive@ws.apache.org Received: (qmail 65863 invoked by uid 500); 21 Jun 2004 03:44:04 -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 65850 invoked by uid 99); 21 Jun 2004 03:44:04 -0000 Received: from [66.218.78.146] (HELO web40609.mail.yahoo.com) (66.218.78.146) by apache.org (qpsmtpd/0.27.1) with SMTP; Sun, 20 Jun 2004 20:44:04 -0700 Message-ID: <20040621034349.24081.qmail@web40609.mail.yahoo.com> Received: from [202.162.25.34] by web40609.mail.yahoo.com via HTTP; Sun, 20 Jun 2004 20:43:49 PDT Date: Sun, 20 Jun 2004 20:43:49 -0700 (PDT) From: Samisa Abeysinghe Subject: Re: Stub class changes To: Apache AXIS C Developers List In-Reply-To: <20040621030901.21989.qmail@web40601.mail.yahoo.com> 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 Hi Susantha, I set the default parameter value of eProtocol to be HTTP. Now I get yet another problem. You have shifted the logic of creating the header block to Call class. Now the Stub test case that I have written fails. See the stack trace below. Program received signal SIGSEGV, Segmentation fault. [Switching to Thread 1075313920 (LWP 4902)] 0x4005b998 in Call::createHeaderBlock(char*, char*) (this=0x804cd50, pachLocalName=0x804a9aa "TestHeader", pachUri=0x804a760 "http://ws.apache.org/axisCppTest/") at Call.cpp:580 580 return (m_pIWSSZ->createHeaderBlock (pachLocalName, pachUri)); Current language: auto; currently c++ (gdb) bt #0 0x4005b998 in Call::createHeaderBlock(char*, char*) (this=0x804cd50, pachLocalName=0x804a9aa "TestHeader", pachUri=0x804a760 "http://ws.apache.org/axisCppTest/") at Call.cpp:580 #1 0x4005cfd2 in Stub::createSOAPHeaderBlock(char*, char*) (this=0xbfffe7f0, pachLocalName=0x804a9aa "TestHeader", pachUri=0x804cd50 "�\t@") at Stub.cpp:178 #2 0x08048ee0 in strcpy () #3 0x42015574 in __libc_start_main () from /lib/tls/libc.so.6 (gdb) Earlier logic was working. But the new logic of yours is giving problems. Could you please fix this. Thanks, Samisa... --- Samisa Abeysinghe wrote: > Hi Susantha, > You have changed the signature of the signature of Stub constructor from: > Stub(const char *pcEndPointUri) to > Stub(const char *pcEndPointUri, AXIS_PROTOCOL_TYPE eProtocol) > > This has made the stubBase test case in tesst forlder fail to compile. > > I tried to get the test working, however you have not documented the eProtocol parameter, > and > I find it difficult to find what parameter values I should be passing. > > Could you please document the parameter. > > Also, is it a must to specify a protocol? cant we assume a default? > > Samisa... > > > > __________________________________ > Do you Yahoo!? > Take Yahoo! Mail with you! Get it on your mobile phone. > http://mobile.yahoo.com/maildemo > __________________________________ Do you Yahoo!? New and Improved Yahoo! Mail - 100MB free storage! http://promotions.yahoo.com/new_mail