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 <[EMAIL PROTECTED]> on 07/12/2003 12:24:21 AM
Please respond to [EMAIL PROTECTED]
To: [EMAIL PROTECTED], [EMAIL PROTECTED]
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 <[EMAIL PROTECTED]>
The Globus Project(tm) <http://www.globus.org>
Ph: 630-252-1682, Fax: 630-252-1997
Argonne National Laboratory