Axis 1.3 WSDL2Java exception

Discussion in 'Java' started by Eqbal, Oct 13, 2005.

  1. Eqbal

    Eqbal Guest

    I am trying to use WSDL2Java to build client stubs from a wsdl file for
    a webservice and I am getting this exception:

    [java] java.lang.NoClassDefFoundError: javax.xml.transform.Source
    [java] at
    org.apache.axis.encoding.ser.JAFDataHandlerSerializerFactory.class$(JAFDataHandlerSerializerFactory.java:37)

    I noticed that if replace the jaxrpc.jar from axis 1.1 this works fine.
    Is there a problem with the new jaxrpc.jar bundled with the new axis
    version? I have same problem with 1.1.
    Eqbal, Oct 13, 2005
    #1
    1. Advertising

  2. That class is more likely to be provided by and XSL transform package.
    Check for for xerces librairies in your classpath.

    Bruno

    Eqbal wrote:
    > I am trying to use WSDL2Java to build client stubs from a wsdl file for
    > a webservice and I am getting this exception:
    >
    > [java] java.lang.NoClassDefFoundError: javax.xml.transform.Source
    > [java] at
    > org.apache.axis.encoding.ser.JAFDataHandlerSerializerFactory.class$(JAFDataHandlerSerializerFactory.java:37)
    >
    > I noticed that if replace the jaxrpc.jar from axis 1.1 this works fine.
    > Is there a problem with the new jaxrpc.jar bundled with the new axis
    > version? I have same problem with 1.1.
    >
    Bruno Grieder, Oct 14, 2005
    #2
    1. Advertising

  3. Eqbal

    Eqbal Guest

    Bruno Grieder wrote:
    > That class is more likely to be provided by and XSL transform package.
    > Check for for xerces librairies in your classpath.
    >
    > Bruno
    >
    > Eqbal wrote:
    > > I am trying to use WSDL2Java to build client stubs from a wsdl file for
    > > a webservice and I am getting this exception:
    > >
    > > [java] java.lang.NoClassDefFoundError: javax.xml.transform.Source
    > > [java] at
    > > org.apache.axis.encoding.ser.JAFDataHandlerSerializerFactory.class$(JAFDataHandlerSerializerFactory.java:37)
    > >
    > > I noticed that if replace the jaxrpc.jar from axis 1.1 this works fine.
    > > Is there a problem with the new jaxrpc.jar bundled with the new axis
    > > version? I have same problem with 1.1.
    > >

    Apparently, 1.3 requires the new xerces library. 1.1 worked with the
    old version. Thanks for your help.
    Eqbal, Oct 14, 2005
    #3
    1. Advertising

Want to reply to this thread or ask your own question?

It takes just 2 minutes to sign up (and it's free!). Just click the sign up button to choose a username and then you can ask your own questions on the forum.
Similar Threads
  1. Sandy Dunlop

    Problem with Apache AXIS WSDL2Java

    Sandy Dunlop, Oct 4, 2003, in forum: Java
    Replies:
    1
    Views:
    946
    Sandy Dunlop
    Oct 4, 2003
  2. john
    Replies:
    4
    Views:
    11,797
    kgarg01
    Oct 12, 2006
  3. eq
    Replies:
    1
    Views:
    4,661
    The Abrasive Sponge
    Oct 15, 2004
  4. Replies:
    0
    Views:
    673
  5. Replies:
    0
    Views:
    921
Loading...

Share This Page