Return-Path: Delivered-To: apmail-ws-axis-dev-archive@www.apache.org Received: (qmail 74775 invoked from network); 25 Aug 2009 16:03:57 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.3) by minotaur.apache.org with SMTP; 25 Aug 2009 16:03:57 -0000 Received: (qmail 53045 invoked by uid 500); 25 Aug 2009 16:04:21 -0000 Delivered-To: apmail-ws-axis-dev-archive@ws.apache.org Received: (qmail 52953 invoked by uid 500); 25 Aug 2009 16:04:21 -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 52944 invoked by uid 99); 25 Aug 2009 16:04:21 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 25 Aug 2009 16:04:21 +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; Tue, 25 Aug 2009 16:04:19 +0000 Received: from brutus (localhost [127.0.0.1]) by brutus.apache.org (Postfix) with ESMTP id A67B7234C1E7 for ; Tue, 25 Aug 2009 09:03:59 -0700 (PDT) Message-ID: <1145008713.1251216239680.JavaMail.jira@brutus> Date: Tue, 25 Aug 2009 09:03:59 -0700 (PDT) From: "Guillaume ETTORI (JIRA)" To: axis-dev@ws.apache.org Subject: [jira] Created: (AXIS2-4473) NameSpaces prefix problem when using inherit complex type MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 X-Virus-Checked: Checked by ClamAV on apache.org NameSpaces prefix problem when using inherit complex type --------------------------------------------------------- Key: AXIS2-4473 URL: https://issues.apache.org/jira/browse/AXIS2-4473 Project: Axis 2.0 (Axis2) Issue Type: Bug Components: adb Affects Versions: 1.4.1 Environment: Windows 2003, Server, Weblogic 9.2, Apache ActiveMQ Reporter: Guillaume ETTORI Let say you have a service that returns a B class object. B class object from com.b package EXTENDS A class object from com.a package A has a field_A and B has a field_B. The problem is i get something like this in my SOAP Message: IT_IS_OK test As you can see, the prefix for field_A is AX21 instead of AX22. So the problem is i got a ADBException (unexpected element field_A) when i called this service with the Stub (generated by wdsl2java). In the Stub.B.Factory.parse method, i see something like this: if (reader.isStartElement()&& new javax.xml.namespace.QName( "http://a.com/xsd", "field_A").equals(reader.getName())) { In the enveloppe, ax21 = "http://b.com/xsd" so the ax21:field_A do not have the "http://a.com/xsd" like expected by the Stub. -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.