I am not sure, but I think I have seen a similar error in another thread. Try to add xerces to your classpath.
And if you find any jalopy*.jar in %AXIS2_LIB%, add it too. Maybe this will prevent the INFO logs at the beginning. By the way, I see you are including two versions of each jar. I recommend you to use only one version, 1.0 or 1.1.1. You may experience extrange class-loading related problems if you mix two different versions of the libraries. Regards, Rodrigo Ruiz Fabio Alves de Araujo Ebner - DNA Solution wrote: > i put > %AXIS2_LIB%\axiom-api-1.0.jar;%AXIS2_LIB%\axiom-api-1.1.1.jar;%AXIS2_LIB%\ax > iom-dom-1.0.jar;%AXIS2_LIB%\axiom-dom-1.1.1.jar;%AXIS2_LIB%\axiom-impl-1.0.j > ar;%AXIS2_LIB%\axiom-impl-1.1.1.jar > > and now i got the error: > > C:\>java org.apache.axis2.wsdl.WSDL2Java -uri > http://localhost:8080/axis2/servic > es/VerificaLogin?wsdl -ss -sd -d xmlbeans -o \exemplo1 -p br.com.dnasolution > 20/09/2006 11:12:54 org.apache.axis2.wsdl.codegen.writer.PrettyPrinter > prettify > INFO: Jalopy not found - unable to pretty print > \exemplo1\src\br\com\dnasolution > \VerificaLoginSkeleton.java > 20/09/2006 11:12:55 org.apache.axis2.wsdl.codegen.writer.PrettyPrinter > prettify > INFO: Jalopy not found - unable to pretty print > \exemplo1\src\br\com\dnasolution > \VerificaLoginMessageReceiverInOut.java > Exception in thread "main" > org.apache.axis2.wsdl.codegen.CodeGenerationException > : org.apache.axis2.wsdl.codegen.CodeGenerationException: > java.lang.RuntimeExcept > ion: WSDL writing failed! > at > org.apache.axis2.wsdl.codegen.CodeGenerationEngine.generate(CodeGener > ationEngine.java:185) > at org.apache.axis2.wsdl.WSDL2Code.main(WSDL2Code.java:32) > at org.apache.axis2.wsdl.WSDL2Java.main(WSDL2Java.java:21) > Caused by: org.apache.axis2.wsdl.codegen.CodeGenerationException: > java.lang.Runt > imeException: WSDL writing failed! > at > org.apache.axis2.wsdl.codegen.emitter.AxisServiceBasedMultiLanguageEm > itter.emitSkeleton(AxisServiceBasedMultiLanguageEmitter.java:640) > at > org.apache.axis2.wsdl.codegen.CodeGenerationEngine.generate(CodeGener > ationEngine.java:168) > ... 2 more > Caused by: java.lang.RuntimeException: WSDL writing failed! > at > org.apache.axis2.wsdl.codegen.writer.WSDLWriter.writeWSDL(WSDLWriter. > java:45) > at > org.apache.axis2.wsdl.codegen.emitter.AxisServiceBasedMultiLanguageEm > itter.writeWSDLFiles(AxisServiceBasedMultiLanguageEmitter.java:737) > at > org.apache.axis2.wsdl.codegen.emitter.AxisServiceBasedMultiLanguageEm > itter.emitSkeletonService(AxisServiceBasedMultiLanguageEmitter.java:703) > at > org.apache.axis2.wsdl.codegen.emitter.AxisServiceBasedMultiLanguageEm > itter.emitSkeleton(AxisServiceBasedMultiLanguageEmitter.java:638) > ... 3 more > Caused by: org.apache.axis2.AxisFault: null; nested exception is: > java.lang.NullPointerException > at > org.apache.axis2.description.AxisService.getWSDL(AxisService.java:558 > ) > at > org.apache.axis2.description.AxisService.printWSDL(AxisService.java:5 > 45) > at > org.apache.axis2.wsdl.codegen.writer.WSDLWriter.writeWSDL(WSDLWriter. > java:40) > ... 6 more > Caused by: java.lang.NullPointerException > at > com.sun.xml.internal.stream.writers.XMLStreamWriterImpl.writeXMLConte > nt(Unknown Source) > at > com.sun.xml.internal.stream.writers.XMLStreamWriterImpl.writeAttribut > e(Unknown Source) > at > org.apache.axiom.om.impl.MTOMXMLStreamWriter.writeAttribute(MTOMXMLSt > reamWriter.java:138) > at > org.apache.axiom.om.impl.util.OMSerializerUtil.serializeAttribute(OMS > erializerUtil.java:76) > at > org.apache.axiom.om.impl.util.OMSerializerUtil.serializeAttributes(OM > SerializerUtil.java:266) > at > org.apache.axiom.om.impl.util.OMSerializerUtil.serializeStartpart(OMS > erializerUtil.java:232) > at > org.apache.axiom.om.impl.llom.OMElementImpl.internalSerialize(OMEleme > ntImpl.java:765) > at > org.apache.axiom.om.impl.llom.OMElementImpl.internalSerialize(OMEleme > ntImpl.java:754) > at > org.apache.axiom.om.impl.llom.OMElementImpl.internalSerialize(OMEleme > ntImpl.java:769) > at > org.apache.axiom.om.impl.llom.OMElementImpl.internalSerialize(OMEleme > ntImpl.java:754) > at > org.apache.axiom.om.impl.llom.OMElementImpl.internalSerialize(OMEleme > ntImpl.java:769) > at > org.apache.axiom.om.impl.llom.OMElementImpl.internalSerialize(OMEleme > ntImpl.java:754) > at > org.apache.axiom.om.impl.llom.OMElementImpl.internalSerialize(OMEleme > ntImpl.java:769) > at > org.apache.axiom.om.impl.llom.OMElementImpl.internalSerialize(OMEleme > ntImpl.java:754) > at > org.apache.axiom.om.impl.llom.OMNodeImpl.serialize(OMNodeImpl.java:31 > 0) > at > org.apache.axiom.om.impl.llom.OMNodeImpl.serialize(OMNodeImpl.java:35 > 1) > at > org.apache.axis2.description.AxisService.getWSDL(AxisService.java:554 > ) > ... 8 more > ----- Original Message ----- > From: "Rodrigo Ruiz" <[EMAIL PROTECTED]> > To: <[email protected]> > Sent: Wednesday, September 20, 2006 11:03 AM > Subject: [Spam] Re: classpath > > >> Hi Fabio, the missing class is from Axiom. You should have one or more >> axiom*.jar files in %AXIS2_LIB%. Add them all to your classpath. >> >> HTH, >> Rodrigo Ruiz >> >> Fabio Alves de Araujo Ebner - DNA Solution wrote: >>> how .jar i need put at classpath?? >>> >>> > %AXIS2_LIB%\axis2-codegen-1.0.jar;%AXIS2_LIB%\axis2-kernel-1.0.jar;%AXIS2_LI > B%\neethi-1.0.1.jar;%AXIS2_LIB%\XmlSchema-1.0.2.jar;%AXIS2_LIB%\xbean-2.1.0. > jar;%AXIS2_LIB%\axis2-xmlbeans-1.0.jar; >>> i put all this but when i run >>> WSDL2Java -uri ..\samples\wsdl\Axis2SampleDocLit.wsdl -ss -sd -d >>> xmlbeans -o ..\samples -p org.apache.axis2.userguide >>> i got the error: >>> >>> C:\tomcat\axis2\lib>java org.apache.axis2.wsdl.WSDL2Java -uri >>> http://localhost:8 >>> 080/axis2/services/VerificaLogin?wsdl -ss -sd -d xmlbeans -o \exemplo1 >>> -p br.com >>> .dnasolution >>> Exception in thread "main" java.lang.NoClassDefFoundError >>> at >>> org.apache.axis2.wsdl.databinding.TypeMapper$1.class$(TypeMapper.java >>> :29) >>> at >>> org.apache.axis2.wsdl.databinding.TypeMapper.<clinit>(TypeMapper.java >>> :29) >>> at >>> org.apache.axis2.wsdl.codegen.emitter.AxisServiceBasedMultiLanguageEm >>> > itter.getInputParamElement(AxisServiceBasedMultiLanguageEmitter.java:1576) >>> at >>> org.apache.axis2.wsdl.codegen.emitter.AxisServiceBasedMultiLanguageEm >>> itter.getInputElement(AxisServiceBasedMultiLanguageEmitter.java:1426) >>> at >>> org.apache.axis2.wsdl.codegen.emitter.AxisServiceBasedMultiLanguageEm >>> itter.loadOperations(AxisServiceBasedMultiLanguageEmitter.java:1197) >>> at >>> org.apache.axis2.wsdl.codegen.emitter.AxisServiceBasedMultiLanguageEm >>> > itter.createDOMDocumentForSkeleton(AxisServiceBasedMultiLanguageEmitter.java > :111 >>> 7) >>> at >>> org.apache.axis2.wsdl.codegen.emitter.AxisServiceBasedMultiLanguageEm >>> itter.writeSkeleton(AxisServiceBasedMultiLanguageEmitter.java:1080) >>> at >>> org.apache.axis2.wsdl.codegen.emitter.AxisServiceBasedMultiLanguageEm >>> itter.emitSkeletonService(AxisServiceBasedMultiLanguageEmitter.java:690) >>> at >>> org.apache.axis2.wsdl.codegen.emitter.AxisServiceBasedMultiLanguageEm >>> itter.emitSkeleton(AxisServiceBasedMultiLanguageEmitter.java:638) >>> at >>> org.apache.axis2.wsdl.codegen.CodeGenerationEngine.generate(CodeGener >>> ationEngine.java:168) >>> at org.apache.axis2.wsdl.WSDL2Code.main(WSDL2Code.java:32) >>> at org.apache.axis2.wsdl.WSDL2Java.main(WSDL2Java.java:21) >>> Caused by: java.lang.ClassNotFoundException: > org.apache.axiom.om.OMElement >>> at java.net.URLClassLoader$1.run(Unknown Source) >>> at java.security.AccessController.doPrivileged(Native Method) >>> at java.net.URLClassLoader.findClass(Unknown Source) >>> at java.lang.ClassLoader.loadClass(Unknown Source) >>> at sun.misc.Launcher$AppClassLoader.loadClass(Unknown Source) >>> at java.lang.ClassLoader.loadClass(Unknown Source) >>> at java.lang.ClassLoader.loadClassInternal(Unknown Source) >>> at java.lang.Class.forName0(Native Method) >>> at java.lang.Class.forName(Unknown Source) >>> ... 12 more >>> >>> >> -- >> ------------------------------------------------------------------- >> GRIDSYSTEMS Rodrigo Ruiz Aguayo >> Parc Bit - Son Espanyol >> 07120 Palma de Mallorca mailto:[EMAIL PROTECTED] >> Baleares - España Tel:+34-971435085 Fax:+34-971435082 >> http://www.gridsystems.com >> ------------------------------------------------------------------- >> >> >> -- >> No virus found in this outgoing message. >> Checked by AVG Free Edition. >> Version: 7.1.405 / Virus Database: 268.12.5/451 - Release Date: 19/09/2006 >> >> >> --------------------------------------------------------------------- >> To unsubscribe, e-mail: [EMAIL PROTECTED] >> For additional commands, e-mail: [EMAIL PROTECTED] >> > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > > > -- ------------------------------------------------------------------- GRIDSYSTEMS Rodrigo Ruiz Aguayo Parc Bit - Son Espanyol 07120 Palma de Mallorca mailto:[EMAIL PROTECTED] Baleares - España Tel:+34-971435085 Fax:+34-971435082 http://www.gridsystems.com ------------------------------------------------------------------- -- No virus found in this outgoing message. Checked by AVG Free Edition. Version: 7.1.405 / Virus Database: 268.12.5/451 - Release Date: 19/09/2006 --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
