Return-Path: Delivered-To: apmail-ws-axis-c-user-archive@www.apache.org Received: (qmail 32277 invoked from network); 24 Nov 2005 13:26:01 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur.apache.org with SMTP; 24 Nov 2005 13:26:01 -0000 Received: (qmail 99279 invoked by uid 500); 24 Nov 2005 13:26:00 -0000 Delivered-To: apmail-ws-axis-c-user-archive@ws.apache.org Received: (qmail 99269 invoked by uid 500); 24 Nov 2005 13:26:00 -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 99253 invoked by uid 99); 24 Nov 2005 13:26:00 -0000 Received: from asf.osuosl.org (HELO asf.osuosl.org) (140.211.166.49) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 24 Nov 2005 05:26:00 -0800 X-ASF-Spam-Status: No, hits=-0.0 required=10.0 tests=SPF_HELO_PASS,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (asf.osuosl.org: domain of juan.x.jimenez@bankofamerica.com designates 171.159.32.4 as permitted sender) Received: from [171.159.32.4] (HELO cr-mailgw.bankofamerica.com) (171.159.32.4) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 24 Nov 2005 05:27:31 -0800 Received: from emacrobrd00.bankofamerica.com ([165.47.14.124]) by cr-mailgw.bankofamerica.com (8.12.10/8.12.10) with ESMTP id jAODPZwd020041 for ; Thu, 24 Nov 2005 13:25:36 GMT Received: from mail pickup service by emacrobrd00.bankofamerica.com with Microsoft SMTPSVC; Thu, 24 Nov 2005 13:25:34 +0000 Received: from cro-emacroexc00v1.emea.bankofamerica.com ([165.47.14.126]) by emacrobrd00.bankofamerica.com with Microsoft SMTPSVC(5.0.2195.6713); Thu, 24 Nov 2005 13:25:33 +0000 X-MimeOLE: Produced By Microsoft MimeOLE V5.50.4939.300 Content-Class: urn:content-classes:message MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable Subject: Remote call failure due to stream errors ? Date: Thu, 24 Nov 2005 13:25:23 -0000 Message-ID: X-MS-Has-Attach: X-MS-TNEF-Correlator: Thread-Topic: Remote call failure due to stream errors ? thread-index: AcXw+oYLEpR5gikbTeahAJ8qMJTKyw== From: "Jimenez, Juan X" To: "Apache AXIS C User List" X-OriginalArrivalTime: 24 Nov 2005 13:25:33.0439 (UTC) FILETIME=[8C3040F0:01C5F0FA] X-Virus-Checked: Checked by ClamAV on apache.org X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N I have a very simple service (implemented in Java) with two methods: =20 String echo(String message) and Future getFuture() =20 I have tested both through a browser and they are both known to work. =20 I have used the binary version of Axis C++ 1.5 to generate stubs and wrote a very simple client that invokes echo() twice followed by getFuture() =20 echo works without any problems but getFuture systematically fails with the following error message returned by the what() method of SoapFaultException =20 HTTPTransportException:Output streaming error on Channel while writing data Channel error 0 while writing data: 'The operation completed successfully. ' The only warning I see when I start my client is =20 Warning - The configuration file was not found (/axiscpp.conf). Using default values =20 Could anyone please give me a good hint as to what may be going wrong here (given that I am a Java programmer and struggle with C++) ? =20 Here is my client code: =20 =20 #include "stdafx.h" #include "SimpleServicePort.hpp" #include "Future.hpp" #include int main(int argc, _TCHAR* argv[]) { char uri[] =3D "http://localhost:7001/webservice/SimpleService"; SimpleServicePort *ssp =3D new SimpleServicePort(uri,APTHTTP1_1); char *response =3D ssp->echo("Hello World!"); printf("\n%s %s\n\n", response, ssp->echo("And hello again.")); Future *aFuture; try { aFuture =3D ssp->getFuture(); } catch(SoapFaultException sfe) { printf("Remote call failed: %s\n", sfe.what()); } return 0; } Thank you in advance Juan Notice to recipient: The information in this internet e-mail and any attachments is = confidential and may be privileged. It is intended solely for the = addressee. If you are not the intended addressee please notify the = sender immediately by telephone. If you are not the intended recipient, = any disclosure, copying, distribution or any action taken or omitted to = be taken in reliance on it, is prohibited and may be unlawful. When addressed to external clients any opinions or advice contained in = this internet e-mail are subject to the terms and conditions expressed = in any applicable governing terms of business or client engagement = letter issued by the pertinent Bank of America group entity. If this email originates from the U.K. please note that Bank of America, = N.A., London Branch and Banc of America Securities Limited are = authorised and regulated by the Financial Services Authority.