Return-Path: Delivered-To: apmail-ws-axis-dev-archive@www.apache.org Received: (qmail 94934 invoked from network); 22 Jun 2009 10:02:28 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.3) by minotaur.apache.org with SMTP; 22 Jun 2009 10:02:28 -0000 Received: (qmail 36344 invoked by uid 500); 22 Jun 2009 10:02:38 -0000 Delivered-To: apmail-ws-axis-dev-archive@ws.apache.org Received: (qmail 36225 invoked by uid 500); 22 Jun 2009 10:02:38 -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: List-Id: Delivered-To: mailing list axis-dev@ws.apache.org Received: (qmail 36216 invoked by uid 99); 22 Jun 2009 10:02:38 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 22 Jun 2009 10:02:38 +0000 X-ASF-Spam-Status: No, hits=-2000.0 required=10.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [140.211.11.140] (HELO brutus.apache.org) (140.211.11.140) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 22 Jun 2009 10:02:27 +0000 Received: from brutus (localhost [127.0.0.1]) by brutus.apache.org (Postfix) with ESMTP id 6D47A234C046 for ; Mon, 22 Jun 2009 03:02:07 -0700 (PDT) Message-ID: <1463562445.1245664927446.JavaMail.jira@brutus> Date: Mon, 22 Jun 2009 03:02:07 -0700 (PDT) From: =?utf-8?Q?P=C3=A9tur_Run=C3=B3lfsson_=28JIRA=29?= To: axis-dev@ws.apache.org Subject: [jira] Created: (AXIS2-4401) xsi:type attribute should be generated for elements declared as xs:anyType when the actual value is a simple type MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 X-Virus-Checked: Checked by ClamAV on apache.org xsi:type attribute should be generated for elements declared as xs:anyType = when the actual value is a simple type ---------------------------------------------------------------------------= -------------------------------------- Key: AXIS2-4401 URL: https://issues.apache.org/jira/browse/AXIS2-4401 Project: Axis 2.0 (Axis2) Issue Type: Improvement Components: adb Affects Versions: 1.5 Reporter: P=C3=A9tur Run=C3=B3lfsson Priority: Minor Currently, the xsi:type attribute is only declared for complex types. This = means that if a method that returns xs:anyType returns an object of simple = type (for example xs:string or xs:date), the client gets no type informatio= n with the object. xsi:type attributes should always be declared for return= values for methods that have xs:anyType return types. The same applies whe= n a method returns a complex type that contains a xs:anyType property. Example response when xs:string is returned: Hello Response from same method when a complex type is returned: --=20 This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.