Return-Path: Delivered-To: apmail-ws-axis-user-archive@www.apache.org Received: (qmail 1187 invoked from network); 21 Dec 2004 09:01:27 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur-2.apache.org with SMTP; 21 Dec 2004 09:01:27 -0000 Received: (qmail 97455 invoked by uid 500); 21 Dec 2004 09:00:56 -0000 Delivered-To: apmail-ws-axis-user-archive@ws.apache.org Received: (qmail 97425 invoked by uid 500); 21 Dec 2004 09:00:56 -0000 Mailing-List: contact axis-user-help@ws.apache.org; run by ezmlm Precedence: bulk Reply-To: axis-user@ws.apache.org list-help: list-unsubscribe: list-post: Delivered-To: mailing list axis-user@ws.apache.org Received: (qmail 97414 invoked by uid 99); 21 Dec 2004 09:00:55 -0000 X-ASF-Spam-Status: No, hits=0.4 required=10.0 tests=DNS_FROM_RFC_ABUSE X-Spam-Check-By: apache.org Received-SPF: pass (hermes.apache.org: local policy) Received: from p-mail1.rd.francetelecom.com (HELO p-mail1.rd.francetelecom.com) (195.101.245.15) by apache.org (qpsmtpd/0.28) with ESMTP; Tue, 21 Dec 2004 01:00:52 -0800 Received: from ftrdmel10.rd.francetelecom.fr ([10.193.117.156]) by ftrdsmtp2.rd.francetelecom.fr with Microsoft SMTPSVC(6.0.3790.211); Tue, 21 Dec 2004 10:00:48 +0100 Received: from [10.193.103.58] ([10.193.103.58]) by ftrdmel10.rd.francetelecom.fr with Microsoft SMTPSVC(6.0.3790.211); Tue, 21 Dec 2004 10:00:48 +0100 Message-ID: <41C7E64C.7070806@francetelecom.com> Date: Tue, 21 Dec 2004 10:01:00 +0100 From: WAJSBERG Julien RD-BIZZ User-Agent: Mozilla Thunderbird 0.9 (X11/20041124) X-Accept-Language: fr, en MIME-Version: 1.0 To: axis-user@ws.apache.org Subject: Re: java2wsdl ant task for document/literal References: <41C7E0A4.3080109@francetelecom.com> <26144.195.153.139.2.1103619181.squirrel@www.rdketchup.com> In-Reply-To: <26144.195.153.139.2.1103619181.squirrel@www.rdketchup.com> X-Enigmail-Version: 0.89.0.0 X-Enigmail-Supports: pgp-inline, pgp-mime Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 8bit X-OriginalArrivalTime: 21 Dec 2004 09:00:48.0481 (UTC) FILETIME=[90648510:01C4E73B] X-Virus-Checked: Checked X-Spam-Rating: minotaur-2.apache.org 1.6.2 0/1000/N Daniel Beland a �crit : >In fact, to be more precise, it means that there is a schema element, with >the same name as the operation, that contains (wraps) the actual document >element representing all the parameters. > >ie: > >wrapped > > (of type X) > > >document > (of type X) > >I believe this is not part of WS-I and was defined by Microsoft only. > You're right. But WS-I says nothing against it either. > I >used to work this way but after some incompatibilities I switched to plain >doc/lit instead. > >If you start with a wsdl, I find it easier than wrapped, and by having >significant names for the elements you don't miss any clarity in the SOAP >body. > >The java portion is nearly identical (Single java object with getX() >methods instead of all unwrapped parameters directly). > > You have to do in the Java code what you don't do in the WSDL :) Both methods are correct of course. -- Julien