Return-Path: X-Original-To: apmail-axis-java-dev-archive@www.apache.org Delivered-To: apmail-axis-java-dev-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 7692564D2 for ; Fri, 3 Jun 2011 23:42:31 +0000 (UTC) Received: (qmail 72263 invoked by uid 500); 3 Jun 2011 23:42:30 -0000 Delivered-To: apmail-axis-java-dev-archive@axis.apache.org Received: (qmail 72118 invoked by uid 500); 3 Jun 2011 23:42:30 -0000 Mailing-List: contact java-dev-help@axis.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: java-dev@axis.apache.org Delivered-To: mailing list java-dev@axis.apache.org Received: (qmail 72105 invoked by uid 99); 3 Jun 2011 23:42:30 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 03 Jun 2011 23:42:30 +0000 X-ASF-Spam-Status: No, hits=-2000.0 required=5.0 tests=ALL_TRUSTED,T_RP_MATCHES_RCVD X-Spam-Check-By: apache.org Received: from [140.211.11.116] (HELO hel.zones.apache.org) (140.211.11.116) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 03 Jun 2011 23:42:28 +0000 Received: from hel.zones.apache.org (hel.zones.apache.org [140.211.11.116]) by hel.zones.apache.org (Postfix) with ESMTP id 3E918F3EDB for ; Fri, 3 Jun 2011 23:41:48 +0000 (UTC) Date: Fri, 3 Jun 2011 23:41:48 +0000 (UTC) From: "Hudson (JIRA)" To: java-dev@axis.apache.org Message-ID: <316846525.67584.1307144508253.JavaMail.tomcat@hel.zones.apache.org> In-Reply-To: <725272678.65510.1307101494558.JavaMail.tomcat@hel.zones.apache.org> Subject: [jira] [Commented] (AXIS2-5061) "No element type is defined for message" while using wsdl2java on valid WSDL. MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 [ https://issues.apache.org/jira/browse/AXIS2-5061?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13044131#comment-13044131 ] Hudson commented on AXIS2-5061: ------------------------------- Integrated in Axis2 #797 (See [https://builds.apache.org/hudson/job/Axis2/797/]) Added a reference to the WS-I BP in the error message triggered by the condition described in AXIS2-5061. veithen : Files : * /axis/axis2/java/core/trunk/modules/kernel/src/org/apache/axis2/description/WSDL11ToAxisServiceBuilder.java > "No element type is defined for message" while using wsdl2java on valid WSDL. > ----------------------------------------------------------------------------- > > Key: AXIS2-5061 > URL: https://issues.apache.org/jira/browse/AXIS2-5061 > Project: Axis2 > Issue Type: Bug > Components: codegen, wsdl > Affects Versions: 1.5.4 > Environment: Windows 7 x86. Java 1.6.25 > Reporter: szeldon > Labels: wsdl2java > > Hi, > my problem happens while using wsdl2java on WSDL (pasted below) generated from example WebService project created using Tibco BusinessWorks. When I use this command "wsdl2java.bat -o output -uri ZipInfo.wsdl", I get an error with stacktrace. WSDL seems to be valid. > [ERROR] No element type is defined for messagecityInfoRequest > org.apache.axis2.description.WSDL11ToAxisServiceBuilder$WSDLProcessingException: No element type is defined for messagecityInfoRequest > at org.apache.axis2.description.WSDL11ToAxisServiceBuilder.addQNameReference(WSDL11ToAxisServiceBuilder.java:1192) > at org.apache.axis2.description.WSDL11ToAxisServiceBuilder.addQNameReference(WSDL11ToAxisServiceBuilder.java:1091) > at org.apache.axis2.description.WSDL11ToAxisServiceBuilder.populateBinding(WSDL11ToAxisServiceBuilder.java:688) > at org.apache.axis2.description.WSDL11ToAxisServiceBuilder.populateEndpoint(WSDL11ToAxisServiceBuilder.java:537) > at org.apache.axis2.description.WSDL11ToAxisServiceBuilder.populateEndpoints(WSDL11ToAxisServiceBuilder.java:488) > at org.apache.axis2.description.WSDL11ToAxisServiceBuilder.populateService(WSDL11ToAxisServiceBuilder.java:362) > at org.apache.axis2.description.WSDL11ToAllAxisServicesBuilder.populateAllServices(WSDL11ToAllAxisServicesBuilder.java:107) > at org.apache.axis2.wsdl.codegen.CodeGenerationEngine.(CodeGenerationEngine.java:147) > at org.apache.axis2.wsdl.WSDL2Code.main(WSDL2Code.java:35) > at org.apache.axis2.wsdl.WSDL2Java.main(WSDL2Java.java:24) > Exception in thread "main" org.apache.axis2.wsdl.codegen.CodeGenerationException: Error parsing WSDL > at org.apache.axis2.wsdl.codegen.CodeGenerationEngine.(CodeGenerationEngine.java:153) > at org.apache.axis2.wsdl.WSDL2Code.main(WSDL2Code.java:35) > at org.apache.axis2.wsdl.WSDL2Java.main(WSDL2Java.java:24) > Caused by: org.apache.axis2.AxisFault: No element type is defined for messagecityInfoRequest > at org.apache.axis2.AxisFault.makeFault(AxisFault.java:430) > at org.apache.axis2.description.WSDL11ToAxisServiceBuilder.populateService(WSDL11ToAxisServiceBuilder.java:396) > at org.apache.axis2.description.WSDL11ToAllAxisServicesBuilder.populateAllServices(WSDL11ToAllAxisServicesBuilder.java:107) > at org.apache.axis2.wsdl.codegen.CodeGenerationEngine.(CodeGenerationEngine.java:147) > ... 2 more > Caused by: org.apache.axis2.description.WSDL11ToAxisServiceBuilder$WSDLProcessingException: No element type is defined for messagecityInfoRe > quest > at org.apache.axis2.description.WSDL11ToAxisServiceBuilder.addQNameReference(WSDL11ToAxisServiceBuilder.java:1192) > at org.apache.axis2.description.WSDL11ToAxisServiceBuilder.addQNameReference(WSDL11ToAxisServiceBuilder.java:1091) > at org.apache.axis2.description.WSDL11ToAxisServiceBuilder.populateBinding(WSDL11ToAxisServiceBuilder.java:688) > at org.apache.axis2.description.WSDL11ToAxisServiceBuilder.populateEndpoint(WSDL11ToAxisServiceBuilder.java:537) > at org.apache.axis2.description.WSDL11ToAxisServiceBuilder.populateEndpoints(WSDL11ToAxisServiceBuilder.java:488) > at org.apache.axis2.description.WSDL11ToAxisServiceBuilder.populateService(WSDL11ToAxisServiceBuilder.java:362) > ... 4 more > WSDL: > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > QueueConnectionFactory > queue.sample > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > -- This message is automatically generated by JIRA. For more information on JIRA, see: http://www.atlassian.com/software/jira --------------------------------------------------------------------- To unsubscribe, e-mail: java-dev-unsubscribe@axis.apache.org For additional commands, e-mail: java-dev-help@axis.apache.org