Return-Path: Delivered-To: apmail-ws-axis-c-user-archive@www.apache.org Received: (qmail 33894 invoked from network); 9 Mar 2005 03:56:58 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur-2.apache.org with SMTP; 9 Mar 2005 03:56:58 -0000 Received: (qmail 69793 invoked by uid 500); 9 Mar 2005 03:56:57 -0000 Delivered-To: apmail-ws-axis-c-user-archive@ws.apache.org Received: (qmail 69773 invoked by uid 500); 9 Mar 2005 03:56:57 -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 69759 invoked by uid 99); 9 Mar 2005 03:56:57 -0000 X-ASF-Spam-Status: No, hits=0.1 required=10.0 tests=FORGED_RCVD_HELO X-Spam-Check-By: apache.org Received-SPF: pass (hermes.apache.org: local policy) Received: from illhyd-static-203.200.208.232.vsnl.net.in (HELO smtp.virtusa.co.in) (203.200.208.232) by apache.org (qpsmtpd/0.28) with ESMTP; Tue, 08 Mar 2005 19:56:56 -0800 Received: from HS-MAILSVR.Virtusa.com ([10.4.10.60]) by smtp.virtusa.co.in with InterScan Messaging Security Suite; Wed, 09 Mar 2005 09:26:58 +0530 Received: from ws-mailsvr.Virtusa.com ([10.3.8.4]) by HS-MAILSVR.Virtusa.com with Microsoft SMTPSVC(6.0.3790.211); Wed, 9 Mar 2005 09:28:58 +0530 Received: from cs-mailsvr.Virtusa.com ([10.2.1.11]) by ws-mailsvr.Virtusa.com with Microsoft SMTPSVC(6.0.3790.211); Tue, 8 Mar 2005 22:56:43 -0500 X-MimeOLE: Produced By Microsoft Exchange V6.5.7226.0 Content-class: urn:content-classes:message MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable Subject: RE: Google with Axis Date: Wed, 9 Mar 2005 10:01:54 +0600 Message-ID: <403DD48EAE182940B89ECEAFE03F969002D16430@cs-mailsvr.Virtusa.com> X-MS-Has-Attach: X-MS-TNEF-Correlator: Thread-Topic: Google with Axis Thread-Index: AcUkRMLIes/1U7ceR/GPHn+2UDGUUwAFr9gQ From: "Samisa Abeysinghe" To: "Apache AXIS C User List" X-OriginalArrivalTime: 09 Mar 2005 03:56:43.0543 (UTC) FILETIME=[01C86A70:01C5245C] X-Virus-Checked: Checked X-Spam-Rating: minotaur-2.apache.org 1.6.2 0/1000/N Hi Krishna, As there are quite a number of files that I would have to look into, please give me some time. I will get back to you. Thanks, Samisa... -----Original Message----- From: krishna [mailto:krishna@lac.uic.edu]=20 Sent: Wednesday, March 09, 2005 7:05 AM To: axis-c-user@ws.apache.org Cc: Krishna Kumar Rajagopalan Subject: Re:Google with Axis Hi Samisa I have attached the source code files with a description. 1.Google.cpp - File written by me for Client side which calls doGoogleSearch 2.GoogleSearchPort.cpp1(renamed) - Original GoogleSearchPort .cpp file=20 generated by wsdl2ws tool 3.error1 - SOAP message generated when GoogleSearchPort.cpp1 was used 4.GoogleSearchPort2.cpp2(modified) - Order of function calls changed to=20 that of wsdl as shown below m_pCall->addParameter((void*)&Value1, "key", XSD_STRING); m_pCall->addParameter((void*)&Value9, "q", XSD_STRING); m_pCall->addParameter((void*)&Value3, "start", XSD_INT); m_pCall->addParameter((void*)&Value7, "maxResults",=20 XSD_INT); m_pCall->addParameter((void*)&Value0, "filter",=20 XSD_BOOLEAN); m_pCall->addParameter((void*)&Value2, "restrict",=20 XSD_STRING); m_pCall->addParameter((void*)&Value5, "safeSearch",=20 XSD_BOOLEAN); m_pCall->addParameter((void*)&Value6, "lr", XSD_STRING); m_pCall->addParameter((void*)&Value4, "ie", XSD_STRING); m_pCall->addParameter((void*)&Value8, "oe", XSD_STRING); 5.error2 - SOAP message generated when GoogleSearchPort.cpp2(modified)=20 was used 6.All other files generated by the WSDL2WS tool are attached 7.compile - sample script to compile files After the run with GoogleSearchPort.cpp2(modified) the code exits with a segmentation fault Regards Krishna uic.edu/~krajag2 Hi Krishna, It would be helpfult to fix this problem if you could send the SOAP message and the generated code that you are using. Thanks, Samisa,,,