Return-Path: Delivered-To: apmail-ws-axis-dev-archive@ws.apache.org Received: (qmail 91300 invoked by uid 500); 12 Jul 2003 04:26:30 -0000 Mailing-List: contact axis-dev-help@ws.apache.org; run by ezmlm Precedence: bulk Reply-To: axis-dev@ws.apache.org list-help: list-unsubscribe: list-post: Delivered-To: mailing list axis-dev@ws.apache.org Received: (qmail 91264 invoked from network); 12 Jul 2003 04:26:30 -0000 Importance: Normal Sensitivity: Subject: Re: AnyContentType To: axis-dev@ws.apache.org X-Mailer: Lotus Notes Release 5.0.3 (Intl) 21 March 2000 Message-ID: From: Doug Davis Date: Fri, 11 Jul 2003 22:26:29 -0600 X-MIMETrack: Serialize by Router on D03NM119/03/M/IBM(Release 6.0.1 [IBM]|June 10, 2003) at 07/11/2003 22:26:39 MIME-Version: 1.0 Content-type: text/plain; charset=US-ASCII X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N I'm confused - Element can map to xsd:any - whether Axis does it properly or not is something different - but its possible, so why can't Element be used in place of AnyContentType? Not sure about the performance gain since the minute anyone wants to do something with a MessageElement it will be convert into a DOM, right? -Dug Thomas Sandholm on 07/12/2003 12:24:21 AM Please respond to axis-dev@ws.apache.org To: axis-dev@ws.apache.org, axis-dev@ws.apache.org cc: Subject: Re: AnyContentType The purpose of the AnyContentType is to have an interface in common for all types that contain an xsd:any element definition, so that utilities can assume the availability of the get_any and set_any operations without knowing the actual type. There is no type or construct in wsdl that maps to Element as far as I know, and the fact that xsd:any elements do not get deserialized into DOM Elements automatically (but instead MessageElements) can be a big performance gain. /Thomas At 05:19 AM 7/11/2003 -0600, Doug Davis wrote: >What's the purpose behind the AnyContentType class? >I have a feeling it might to support any generic chunk of XML as a param in >the RPC case, but if so why not just use Element? >-Dug Thomas Sandholm The Globus Project(tm) Ph: 630-252-1682, Fax: 630-252-1997 Argonne National Laboratory