Return-Path: Delivered-To: apmail-ws-axis-dev-archive@www.apache.org Received: (qmail 53632 invoked from network); 20 Apr 2006 09:21:27 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur.apache.org with SMTP; 20 Apr 2006 09:21:27 -0000 Received: (qmail 54666 invoked by uid 500); 20 Apr 2006 09:21:12 -0000 Delivered-To: apmail-ws-axis-dev-archive@ws.apache.org Received: (qmail 54628 invoked by uid 500); 20 Apr 2006 09:21:11 -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 54617 invoked by uid 99); 20 Apr 2006 09:21:11 -0000 Received: from asf.osuosl.org (HELO asf.osuosl.org) (140.211.166.49) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 20 Apr 2006 02:21:11 -0700 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests= X-Spam-Check-By: apache.org Received: from [209.237.227.198] (HELO brutus.apache.org) (209.237.227.198) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 20 Apr 2006 02:21:10 -0700 Received: from brutus (localhost.localdomain [127.0.0.1]) by brutus.apache.org (Postfix) with ESMTP id EEB577142D5 for ; Thu, 20 Apr 2006 09:20:08 +0000 (GMT) Message-ID: <18163042.1145524808974.JavaMail.jira@brutus> Date: Thu, 20 Apr 2006 09:20:08 +0000 (GMT+00:00) From: "Ajith Harshana Ranabahu (JIRA)" To: axis-dev@ws.apache.org Subject: [jira] Assigned: (AXIS2-534) WSDL2Java JaxMe databinding support -- IllegalStateException on simple WSDL In-Reply-To: <413837341.1143625140313.JavaMail.jira@ajax> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N [ http://issues.apache.org/jira/browse/AXIS2-534?page=all ] Ajith Harshana Ranabahu reassigned AXIS2-534: --------------------------------------------- Assign To: Davanum Srinivas (was: Ajith Harshana Ranabahu) Dims is the expert in JaxMe :) > WSDL2Java JaxMe databinding support -- IllegalStateException on simple WSDL > --------------------------------------------------------------------------- > > Key: AXIS2-534 > URL: http://issues.apache.org/jira/browse/AXIS2-534 > Project: Apache Axis 2.0 (Axis2) > Type: Bug > Components: databinding > Versions: 0.95 > Reporter: Kenneth Tam > Assignee: Davanum Srinivas > Attachments: HelloService_self.wsdl > > D:\apache\bin\snapshot_axis>wsdl2java -o jaxme_binding -d jaxme -uri d:\HelloService_self.wsdl > Using AXIS2_HOME: D:\apache\bin\snapshot_axis > Using JAVA_HOME: d:\apache\axis2\installed\jdk1.5.0_02 > : FINEST, parse, , ->, null > : FINEST, getSGFactory, , -> > : FINEST, getSGFactory, , Created instance of org.apache.ws.jaxme.generator.sg.impl.JAXBSGFactory > : FINEST, getSGFactory, , <-, org.apache.ws.jaxme.generator.sg.impl.SGFactoryImpl@12be1bd > : FINEST, parse, , Parser = org.apache.ws.jaxme.xs.jaxb.impl.JAXBParser@c62c8, validating = false > : FINEST, parse, , Schema = org.apache.ws.jaxme.xs.jaxb.impl.JAXBSchemaImpl@589e56 > : FINEST, init, , -> > : FINEST, init, , Childorg.apache.ws.jaxme.xs.jaxb.impl.JAXBElementImpl@18bf072 > : FINEST, (XSObject,Context), , ->, {http://endpoint.helloservice/}sayHello, null > : FINEST, getTypeSG(XSType), , ->, {http://endpoint.helloservice/}sayHello > : FINEST, init, , -> > : FINEST, (XSType), , ->, org.apache.ws.jaxme.generator.sg.impl.TypeSGImpl@2200d5, org.apache. > ws.jaxme.xs.jaxb.impl.JAXBTypeImpl@f42ad0 > : FINEST, (XSType), , <-, org.apache.ws.jaxme.generator.sg.impl.GlobalContext@64ab4d [{http:// > endpoint.helloservice/}sayHello,helloservice.endpoint.SayHello,helloservice.endpoint.impl.SayHelloIm > pl] > : FINEST, init, , <- > : FINEST, getTypeSG(XSType), , <-, org.apache.ws.jaxme.generator.sg.impl.JAXBTypeSG@105bd58, org.apa > che.ws.jaxme.generator.sg.impl.TypeSGImpl@2200d5 > : FINEST, (XSObject,Context), , <-, org.apache.ws.jaxme.generator.sg.impl.TypeSGImpl@2200d5, o > rg.apache.ws.jaxme.generator.sg.impl.GlobalContext@1d1e730 [{http://endpoint.helloservice/}sayHello, > helloservice.endpoint.SayHello,helloservice.endpoint.impl.SayHelloImpl] > : FINEST, init, , Childorg.apache.ws.jaxme.xs.jaxb.impl.JAXBTypeImpl@f42ad0 > : FINEST, init, , Childorg.apache.ws.jaxme.xs.jaxb.impl.JAXBElementImpl@4f459c > : FINEST, (XSObject,Context), , ->, {http://endpoint.helloservice/}sayHelloResponse, null > : FINEST, getTypeSG(XSType), , ->, {http://endpoint.helloservice/}sayHelloResponse > : FINEST, init, , -> > : FINEST, (XSType), , ->, org.apache.ws.jaxme.generator.sg.impl.TypeSGImpl@193c0cf, org.apache > .ws.jaxme.xs.jaxb.impl.JAXBTypeImpl@633e5e > : FINEST, (XSType), , <-, org.apache.ws.jaxme.generator.sg.impl.GlobalContext@1576e70 [{http:/ > /endpoint.helloservice/}sayHelloResponse,helloservice.endpoint.SayHelloResponse,helloservice.endpoin > t.impl.SayHelloResponseImpl] > : FINEST, init, , <- > : FINEST, getTypeSG(XSType), , <-, org.apache.ws.jaxme.generator.sg.impl.JAXBTypeSG@11381e7, org.apa > che.ws.jaxme.generator.sg.impl.TypeSGImpl@193c0cf > : FINEST, (XSObject,Context), , <-, org.apache.ws.jaxme.generator.sg.impl.TypeSGImpl@193c0cf, > org.apache.ws.jaxme.generator.sg.impl.GlobalContext@1b5998f [{http://endpoint.helloservice/}sayHello > Response,helloservice.endpoint.SayHelloResponse,helloservice.endpoint.impl.SayHelloResponseImpl] > : FINEST, init, , Childorg.apache.ws.jaxme.xs.jaxb.impl.JAXBTypeImpl@633e5e > : FINEST, init, , <- > : FINEST, parse, , <-, org.apache.ws.jaxme.generator.sg.impl.SchemaSGImpl@17494c8 > : FINEST, generate, , ->, {http://endpoint.helloservice/}sayHello > : FINEST, getXMLInterface, , -> > : FINEST, (XSObject,Context), , ->, arg0, org.apache.ws.jaxme.generator.sg.impl.GlobalContext@ > 64ab4d [{http://endpoint.helloservice/}sayHello,helloservice.endpoint.SayHello,helloservice.endpoint > .impl.SayHelloImpl] > : FINEST, getTypeSG(XSType,ClassContext), , ->, org.apache.ws.jaxme.xs.types.XSString@766a24, org.ap > ache.ws.jaxme.generator.sg.impl.GlobalContext@64ab4d [{http://endpoint.helloservice/}sayHello,hellos > ervice.endpoint.SayHello,helloservice.endpoint.impl.SayHelloImpl] > : FINEST, getTypeSG(XSType), , ->, {http://www.w3.org/2001/XMLSchema}anySimpleType > : FINEST, init, , -> > : FINEST, newSimpleTypeSG, , -> > : FINEST, newSimpleTypeSG, , <-, org.apache.ws.jaxme.generator.types.StringSG@19bb25a > : FINEST, init, , <- > : FINEST, getTypeSG(XSType), , <-, org.apache.ws.jaxme.generator.sg.impl.JAXBTypeSG@da6bf4, org.apac > he.ws.jaxme.generator.sg.impl.TypeSGImpl@1e58cb8 > : FINEST, init, , -> > : FINEST, newSimpleTypeSG, , -> > : FINEST, newSimpleTypeSG, , <-, org.apache.ws.jaxme.generator.types.StringSG@179935d > : FINEST, init, , <- > : FINEST, getTypeSG(XSType,ClassContext), , <-, org.apache.ws.jaxme.generator.sg.impl.JAXBTypeSG@b9e > 45a, org.apache.ws.jaxme.generator.sg.impl.TypeSGImpl@3ef810 > : FINEST, (XSObject,Context), , <-, org.apache.ws.jaxme.generator.sg.impl.TypeSGImpl@3ef810, o > rg.apache.ws.jaxme.generator.sg.impl.GlobalContext@64ab4d [{http://endpoint.helloservice/}sayHello,h > elloservice.endpoint.SayHello,helloservice.endpoint.impl.SayHelloImpl] > : FINEST, getXMLInterface, , <-, helloservice.endpoint.SayHello > : FINEST, getXMLImplementation(JavaQName), , ->, {http://endpoint.helloservice/}sayHello > : FINEST, getXMLImplementation(JavaQName), , <-, helloservice.endpoint.impl.SayHelloImpl > : FINEST, getXMLSerializer, , ->, {http://endpoint.helloservice/}sayHello > : FINEST, getXMLSerializer, , <-, helloservice.endpoint.impl.SayHelloDriver > : FINEST, getXMLHandler, , ->, {http://endpoint.helloservice/}sayHello > : FINEST, getXMLHandler, , <-, helloservice.endpoint.impl.SayHelloHandler > : FINEST, generate, , <- > : FINEST, generate, , ->, {http://endpoint.helloservice/}sayHelloResponse > : FINEST, getXMLInterface, , -> > : FINEST, (XSObject,Context), , ->, return, org.apache.ws.jaxme.generator.sg.impl.GlobalContex > t@1576e70 [{http://endpoint.helloservice/}sayHelloResponse,helloservice.endpoint.SayHelloResponse,he > lloservice.endpoint.impl.SayHelloResponseImpl] > : FINEST, getTypeSG(XSType,ClassContext), , ->, org.apache.ws.jaxme.xs.types.XSString@766a24, org.ap > ache.ws.jaxme.generator.sg.impl.GlobalContext@1576e70 [{http://endpoint.helloservice/}sayHelloRespon > se,helloservice.endpoint.SayHelloResponse,helloservice.endpoint.impl.SayHelloResponseImpl] > : FINEST, init, , -> > : FINEST, newSimpleTypeSG, , -> > : FINEST, newSimpleTypeSG, , <-, org.apache.ws.jaxme.generator.types.StringSG@16c9867 > : FINEST, init, , <- > : FINEST, getTypeSG(XSType,ClassContext), , <-, org.apache.ws.jaxme.generator.sg.impl.JAXBTypeSG@89c > c5e, org.apache.ws.jaxme.generator.sg.impl.TypeSGImpl@c837cd > : FINEST, (XSObject,Context), , <-, org.apache.ws.jaxme.generator.sg.impl.TypeSGImpl@c837cd, o > rg.apache.ws.jaxme.generator.sg.impl.GlobalContext@1576e70 [{http://endpoint.helloservice/}sayHelloR > esponse,helloservice.endpoint.SayHelloResponse,helloservice.endpoint.impl.SayHelloResponseImpl] > : FINEST, getXMLInterface, , <-, helloservice.endpoint.SayHelloResponse > : FINEST, getXMLImplementation(JavaQName), , ->, {http://endpoint.helloservice/}sayHelloResponse > : FINEST, getXMLImplementation(JavaQName), , <-, helloservice.endpoint.impl.SayHelloResponseImpl > : FINEST, getXMLSerializer, , ->, {http://endpoint.helloservice/}sayHelloResponse > : FINEST, getXMLSerializer, , <-, helloservice.endpoint.impl.SayHelloResponseDriver > : FINEST, getXMLHandler, , ->, {http://endpoint.helloservice/}sayHelloResponse > : FINEST, getXMLHandler, , <-, helloservice.endpoint.impl.SayHelloResponseHandler > : FINEST, generate, , <- > : FINEST, generate, , ->, {http://endpoint.helloservice/}sayHello > : FINEST, getXMLInterface, , ->, {http://endpoint.helloservice/}sayHello > Exception in thread "main" org.apache.axis2.wsdl.codegen.CodeGenerationException: java.lang.RuntimeE > xception: java.lang.IllegalStateException: The class helloservice.endpoint.SayHello has already been > created. > at org.apache.axis2.wsdl.codegen.CodeGenerationEngine.generate(CodeGenerationEngine.java:146 > ) > at org.apache.axis2.wsdl.WSDL2Code.main(WSDL2Code.java:32) > at org.apache.axis2.wsdl.WSDL2Java.main(WSDL2Java.java:21) > Caused by: java.lang.RuntimeException: java.lang.IllegalStateException: The class helloservice.endpo > int.SayHello has already been created. > at org.apache.axis2.wsdl.codegen.extension.JaxMeExtension.engage(JaxMeExtension.java:217) > at org.apache.axis2.wsdl.codegen.CodeGenerationEngine.generate(CodeGenerationEngine.java:101 > ) > ... 2 more > Caused by: java.lang.IllegalStateException: The class helloservice.endpoint.SayHello has already bee > n created. > at org.apache.ws.jaxme.js.JavaSourceFactory.newJavaSource(JavaSourceFactory.java:129) > at org.apache.ws.jaxme.generator.sg.impl.JAXBObjectSG.getXMLInterface(JAXBObjectSG.java:194) > at org.apache.ws.jaxme.generator.sg.impl.ObjectSGImpl.getXMLInterface(ObjectSGImpl.java:40) > at org.apache.ws.jaxme.generator.sg.impl.JAXBObjectSG.generate(JAXBObjectSG.java:275) > at org.apache.ws.jaxme.generator.sg.impl.ObjectSGImpl.generate(ObjectSGImpl.java:56) > at org.apache.ws.jaxme.generator.sg.impl.JAXBSchemaSG.generate(JAXBSchemaSG.java:228) > at org.apache.ws.jaxme.generator.sg.impl.SchemaSGImpl.generate(SchemaSGImpl.java:67) > at org.apache.ws.jaxme.generator.impl.GeneratorImpl.generate(GeneratorImpl.java:148) > at org.apache.axis2.wsdl.codegen.extension.JaxMeExtension.engage(JaxMeExtension.java:171) > ... 3 more -- 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