Return-Path: Delivered-To: apmail-ws-axis-c-user-archive@www.apache.org Received: (qmail 721 invoked from network); 2 Dec 2006 04:56:16 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 2 Dec 2006 04:56:16 -0000 Received: (qmail 880 invoked by uid 500); 2 Dec 2006 04:56:24 -0000 Delivered-To: apmail-ws-axis-c-user-archive@ws.apache.org Received: (qmail 865 invoked by uid 500); 2 Dec 2006 04:56:23 -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 854 invoked by uid 99); 2 Dec 2006 04:56:23 -0000 Received: from herse.apache.org (HELO herse.apache.org) (140.211.11.133) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 01 Dec 2006 20:56:23 -0800 X-ASF-Spam-Status: No, hits=1.4 required=10.0 tests=SPF_NEUTRAL X-Spam-Check-By: apache.org Received-SPF: neutral (herse.apache.org: 209.68.5.15 is neither permitted nor denied by domain of xydinesh@gmail.com) Received: from [209.68.5.15] (HELO relay01.pair.com) (209.68.5.15) by apache.org (qpsmtpd/0.29) with SMTP; Fri, 01 Dec 2006 20:56:12 -0800 Received: (qmail 87281 invoked from network); 2 Dec 2006 04:55:28 -0000 Received: from unknown (HELO debian) (unknown) by unknown with SMTP; 2 Dec 2006 04:55:28 -0000 X-pair-Authenticated: 203.81.106.176 Received: from dinesh by debian with local (Exim 4.44) id 1GqMw6-0001JN-Vb for axis-c-user@ws.apache.org; Sat, 02 Dec 2006 10:27:14 +0530 From: Dinesh Premalal To: "Apache AXIS C User List" Subject: Re: I can not receive MIME attachment in client References: X-URL: http://xydinesh.blogspot.com Date: Sat, 02 Dec 2006 10:27:14 +0530 In-Reply-To: (Yong Yang's message of "Fri\, 1 Dec 2006 12\:26\:21 +0000") Message-ID: <87wt5a51zp.fsf@gmail.com> User-Agent: Gnus/5.110006 (No Gnus v0.6) Emacs/21.4 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Virus-Checked: Checked by ClamAV on apache.org Hi Yong, Yong Yang writes: > Hi, I am looking at the AXIS2-C framework and have writen one simple > program using AXIS2C. In that program, client sends two parameters > and two attachments to the server and the server will return two > simple values and two attachments. In that experiment, the server > can correctly receive the two parameters and two attachments sent by > client. But the client only can receives the two return values and > can not receive the attachments as the binary data node for the > attachment is null. When I use axiom_xml_writer_t to output the > whole return node, I did not see the file content inside the XML > file. It seems that the server did not attach the files to client. I'm not sure whether, problem in client or server. Did you use tcpmonitor to monitor the messages exchanged. If not please use that, then you can check, whether attachment is coming from the server. If attachment comes from server there is a problem in receiving part. You can refer mtom sample service (samples/server/mtom) to get an idea about receiving. If attachment doesn't come form the server there is a problem in attaching part. Please refer mtom sample client (samples/client/mtom) to get an idea about attaching. BTW. Did you use axis2_data_handler to deal with attachment. thanks, Dinesh --------------------------------------------------------------------- To unsubscribe, e-mail: axis-c-user-unsubscribe@ws.apache.org For additional commands, e-mail: axis-c-user-help@ws.apache.org