Yes , I am also getting the same exception Thanks Deepal > > Hello Amila, > > Sorry, but this still doesn't work. I get the same error as before, as > shown below. I think there may be an > extra slash before the drive letter, F: in this case, that probably > shouldn't be there. > > Running org.apache.axis2.xmlbeans.WSDL2Java1Test > Retrieving schema at 'wsat.xsd', relative to > 'file:*/F:/Drivers/axis2/modules/xml* > *beans/test-resources/'.* > 04-Sep-2007 11:38:03 > org.apache.axis2.xmlbeans.CodeGenerationUtility$Axis2Entity > Resolver resolveEntity > INFO: Resolving schema with publicId [null] and systemId [wsat.xsd] > org.apache.axis2.wsdl.codegen.CodeGenerationException: > org.apache.axis2.wsdl.cod > egen.CodeGenerationException: java.lang.RuntimeException: Schema > writing failed! > at > org.apache.axis2.wsdl.codegen.CodeGenerationEngine.generate(CodeGenerationEngine.java:265) > > at > org.apache.axis2.xmlbeans.WSDL2JavaSuccessTestBase.codeGenerate(WSDL2JavaSuccessTestBase.java:172) > > at > org.apache.axis2.xmlbeans.WSDL2JavaSuccessTestBase.generateAndCompile(WSDL2JavaSuccessTestBase.java:157) > > at > org.apache.axis2.xmlbeans.WSDL2JavaSuccessTestBase.testWSDLFile(WSDL2JavaSuccessTestBase.java:104) > > at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) > at > sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) > > at > sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) > > at java.lang.reflect.Method.invoke(Method.java:585) > at junit.framework.TestCase.runTest(TestCase.java:168) > at junit.framework.TestCase.runBare(TestCase.java:134) > at junit.framework.TestResult$1.protect(TestResult.java:110) > at junit.framework.TestResult.runProtected(TestResult.java:128) > at junit.framework.TestResult.run(TestResult.java:113) > at junit.framework.TestCase.run(TestCase.java:124) > at junit.framework.TestSuite.runTest(TestSuite.java:232) > at junit.framework.TestSuite.run(TestSuite.java:227) > at > org.junit.internal.runners.OldTestClassRunner.run(OldTestClassRunner.java:76) > > at > org.apache.maven.surefire.junit4.JUnit4TestSet.execute(JUnit4TestSet.java:62) > > at > org.apache.maven.surefire.suite.AbstractDirectoryTestSuite.executeTestSet(AbstractDirectoryTestSuite.java:138) > > at > org.apache.maven.surefire.suite.AbstractDirectoryTestSuite.execute(AbstractDirectoryTestSuite.java:125) > > at org.apache.maven.surefire.Surefire.run(Surefire.java:132) > at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) > at > sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) > > at > sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) > > at java.lang.reflect.Method.invoke(Method.java:585) > at > org.apache.maven.surefire.booter.SurefireBooter.runSuitesInProcess(SurefireBooter.java:290) > > at > org.apache.maven.surefire.booter.SurefireBooter.main(SurefireBooter.java:818) > > Caused by: org.apache.axis2.wsdl.codegen.CodeGenerationException: > java.lang.RuntimeException: Schema writing failed! > at > org.apache.axis2.wsdl.codegen.emitter.AxisServiceBasedMultiLanguageEmitter.emitSkeleton(AxisServiceBasedMultiLanguageEmitter.java:1371) > > at > org.apache.axis2.wsdl.codegen.CodeGenerationEngine.generate(CodeGenerationEngine.java:247) > > ... 26 more > Caused by: java.lang.RuntimeException: Schema writing failed! > at > org.apache.axis2.wsdl.codegen.writer.SchemaWriter.writeSchema(SchemaWriter.java:59) > > at > org.apache.axis2.wsdl.codegen.emitter.AxisServiceBasedMultiLanguageEmitter.writeWSDLFiles(AxisServiceBasedMultiLanguageEmitter.java:1411) > > at > org.apache.axis2.wsdl.codegen.emitter.AxisServiceBasedMultiLanguageEmitter.emitSkeleton(AxisServiceBasedMultiLanguageEmitter.java:1342) > > ... 27 more > Caused by: java.io.FileNotFoundException: > F:\Drivers\axis2\modules\xmlbeans\out_ > put_classes\test1\resources\file:*\F:\Drivers\axis2\modules\xmlbeans\test-resources\wsat.xsd* > (The filename, directory name, or volume label syntax is incorrect) > at java.io.FileOutputStream.open(Native Method) > at java.io.FileOutputStream.<init>(FileOutputStream.java:179) > at java.io.FileOutputStream.<init>(FileOutputStream.java:131) > at > org.apache.axis2.wsdl.codegen.writer.SchemaWriter.writeSchema(SchemaWriter.java:50) > > ... 29 more > Tests run: 1, Failures: 1, Errors: 0, Skipped: 0, Time elapsed: 6.89 > sec <<< FAILURE! > > Cheers > > Brian DePradine > Web Services Development > IBM Hursley > External +44 (0) 1962 816319 Internal 246319 > > If you can't find the time to do it right the first time, where will > you find the time to do it again? > > > "Amila Suriarachchi" <[EMAIL PROTECTED]> wrote on 04/09/2007 > 05:58:32: > > > I am working on linux and had set the file seperator as "/" > > now I replace it with File.separator. please try it now. > > > If you can't find the time to do it right the first time, where will > > you find the time to do it again? > > > > > good saying. > > > > -- > > Amila Suriarachchi, > > WSO2 Inc. > > > ------------------------------------------------------------------------ > > / > / > > /Unless stated otherwise above: > IBM United Kingdom Limited - Registered in England and Wales with > number 741598. > Registered office: PO Box 41, North Harbour, Portsmouth, Hampshire PO6 > 3AU/ > > > > > >
--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]