[jboss-user] [JBossWS] - Error while using WSTools

sidgod do-not-reply at jboss.com
Wed Oct 10 07:08:47 EDT 2007


Hi i was using JBOSS AS 4.0.4.GA for the J2EE application. Now i am trying to the soap interface also. Thus i downloaded zip for 4.0.4.GA and i am using following file to generate wsdl from my interface:
activation.jar, mail.jar, javassist.jar, jbossall-client.jar, jboss-backport-concurrent.jar, jbossretro-rt.jar, jbossws14-client.jar and xercesImpl.jar. 

I was using jdk 1.4 06 earlier and i am still using the same. The command i am using to generate wsdl is : 
org.jboss.ws.tools.WSTools -cp <all-my-jars> -config <config-file> -dest <some-dest>

Its failing with error java.lang.NoClassDefFoundError: org/xml/sax/ext/Attributes2 i believe this class is available only from jdk 1.5.x series onwards. But i think WS tools which are shipped with server binary zip file can be used with 1.4.x also. 

So please tell me whats wrong and how can i counter it ?

View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4093422#4093422

Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4093422



More information about the jboss-user mailing list