Return-Path: Delivered-To: apmail-ws-axis-c-user-archive@www.apache.org Received: (qmail 83835 invoked from network); 1 Dec 2006 12:23:09 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 1 Dec 2006 12:23:09 -0000 Received: (qmail 8663 invoked by uid 500); 1 Dec 2006 12:23:17 -0000 Delivered-To: apmail-ws-axis-c-user-archive@ws.apache.org Received: (qmail 8649 invoked by uid 500); 1 Dec 2006 12:23:16 -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 8638 invoked by uid 99); 1 Dec 2006 12:23:16 -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 04:23:16 -0800 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests= X-Spam-Check-By: apache.org Received-SPF: pass (herse.apache.org: local policy) Received: from [62.49.38.106] (HELO mail.querix.co.uk) (62.49.38.106) by apache.org (qpsmtpd/0.29) with SMTP; Fri, 01 Dec 2006 04:23:04 -0800 Received: (qmail 11110 invoked from network); 1 Dec 2006 12:22:40 -0000 Received: from yy.querix.co.uk (HELO brad) (192.168.2.14) by mail.querix.co.uk with SMTP; 1 Dec 2006 12:22:40 -0000 Date: Fri, 1 Dec 2006 12:26:21 +0000 From: Yong Yang Subject: I can not receive MIME attachment in client To: Message-ID: Mime-Version: 1.0 Organization: Querix (UK) Ltd X-Mailer: GoldMine [6.50.31113] Content-Type: text/plain Content-Transfer-Encoding: quoted-printable X-Virus-Checked: Checked by ClamAV on apache.org 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. In the client, we use the method send request to server, //enable MIMIE OPTION AXIS2_OPTIONS_SET_ENABLE_MTOM(options, env, AXIS2_TRUE); ....... axiom_node_t *return_node=3DAXIS2_SVC_CLIENT_SEND_RECEIVE(svc_client, env, = payload) ... As I use the same function for build soap request and serialize soap in the = client and server, I assume that these functions are correct as the server can = detach the files sent by client.=20 could anyone give me some ideas for this problem? many thanks in advance. best regards yong --------------------------------------------------------------------- To unsubscribe, e-mail: axis-c-user-unsubscribe@ws.apache.org For additional commands, e-mail: axis-c-user-help@ws.apache.org