Return-Path: Delivered-To: apmail-ws-axis-dev-archive@www.apache.org Received: (qmail 99929 invoked from network); 27 Jan 2005 02:11:25 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur-2.apache.org with SMTP; 27 Jan 2005 02:11:25 -0000 Received: (qmail 73986 invoked by uid 500); 27 Jan 2005 02:11:22 -0000 Delivered-To: apmail-ws-axis-dev-archive@ws.apache.org Received: (qmail 73962 invoked by uid 500); 27 Jan 2005 02:11:22 -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 73949 invoked by uid 99); 27 Jan 2005 02:11:22 -0000 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests= X-Spam-Check-By: apache.org Received: from ajax-1.apache.org (HELO ajax.apache.org) (192.87.106.226) by apache.org (qpsmtpd/0.28) with ESMTP; Wed, 26 Jan 2005 18:11:21 -0800 Received: from ajax.apache.org (ajax.apache.org [127.0.0.1]) by ajax.apache.org (8.12.11/8.12.11) with ESMTP id j0R2BIIt026998 for ; Thu, 27 Jan 2005 03:11:18 +0100 Message-ID: <372726625.1106791878791.JavaMail.jira@ajax.apache.org> Date: Thu, 27 Jan 2005 03:11:18 +0100 (CET) From: "Bill Keese (JIRA)" To: axis-dev@ws.apache.org Subject: [jira] Created: (AXIS-1784) Axis client should not generate xsi:type attributes in document/literal or wrapped/literal mode Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked X-Spam-Rating: minotaur-2.apache.org 1.6.2 0/1000/N Axis client should not generate xsi:type attributes in document/literal or wrapped/literal mode ----------------------------------------------------------------------------------------------- Key: AXIS-1784 URL: http://issues.apache.org/jira/browse/AXIS-1784 Project: Axis Type: Bug Versions: 1.2RC2 Reporter: Bill Keese Priority: Minor Axis generates xsi:type=... attribute definitions even in literal mode. It shouldn't. The fix should be in SerializationContext: sendXSIType = ( msgContext.getOperationUse() == Use.ENCODED ); (or something like that). Also, ArraySerializer() has the following code which shouldn't be executed except for RPC/Encoded mode: if (typeI != -1) { attrs.setAttribute(typeI, schema.getXsiURI(), "type", qname, "CDATA", context.qName2String(soapArray)); } else { attrs.addAttribute(schema.getXsiURI(), "type", qname, "CDATA", context.qName2String(soapArray)); } Workaround: In client code, do call.setProperty(Call.SEND_TYPE_ATTR, Boolean.FALSE); -- This message is automatically generated by JIRA. - If you think it was sent incorrectly contact one of the administrators: http://issues.apache.org/jira/secure/Administrators.jspa - If you want more information on JIRA, or have a bug to report see: http://www.atlassian.com/software/jira