Joshua-

I sent you the wsdl for Vehicle BaseType, Car SubType and Motorcycle subtype on sunday
Did you not receive it?
Please confirm,

Martin


From: "Joshua Fox" <[EMAIL PROTECTED]>
Reply-To: [EMAIL PROTECTED]
To: [email protected]
CC: "Martin Gainty" <[EMAIL PROTECTED]>, [EMAIL PROTECTED]
Subject: Re: passing objects of subtypes
Date: Sun, 25 Jun 2006 17:06:04 +0300
MIME-Version: 1.0
Received: from mail.apache.org ([209.237.227.199]) by bay0-mc10-f3.bay0.hotmail.com with Microsoft SMTPSVC(6.0.3790.2444); Sun, 25 Jun 2006 07:06:34 -0700
Received: (qmail 85222 invoked by uid 500); 25 Jun 2006 14:06:26 -0000
Received: (qmail 85211 invoked by uid 99); 25 Jun 2006 14:06:26 -0000
Received: from asf.osuosl.org (HELO asf.osuosl.org) (140.211.166.49) by apache.org (qpsmtpd/0.29) with ESMTP; Sun, 25 Jun 2006 07:06:26 -0700 Received: pass (asf.osuosl.org: domain of [EMAIL PROTECTED] designates 64.233.162.201 as permitted sender) Received: from [64.233.162.201] (HELO nz-out-0102.google.com) (64.233.162.201) by apache.org (qpsmtpd/0.29) with ESMTP; Sun, 25 Jun 2006 07:06:25 -0700 Received: by nz-out-0102.google.com with SMTP id 12so1148637nzp for <[email protected]>; Sun, 25 Jun 2006 07:06:04 -0700 (PDT) Received: by 10.36.77.2 with SMTP id z2mr5285859nza; Sun, 25 Jun 2006 07:06:04 -0700 (PDT)
Received: by 10.36.37.14 with HTTP; Sun, 25 Jun 2006 07:06:04 -0700 (PDT)
X-Message-Info: LsUYwwHHNt3660MmjhEvYg2f34OAemlKtU9j2Z7TuGo=
Mailing-List: contact [EMAIL PROTECTED]; run by ezmlm
Precedence: bulk
list-help: <mailto:[EMAIL PROTECTED]>
list-unsubscribe: <mailto:[EMAIL PROTECTED]>
List-Post: <mailto:[email protected]>
List-Id: <axis-user.ws.apache.org>
Delivered-To: mailing list [email protected]
X-ASF-Spam-Status: No, hits=0.5 required=10.0tests=DNS_FROM_RFC_ABUSE,HTML_MESSAGE,SPF_PASS
X-Spam-Check-By: apache.org
DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:reply-to:to:subject:cc:in-reply-to:mime-version:content-type:references; b=seI7S5bR4YNrvZB+SgLPkWMTX7KD4Tv9ljGUnUjHEHXZSBuwD2XlG3DQpdfq9XykQGlcFCuXFoZpLuNbN4Pesmn2fhXR/So7C8Z27VCUdCAMm66PjeE0yZN1rsSR7OJHmg68JQj7nu9xaWlbTgOAZp7yWP3gFx5CM8/FQXnMEVE= References: <[EMAIL PROTECTED]> <[EMAIL PROTECTED]>
X-Virus-Checked: Checked by ClamAV on apache.org
Return-Path: [EMAIL PROTECTED]
X-OriginalArrivalTime: 25 Jun 2006 14:06:34.0893 (UTC) FILETIME=[915113D0:01C69860]

I'm looking for the ability to pass an object of runtime type Car when the
declared parameter or return type is the superclass Vehicle. For this to
happen, the serializer must pass runtime type information in our
document-literal SOAP (an xsi:type attribute in the root element) saying
that the serialized object is a Car.

In .NET, you do this with
http://www.topxml.com/xmlserializer/xmlincludeattribute.asp

This article mentions how to do it with WebSphere tools
http://www-128.ibm.com/developerworks/websphere/techjournal/0401_brown/brown.html
but this seems non-standard.

There must be some standard way of doing it in Axis.

Thanks,


Joshua



---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to