Hi!

I've generated a client and a server with the wsdl2java tool of axis2 0.9 and everything worked fine. Now I've tried to do the same with axis2 0.91 and its wsdl2java and I get the following exception from the client stub when I call the constructor. The class org.apache.axis2.transport.http.HTTPTransportSender was in version in 0.9 but it's not in version 0.91 anymore. What am I doing wrong?

Thanks a lot!

Diego


Exception in thread "main" org.apache.axis2.deployment.DeploymentException: org.apache.axis2.transport.http.HTTPTransportSender; nested exception is: java.lang.ClassNotFoundException: org.apache.axis2.transport.http.HTTPTransportSender; nested exception is: org.apache.axis2.deployment.DeploymentException: org.apache.axis2.transport.http.HTTPTransportSender; nested exception is: java.lang.ClassNotFoundException: org.apache.axis2.transport.http.HTTPTransportSender; nested exception is: org.apache.axis2.deployment.DeploymentException: org.apache.axis2.transport.http.HTTPTransportSender; nested exception is: java.lang.ClassNotFoundException: org.apache.axis2.transport.http.HTTPTransportSender; nested exception is: org.apache.axis2.deployment.DeploymentException: org.apache.axis2.transport.http.HTTPTransportSender; nested exception is: java.lang.ClassNotFoundException: org.apache.axis2.transport.http.HTTPTransportSender at org.apache.axis2.context.ConfigurationContextFactory.buildClientConfigurationContext(ConfigurationContextFactory.java:77)
        at org.bank.BankPortTypeStub.<init>(BankPortTypeStub.java:34)
        at org.bank.BankPortTypeStub.<init>(BankPortTypeStub.java:44)
        at org.bank.Client.main(Client.java:17)
Caused by: org.apache.axis2.deployment.DeploymentException: org.apache.axis2.transport.http.HTTPTransportSender; nested exception is: java.lang.ClassNotFoundException: org.apache.axis2.transport.http.HTTPTransportSender; nested exception is: org.apache.axis2.deployment.DeploymentException: org.apache.axis2.transport.http.HTTPTransportSender; nested exception is: java.lang.ClassNotFoundException: org.apache.axis2.transport.http.HTTPTransportSender at org.apache.axis2.deployment.DeploymentParser.processGlobalConfig(DeploymentParser.java:235) at org.apache.axis2.deployment.DeploymentEngine.loadClient(DeploymentEngine.java:251) at org.apache.axis2.context.ConfigurationContextFactory.buildClientConfigurationContext(ConfigurationContextFactory.java:69)
        ... 3 more
Caused by: org.apache.axis2.deployment.DeploymentException: org.apache.axis2.transport.http.HTTPTransportSender; nested exception is: java.lang.ClassNotFoundException: org.apache.axis2.transport.http.HTTPTransportSender at org.apache.axis2.deployment.DeploymentParser.proccessTrasnsportOUT(DeploymentParser.java:330) at org.apache.axis2.deployment.DeploymentParser.processGlobalConfig(DeploymentParser.java:121)
        ... 5 more
Caused by: java.lang.ClassNotFoundException: org.apache.axis2.transport.http.HTTPTransportSender
        at java.net.URLClassLoader$1.run(URLClassLoader.java:199)
        at java.security.AccessController.doPrivileged(Native Method)
        at java.net.URLClassLoader.findClass(URLClassLoader.java:187)
        at java.lang.ClassLoader.loadClass(ClassLoader.java:289)
        at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:274)
        at java.lang.ClassLoader.loadClass(ClassLoader.java:235)
        at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:302)
        at java.lang.Class.forName0(Native Method)
        at java.lang.Class.forName(Class.java:219)
at org.apache.axis2.deployment.DeploymentParser.proccessTrasnsportOUT(DeploymentParser.java:322)
        ... 6 more

Reply via email to