In creating the Service with a unique name line: new 
org.apache.axis2.description.AxisService - initiate exception: 
java.lang.NoClassDefFoundError: javax/wsdl/WSDLException
----------------------------------------------------------------------------------------------------------------------------------------------------------------------------

                 Key: AXIS2-4590
                 URL: https://issues.apache.org/jira/browse/AXIS2-4590
             Project: Axis2
          Issue Type: Bug
          Components: wsdl
    Affects Versions: 1.3
         Environment: Eclipse_3.5.1 jdk1.6.0_17 axis2-1.3 axis-wsdl4j-1.5.1 
tomcat_6.18
            Reporter: Ert Buzurol
            Priority: Critical
             Fix For: 1.3


Source code:
private void populateAxisService() throws org.apache.axis2.AxisFault {
     //creating the Service with a unique name
     _service = new org.apache.axis2.description.AxisService("MyWebService" + 
this.hashCode()); <<< Initiate Exception
        //creating the operations
        org.apache.axis2.description.AxisOperation __operation;
        _operations = new org.apache.axis2.description.AxisOperation[5];
                   __operation = new 
org.apache.axis2.description.OutInAxisOperation();


!SESSION 2009-12-23 02:40:14.525 -----------------------------------------------
eclipse.buildId=unknown
java.version=1.6.0_10
java.vendor=Sun Microsystems Inc.
BootLoader constants: OS=linux, ARCH=x86, WS=gtk, NL=en_US

!ENTRY org.eclipse.rap.ui 4 0 2009-12-23 02:40:14.526
!MESSAGE Unhandled event loop exception
!STACK 0
java.lang.NoClassDefFoundError: javax/wsdl/WSDLException
        at 
org.demo.axis2.avp.AppIntfWSStub.populateAxisService(AppIntfWSStub.java:28)
        at org.demo.axis2.avp.AppIntfWSStub.<init>(AppIntfWSStub.java:197)
        at org.demo.axis2.avp.AppIntfWSStub.<init>(AppIntfWSStub.java:186)
        at org.demo.axis2.avp.AppIntfWSStub.<init>(AppIntfWSStub.java:234)
        at org.demo.axis2.avp.AppIntfWSStub.<init>(AppIntfWSStub.java:226)
        at org.demo.axis2.avp.Test_Client.dial(Test_Client.java:22)
        at 
org.demo.dialing.debt.pages.ControlPage$3.widgetSelected(ControlPage.java:134)
        at 
org.eclipse.swt.events.SelectionEvent.dispatchToObserver(SelectionEvent.java:176)
        at org.eclipse.rwt.internal.events.Event.processEvent(Event.java:44)
        at org.eclipse.swt.events.TypedEvent.processEvent(TypedEvent.java:127)
        at org.eclipse.swt.events.TypedEvent.executeNext(TypedEvent.java:167)
        at 
org.eclipse.rwt.internal.lifecycle.RWTLifeCycle.readAndDispatch(RWTLifeCycle.java:244)
        at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:768)
        at org.eclipse.ui.internal.Workbench.runEventLoop(Workbench.java:2485)
        at org.eclipse.ui.internal.Workbench.runUI(Workbench.java:2444)
        at org.eclipse.ui.internal.Workbench.access$5(Workbench.java:2295)
        at org.eclipse.ui.internal.Workbench$4.run(Workbench.java:514)
        at 
org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java:332)
        at 
org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Workbench.java:497)
        at org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.java:157)
        at ru.voxcom.dialing.debt.Application.createUI(Application.java:19)
        at 
org.eclipse.rwt.internal.lifecycle.EntryPointManager.createUI(EntryPointManager.java:92)
        at 
org.eclipse.rwt.internal.lifecycle.RWTLifeCycle.createUI(RWTLifeCycle.java:231)
        at 
org.eclipse.rwt.internal.lifecycle.RWTLifeCycle$UIThreadController.run(RWTLifeCycle.java:119)
        at java.lang.Thread.run(Thread.java:619)
Caused by: java.lang.ClassNotFoundException: javax.wsdl.WSDLException
        at 
org.eclipse.osgi.internal.loader.BundleLoader.findClassInternal(BundleLoader.java:494)
        at 
org.eclipse.osgi.internal.loader.BundleLoader.findClass(BundleLoader.java:410)
        at 
org.eclipse.osgi.internal.loader.BundleLoader.findClass(BundleLoader.java:398)
        at 
org.eclipse.osgi.internal.baseadaptor.DefaultClassLoader.loadClass(DefaultClassLoader.java:105)
        at java.lang.ClassLoader.loadClass(ClassLoader.java:252)
        at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:320) 

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.

Reply via email to