Return-Path: Delivered-To: apmail-ws-axis-dev-archive@www.apache.org Received: (qmail 71239 invoked from network); 22 Dec 2006 14:18:37 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 22 Dec 2006 14:18:37 -0000 Received: (qmail 41693 invoked by uid 500); 22 Dec 2006 14:18:34 -0000 Delivered-To: apmail-ws-axis-dev-archive@ws.apache.org Received: (qmail 41645 invoked by uid 500); 22 Dec 2006 14:18:34 -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 41634 invoked by uid 99); 22 Dec 2006 14:18:34 -0000 Received: from herse.apache.org (HELO herse.apache.org) (140.211.11.133) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 22 Dec 2006 06:18:34 -0800 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests= X-Spam-Check-By: apache.org Received: from [140.211.11.4] (HELO brutus.apache.org) (140.211.11.4) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 22 Dec 2006 06:18:02 -0800 Received: from brutus (localhost [127.0.0.1]) by brutus.apache.org (Postfix) with ESMTP id A77FE71404B for ; Fri, 22 Dec 2006 06:17:21 -0800 (PST) Message-ID: <17579963.1166797041683.JavaMail.jira@brutus> Date: Fri, 22 Dec 2006 06:17:21 -0800 (PST) From: "Kinichiro Inoguchi (JIRA)" To: axis-dev@ws.apache.org Subject: [jira] Commented: (AXIS2-1746) POJO client call failed with "Unexpected subelement" In-Reply-To: <23535239.1163835157019.JavaMail.jira@brutus> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org [ http://issues.apache.org/jira/browse/AXIS2-1746?page=comments#action_12460489 ] Kinichiro Inoguchi commented on AXIS2-1746: ------------------------------------------- I checked this issue with latest nightly (axis2-1.1.1-SNAPSHOT.zip 22-Dec-2006 05:03), but problem still remain. This issue blocks "POJO in POJO" response, I hope this will be solved in 1.1.1 Thanks. > POJO client call failed with "Unexpected subelement" > ---------------------------------------------------- > > Key: AXIS2-1746 > URL: http://issues.apache.org/jira/browse/AXIS2-1746 > Project: Apache Axis 2.0 (Axis2) > Issue Type: Bug > Components: rpc > Environment: Axis2 1.1 release > Reporter: Kinichiro Inoguchi > Assigned To: Deepal Jayasinghe > Attachments: client_src.zip, service_src.zip, ShipmentStatusService.aar, Src.zip, TestPojoService.aar > > > I created stub by WSDL2JAVA tool, and call that service. > Client program failed with "Unexpected subelement". > I think mismatch of javabeans' namespace is an issue. > Top level element of javabeans should belongs to parent's namespace, should not ? > > C:\work>%AXIS2_HOME%\bin\wsdl2java -uri http://localhost:8080/axis2/services/TestPojoService?wsdl -o test > Using AXIS2_HOME: C:\work\axis2-1.1 > Using JAVA_HOME: C:\j2sdk1.4.2_04 > C:\work> > > java.lang.RuntimeException: java.lang.RuntimeException: Unexpected subelement ret20 > at myservice.service.TestPojoServiceStub.fromOM(TestPojoServiceStub.java:14552) > at myservice.service.TestPojoServiceStub.getBean(TestPojoServiceStub.java:152) > at TestClient.main(TestClient.java:15) > Caused by: java.lang.RuntimeException: Unexpected subelement ret20 > at myservice.service.TestPojoServiceStub$DataBean1$Factory.parse(TestPojoServiceStub.java:9455) > at myservice.service.TestPojoServiceStub$GetBeanResponse$Factory.parse(TestPojoServiceStub.java:4570) > at myservice.service.TestPojoServiceStub.fromOM(TestPojoServiceStub.java:14546) > ... 2 more > Exception in thread "main" -- 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 - For more information on JIRA, see: http://www.atlassian.com/software/jira --------------------------------------------------------------------- To unsubscribe, e-mail: axis-dev-unsubscribe@ws.apache.org For additional commands, e-mail: axis-dev-help@ws.apache.org