Return-Path: Delivered-To: apmail-axis-c-user-archive@www.apache.org Received: (qmail 79184 invoked from network); 13 Sep 2010 08:17:20 -0000 Received: from unknown (HELO mail.apache.org) (140.211.11.3) by 140.211.11.9 with SMTP; 13 Sep 2010 08:17:20 -0000 Received: (qmail 90215 invoked by uid 500); 13 Sep 2010 08:17:20 -0000 Delivered-To: apmail-axis-c-user-archive@axis.apache.org Received: (qmail 90037 invoked by uid 500); 13 Sep 2010 08:17:17 -0000 Mailing-List: contact c-user-help@axis.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: "Apache AXIS C User List" Delivered-To: mailing list c-user@axis.apache.org Received: (qmail 90029 invoked by uid 99); 13 Sep 2010 08:17:16 -0000 Received: from Unknown (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 13 Sep 2010 08:17:16 +0000 X-ASF-Spam-Status: No, hits=-5.0 required=10.0 tests=RCVD_IN_DNSWL_HI,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: local policy) Received: from [194.40.127.75] (HELO C005894.axa.ch) (194.40.127.75) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 13 Sep 2010 08:16:52 +0000 X-IronPort-AV: E=Sophos;i="4.56,358,1280700000"; d="scan'208";a="22590966" Received: from c005811.chres1.doleni.net ([194.40.60.11]) by C005894.ch.winterthur.com with ESMTP; 13 Sep 2010 10:15:56 +0200 Received: from c005808.chres1.doleni.net ([194.40.60.22]) by c005811.chres1.doleni.net with Microsoft SMTPSVC(6.0.3790.4675); Mon, 13 Sep 2010 10:16:32 +0200 Content-class: urn:content-classes:message MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable X-MimeOLE: Produced By Microsoft Exchange V6.5 Subject: AW: Axis2c client fails to receive return if return size is large Date: Mon, 13 Sep 2010 10:16:32 +0200 Message-ID: In-Reply-To: X-MS-Has-Attach: X-MS-TNEF-Correlator: Thread-Topic: Axis2c client fails to receive return if return size is large Thread-Index: ActNfpJA5Q0aJg+0SlaBqM5sZEWHTgFnF6Sg References: From: "Stadelmann Josef" To: "Apache AXIS C User List" X-OriginalArrivalTime: 13 Sep 2010 08:16:32.0183 (UTC) FILETIME=[F94A9C70:01CB531B] X-Virus-Checked: Checked by ClamAV on apache.org Can you get/log the length of the payload-to-server-string on the = client? Can you get/log the received string at the server before you pass it to = axiom/axutil/guthila or libxml routines? =20 I recently had the following problem;=20 I used the wrong pointer type (16bit) to pass on a well received 92kByte = string to some axiom/axtuil/libxml routines to deserialise it. This is a = real no go and I got an error back telling me about invalid xml and the = like.=20 Using a 32 or 64bit pointer to my string an all was fine. Josef =20 -----Urspr=FCngliche Nachricht----- Von: Selvaratnam Uthaiyashankar [mailto:uthaiyashankar@gmail.com]=20 Gesendet: Montag, 6. September 2010 06:46 An: Apache AXIS C User List Betreff: Re: Axis2c client fails to receive return if return size is = large Hi, What is the Axis2/C version you are using? Can you try with Axis2/C 1.7 RC and see whether it works? AFAIK, we fixed some bugs in guththila. Regards, Shankar On Fri, Sep 3, 2010 at 5:55 AM, Fan, Jan-fon = wrote: > Hi, > > I have a client written with Axis2C client api, When it tries to = receive the > return from a web service and if the return data size is large (about = 200k) > it fails to receive all of the data. If data size is small then it is = OK. > Below is the way that I set up my client. Is there anything wrong? > > > > const axutil_env_t *env =3D NULL; > > const axis2_char_t *address =3D "http:imorepos/ws/Query.asmx"; > > axis2_endpoint_ref_t *endpoint_ref =3D NULL; > > axis2_options_t *options =3D NULL; > > axutil_string_t *soap_action =3D NULL; > > const axis2_char_t *client_home =3D NULL; > > axiom_node_t *payload =3D NULL; > > axiom_node_t *ret_node =3D NULL; > > > > env =3D axutil_env_create_all("tool.log", AXIS2_LOG_LEVEL_DEBUG); > > options =3D axis2_options_create(env); > > axis2_options_set_timeout_in_milli_seconds( options, env, 180000); > > endpoint_ref =3D axis2_endpoint_ref_create(env, address); > > axis2_options_set_soap_version(options, env,AXIOM_SOAP11); > > axis2_options_set_to(options, env, endpoint_ref); > > soap_action =3D axutil_string_create(env, "convert"); > > axis2_options_set_soap_action(options, env, soap_action); > > client_home =3D AXIS2_GETENV("AXIS2C_HOME"); > > svc_client =3D axis2_svc_client_create(env, client_home); > > axis2_svc_client_set_options(svc_client, env, options); > > payload=3D build_om_payload(); //this function return the payload > > ret_node =3D axis2_svc_client_send_receive(svc_client, env, payload); > > > > > > Thanks, > > Jan --=20 S.Uthaiyashankar Senior Software Architect WSO2 Inc. http://wso2.com/ - "lean . enterprise . middleware" --------------------------------------------------------------------- To unsubscribe, e-mail: c-user-unsubscribe@axis.apache.org For additional commands, e-mail: c-user-help@axis.apache.org --------------------------------------------------------------------- To unsubscribe, e-mail: c-user-unsubscribe@axis.apache.org For additional commands, e-mail: c-user-help@axis.apache.org