0 Replies Latest reply on Oct 10, 2007 7:08 AM by sidgod

    Error while using WSTools

    sidgod

      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 ?