Return-Path: Delivered-To: apmail-ws-axis-c-dev-archive@www.apache.org Received: (qmail 17947 invoked from network); 7 May 2006 02:40:29 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur.apache.org with SMTP; 7 May 2006 02:40:29 -0000 Received: (qmail 20017 invoked by uid 500); 7 May 2006 02:40:29 -0000 Delivered-To: apmail-ws-axis-c-dev-archive@ws.apache.org Received: (qmail 19989 invoked by uid 500); 7 May 2006 02:40:28 -0000 Mailing-List: contact axis-c-dev-help@ws.apache.org; run by ezmlm Precedence: bulk list-help: list-unsubscribe: List-Post: List-Id: "Apache AXIS C Developers List" Reply-To: "Apache AXIS C Developers List" Delivered-To: mailing list axis-c-dev@ws.apache.org Received: (qmail 19978 invoked by uid 99); 7 May 2006 02:40:28 -0000 Received: from asf.osuosl.org (HELO asf.osuosl.org) (140.211.166.49) by apache.org (qpsmtpd/0.29) with ESMTP; Sat, 06 May 2006 19:40:28 -0700 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests= X-Spam-Check-By: apache.org Received-SPF: neutral (asf.osuosl.org: local policy) Received: from [209.68.5.9] (HELO relay00.pair.com) (209.68.5.9) by apache.org (qpsmtpd/0.29) with SMTP; Sat, 06 May 2006 19:40:26 -0700 Received: (qmail 59181 invoked from network); 7 May 2006 02:40:05 -0000 Received: from unknown (HELO ?192.168.1.238?) (unknown) by unknown with SMTP; 7 May 2006 02:40:05 -0000 X-pair-Authenticated: 222.165.178.27 Message-ID: <445D571E.3030505@wso2.com> Date: Sun, 07 May 2006 08:10:38 +0600 From: Nabeel User-Agent: Mozilla Thunderbird 1.0.7-1.1.fc4 (X11/20050929) X-Accept-Language: en-us, en MIME-Version: 1.0 To: Apache AXIS C Developers List Subject: Re: [Axis2] How do I add multiple elements to soap body? References: In-Reply-To: Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N Hi Pete, With svc_client API you can send only one body part (making it WS-I compliant). with op_client you can create the SOAP message to have more than one child, but the engine (raw msg receiver to be precise) processes only the first child of the body element. You might need to use doc/lit wrapped (and change WSDL) to have this sent to the service provider. -Nabeel Pete Robbins wrote: > | > >|If I have a doc/lit ws how do I code a client to produce the message:| > >| > > fred > joe > >| > > | > |The client APIs seem to take a single axis2_om_node_t* payload which > I assume is inserted into the soap body. Is there an API to add more > than one element as above? | > || > |Cheers,| > || > -- > Pete