Return-Path: Delivered-To: apmail-ws-axis-dev-archive@www.apache.org Received: (qmail 80058 invoked from network); 17 Jun 2009 00:22:20 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.3) by minotaur.apache.org with SMTP; 17 Jun 2009 00:22:20 -0000 Received: (qmail 28599 invoked by uid 500); 17 Jun 2009 00:22:30 -0000 Delivered-To: apmail-ws-axis-dev-archive@ws.apache.org Received: (qmail 28484 invoked by uid 500); 17 Jun 2009 00:22:30 -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 28252 invoked by uid 99); 17 Jun 2009 00:22:29 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 17 Jun 2009 00:22:29 +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; Wed, 17 Jun 2009 00:22:27 +0000 Received: from brutus (localhost [127.0.0.1]) by brutus.apache.org (Postfix) with ESMTP id 5AFE9234C044 for ; Tue, 16 Jun 2009 17:22:07 -0700 (PDT) Message-ID: <126007920.1245198127358.JavaMail.jira@brutus> Date: Tue, 16 Jun 2009 17:22:07 -0700 (PDT) From: "Malleswara Sarma (JIRA)" To: axis-dev@ws.apache.org Subject: [jira] Updated: (AXIS2-4374) org.apache.axis2.AxisFault: org.apache.axis2.databinding.ADBException: Unexpected subelement In-Reply-To: <740252357.1244820007506.JavaMail.jira@brutus> 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 [ https://issues.apache.org/jira/browse/AXIS2-4374?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Malleswara Sarma updated AXIS2-4374: ------------------------------------ Attachment: Address_type.java request-response.txt Tried with version 1.5. Still the issue exists . While parsing the response the following condition is getting failed as the value of the QName object are not equal. while (!reader.isStartElement() && !reader.isEndElement()) reader.next(); if (reader.isStartElement() && new javax.xml.namespace.QName("","address1").equals(reader.getName())){ object.setAddress1(com.test.service.provider.shared.companytype._2009._02.String_Type.Factory.parse(reader)); reader.next(); } // End of if for expected property start element Also attached Address_type.java The same is working fine when we change To > org.apache.axis2.AxisFault: org.apache.axis2.databinding.ADBException: Unexpected subelement > --------------------------------------------------------------------------------------------- > > Key: AXIS2-4374 > URL: https://issues.apache.org/jira/browse/AXIS2-4374 > Project: Axis 2.0 (Axis2) > Issue Type: Bug > Components: adb > Affects Versions: 1.4 > Reporter: Malleswara Sarma > Priority: Critical > Attachments: Address_type.java, company.zip, request-response.txt > > > Getting the following error > rg.apache.axis2.AxisFault: org.apache.axis2.databinding.ADBException: Unexpected subelement address1 > at org.apache.axis2.AxisFault.makeFault(AxisFault.java:430) > at com.example.company.CompanyStub.fromOM(CompanyStub.java:543) > at com.example.company.CompanyStub.getCompanyDetails(CompanyStub.java:183) > at org.example.www.company.CallService.main(CallService.java:35) > Caused by: java.lang.Exception: org.apache.axis2.databinding.ADBException: Unexpected subelement address1 > at com.test.service.provider.shared.companytype._2009._02.Address_type$Factory.parse(Address_type.java:675) > at com.test.service.provider.shared.companyflow._2009._02.CompanyResponse$Factory.parse(CompanyResponse.java:553) > at com.example.company.GetCompanyDetailsResponse$Factory.parse(GetCompanyDetailsResponse.java:419) > at com.example.company.CompanyStub.fromOM(CompanyStub.java:538) > ... 2 more > Caused by: org.apache.axis2.databinding.ADBException: Unexpected subelement address1 > at com.test.service.provider.shared.companytype._2009._02.Address_type$Factory.parse(Address_type.java:669) > ... 5 more -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.