Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Language IDEs » ServerTools (WTP) » error IWAB0398E when creating wsdl from java source
error IWAB0398E when creating wsdl from java source [message #191391] Thu, 12 April 2007 15:21 Go to next message
Eclipse UserFriend
Originally posted by: anders.linden.nomail.xxx

Hello!

This is what I tried (using eclipse 3.2)

new->project->java project

project name: webservicetest (create separate source and output folders)

right click on src, new package, package name: testing.webservices
right click on package, new class, name: webservicetest (ok, its not
capitalized), the
package gets automatically filled in.

exchange of source code to:

package testing.webservices;
import java.rmi.Remote;
public interface webservicetest extends Remote
{
public String kryptera(String value);
public String dekryptera(String value);
}




right click on package, new class, name: webservicetestimpl (ok, not
capitalized either).

exchange of source code to:

package testing.webservices;

public class webservicetestimpl implements webservicetest
{
public webservicetestimpl()
{
}
public String kryptera(String value)
{
return "aaa";
}
public String dekryptera(String value)
{
return "bbb";
}
}




saving


now, I tried to create a webservice


right clicking on my first project and new->other->Web Services->Web Service





in the following dialog, I put a name of a Service implmentation, however,
some time before when I have tried the same thing, the box is pre-filled.
For some reason its not now. (why not any longer?)

I click on the browse button and all I have to put there is the class name
without package prefix and pressing return. Then the prefix goes there
automatically.

the web service type is bottom up.

I try next here.

After some progress indication, I get the names of my two methods, kryptera
and dekryptera.

the boxes are checked, I leave it that way.

when I click next here (or finish), I get the following error message:


IWAB0398E Error in generating WSDL from Java:
java.lang.ClassNotFoundException: testing.webservices.webservicetestimpl


question: why?
The class was found one time (my method names were detected) but not the
other time.
So is eclipse incompatible with itself?


I have tried to change the language compliance of webservicetest to 1.4. (I
need to do that anyway before I deploy the project, I presume, jboss doesnt
want a newer version).

In the service project itself, I never get the opportunity to set language
compliance, but its not a java project after all.



details for the error follows futher down:













IWAB0398E Error in generating WSDL from Java:
java.lang.ClassNotFoundException: testing.webservices.webservicetestimpl
java.lang.ClassNotFoundException: testing.webservices.webservicetestimpl
at
org.eclipse.osgi.framework.internal.core.BundleLoader.findCl ass(BundleLoader.java:402)
at
org.eclipse.osgi.framework.internal.core.BundleLoader.findCl ass(BundleLoader.java:347)
at
org.eclipse.osgi.internal.baseadaptor.DefaultClassLoader.loa dClass(DefaultClassLoader.java:83)
at java.lang.ClassLoader.loadClass(Unknown Source)
at
org.apache.tools.ant.AntClassLoader.findBaseClass(AntClassLo ader.java:1197)
at
org.apache.tools.ant.AntClassLoader.loadClass(AntClassLoader .java:990)
at java.lang.ClassLoader.loadClass(Unknown Source)
at org.apache.axis.utils.ClassUtils$2.run(ClassUtils.java:187)
at java.security.AccessController.doPrivileged(Native Method)
at org.apache.axis.utils.ClassUtils.loadClass(ClassUtils.java:1 60)
at org.apache.axis.utils.ClassUtils.forName(ClassUtils.java:100 )
at org.apache.axis.wsdl.fromJava.Emitter.setCls(Emitter.java:20 79)
at
org.apache.axis.tools.ant.wsdl.Java2WsdlAntTask.execute(Java 2WsdlAntTask.java:188)
at
org.eclipse.jst.ws.internal.axis.consumption.core.command.Ja va2WSDLCommand.executeAntTask(Java2WSDLCommand.java:179)
at
org.eclipse.jst.ws.internal.axis.consumption.core.command.Ja va2WSDLCommand.execute(Java2WSDLCommand.java:94)
at
org.eclipse.jst.ws.internal.axis.creation.ui.command.BUCodeG enOperation$BottomUpWSModifyOperation.execute(BUCodeGenOpera tion.java:116)
at
org.eclipse.jst.ws.internal.axis.creation.ui.command.BUCodeG enOperation.execute(BUCodeGenOperation.java:80)
at
org.eclipse.wst.command.internal.env.core.fragment.CommandFr agmentEngine.runCommand(CommandFragmentEngine.java:414)
at
org.eclipse.wst.command.internal.env.core.fragment.CommandFr agmentEngine.visitTop(CommandFragmentEngine.java:354)
at
org.eclipse.wst.command.internal.env.core.fragment.CommandFr agmentEngine.moveForwardToNextStop(CommandFragmentEngine.jav a:252)
at
org.eclipse.wst.command.internal.env.ui.widgets.SimpleComman dEngineManager$5.run(SimpleCommandEngineManager.java:250)
at
org.eclipse.jface.operation.ModalContext.runInCurrentThread( ModalContext.java:369)
at org.eclipse.jface.operation.ModalContext.run(ModalContext.ja va:313)
at org.eclipse.jface.wizard.WizardDialog.run(WizardDialog.java: 851)
at
org.eclipse.wst.command.internal.env.ui.widgets.SimpleComman dEngineManager.runForwardToNextStop(SimpleCommandEngineManag er.java:220)
at
org.eclipse.wst.command.internal.env.ui.widgets.WizardPageMa nager.runForwardToNextStop(WizardPageManager.java:94)
at
org.eclipse.wst.command.internal.env.ui.widgets.WizardPageMa nager.getNextPage(WizardPageManager.java:145)
at
org.eclipse.wst.command.internal.env.ui.widgets.SimpleWizard Page.getNextPage(SimpleWizardPage.java:136)
at
org.eclipse.jface.wizard.WizardDialog.nextPressed(WizardDial og.java:751)
at
org.eclipse.jface.wizard.WizardDialog.buttonPressed(WizardDi alog.java:351)
at org.eclipse.jface.dialogs.Dialog$3.widgetSelected(Dialog.jav a:660)
at
org.eclipse.swt.widgets.TypedListener.handleEvent(TypedListe ner.java:90)
at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java :66)
at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:928)
at org.eclipse.swt.widgets.Display.runDeferredEvents(Display.ja va:3348)
at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java :2968)
at org.eclipse.jface.window.Window.runEventLoop(Window.java:820 )
at org.eclipse.jface.window.Window.open(Window.java:796)
at org.eclipse.ui.actions.NewWizardAction.run(NewWizardAction.j ava:181)
at org.eclipse.jface.action.Action.runWithEvent(Action.java:499 )
at
org.eclipse.jface.action.ActionContributionItem.handleWidget Selection(ActionContributionItem.java:539)
at
org.eclipse.jface.action.ActionContributionItem.access$2(Act ionContributionItem.java:488)
at
org.eclipse.jface.action.ActionContributionItem$5.handleEven t(ActionContributionItem.java:400)
at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java :66)
at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:928)
at org.eclipse.swt.widgets.Display.runDeferredEvents(Display.ja va:3348)
at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java :2968)
at org.eclipse.ui.internal.Workbench.runEventLoop(Workbench.jav a:1930)
at org.eclipse.ui.internal.Workbench.runUI(Workbench.java:1894)
at
org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Work bench.java:422)
at org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.j ava:149)
at
org.eclipse.ui.internal.ide.IDEApplication.run(IDEApplicatio n.java:95)
at
org.eclipse.core.internal.runtime.PlatformActivator$1.run(Pl atformActivator.java:78)
at
org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher .runApplication(EclipseAppLauncher.java:92)
at
org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher .start(EclipseAppLauncher.java:68)
at
org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseS tarter.java:400)
at
org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseS tarter.java:177)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
at java.lang.reflect.Method.invoke(Unknown Source)
at org.eclipse.core.launcher.Main.invokeFramework(Main.java:336 )
at org.eclipse.core.launcher.Main.basicRun(Main.java:280)
at org.eclipse.core.launcher.Main.run(Main.java:977)
at org.eclipse.core.launcher.Main.main(Main.java:952)
Re: error IWAB0398E when creating wsdl from java source [message #191403 is a reply to message #191391] Fri, 13 April 2007 07:43 Go to previous messageGo to next message
Mirza Hadzic is currently offline Mirza HadzicFriend
Messages: 19
Registered: July 2009
Junior Member
I have the same issue. Next button shows message IWAB0398E, but when I
press the "Next" again, IWAB0398E message is *not* repeated and service
is created. Weird. (Calisto, WST 1.5.3)

Mirza

Anders Lindén wrote:
> Hello!
>
> This is what I tried (using eclipse 3.2)
>
> new->project->java project
>
> project name: webservicetest (create separate source and output folders)
>
> right click on src, new package, package name: testing.webservices
> right click on package, new class, name: webservicetest (ok, its not
> capitalized), the
> package gets automatically filled in.
>
> exchange of source code to:
>
> package testing.webservices;
> import java.rmi.Remote;
> public interface webservicetest extends Remote
> {
> public String kryptera(String value);
> public String dekryptera(String value);
> }
>
>
>
>
> right click on package, new class, name: webservicetestimpl (ok, not
> capitalized either).
>
> exchange of source code to:
>
> package testing.webservices;
>
> public class webservicetestimpl implements webservicetest
> {
> public webservicetestimpl()
> {
> }
> public String kryptera(String value)
> {
> return "aaa";
> }
> public String dekryptera(String value)
> {
> return "bbb";
> }
> }
>
>
>
>
> saving
>
>
> now, I tried to create a webservice
>
>
> right clicking on my first project and new->other->Web Services->Web Service
>
>
>
>
>
> in the following dialog, I put a name of a Service implmentation, however,
> some time before when I have tried the same thing, the box is pre-filled.
> For some reason its not now. (why not any longer?)
>
> I click on the browse button and all I have to put there is the class name
> without package prefix and pressing return. Then the prefix goes there
> automatically.
>
> the web service type is bottom up.
>
> I try next here.
>
> After some progress indication, I get the names of my two methods, kryptera
> and dekryptera.
>
> the boxes are checked, I leave it that way.
>
> when I click next here (or finish), I get the following error message:
>
>
> IWAB0398E Error in generating WSDL from Java:
> java.lang.ClassNotFoundException: testing.webservices.webservicetestimpl
>
>
> question: why?
> The class was found one time (my method names were detected) but not the
> other time.
> So is eclipse incompatible with itself?
>
>
> I have tried to change the language compliance of webservicetest to 1.4. (I
> need to do that anyway before I deploy the project, I presume, jboss doesnt
> want a newer version).
>
> In the service project itself, I never get the opportunity to set language
> compliance, but its not a java project after all.
>
>
>
> details for the error follows futher down:
>
>
>
>
>
>
>
>
>
>
>
>
>
> IWAB0398E Error in generating WSDL from Java:
> java.lang.ClassNotFoundException: testing.webservices.webservicetestimpl
> java.lang.ClassNotFoundException: testing.webservices.webservicetestimpl
> at
> org.eclipse.osgi.framework.internal.core.BundleLoader.findCl ass(BundleLoader.java:402)
> at
> org.eclipse.osgi.framework.internal.core.BundleLoader.findCl ass(BundleLoader.java:347)
> at
> org.eclipse.osgi.internal.baseadaptor.DefaultClassLoader.loa dClass(DefaultClassLoader.java:83)
> at java.lang.ClassLoader.loadClass(Unknown Source)
> at
> org.apache.tools.ant.AntClassLoader.findBaseClass(AntClassLo ader.java:1197)
> at
> org.apache.tools.ant.AntClassLoader.loadClass(AntClassLoader .java:990)
> at java.lang.ClassLoader.loadClass(Unknown Source)
> at org.apache.axis.utils.ClassUtils$2.run(ClassUtils.java:187)
> at java.security.AccessController.doPrivileged(Native Method)
> at org.apache.axis.utils.ClassUtils.loadClass(ClassUtils.java:1 60)
> at org.apache.axis.utils.ClassUtils.forName(ClassUtils.java:100 )
> at org.apache.axis.wsdl.fromJava.Emitter.setCls(Emitter.java:20 79)
> at
> org.apache.axis.tools.ant.wsdl.Java2WsdlAntTask.execute(Java 2WsdlAntTask.java:188)
> at
> org.eclipse.jst.ws.internal.axis.consumption.core.command.Ja va2WSDLCommand.executeAntTask(Java2WSDLCommand.java:179)
> at
> org.eclipse.jst.ws.internal.axis.consumption.core.command.Ja va2WSDLCommand.execute(Java2WSDLCommand.java:94)
> at
> org.eclipse.jst.ws.internal.axis.creation.ui.command.BUCodeG enOperation$BottomUpWSModifyOperation.execute(BUCodeGenOpera tion.java:116)
> at
> org.eclipse.jst.ws.internal.axis.creation.ui.command.BUCodeG enOperation.execute(BUCodeGenOperation.java:80)
> at
> org.eclipse.wst.command.internal.env.core.fragment.CommandFr agmentEngine.runCommand(CommandFragmentEngine.java:414)
> at
> org.eclipse.wst.command.internal.env.core.fragment.CommandFr agmentEngine.visitTop(CommandFragmentEngine.java:354)
> at
> org.eclipse.wst.command.internal.env.core.fragment.CommandFr agmentEngine.moveForwardToNextStop(CommandFragmentEngine.jav a:252)
> at
> org.eclipse.wst.command.internal.env.ui.widgets.SimpleComman dEngineManager$5.run(SimpleCommandEngineManager.java:250)
> at
> org.eclipse.jface.operation.ModalContext.runInCurrentThread( ModalContext.java:369)
> at org.eclipse.jface.operation.ModalContext.run(ModalContext.ja va:313)
> at org.eclipse.jface.wizard.WizardDialog.run(WizardDialog.java: 851)
> at
> org.eclipse.wst.command.internal.env.ui.widgets.SimpleComman dEngineManager.runForwardToNextStop(SimpleCommandEngineManag er.java:220)
> at
> org.eclipse.wst.command.internal.env.ui.widgets.WizardPageMa nager.runForwardToNextStop(WizardPageManager.java:94)
> at
> org.eclipse.wst.command.internal.env.ui.widgets.WizardPageMa nager.getNextPage(WizardPageManager.java:145)
> at
> org.eclipse.wst.command.internal.env.ui.widgets.SimpleWizard Page.getNextPage(SimpleWizardPage.java:136)
> at
> org.eclipse.jface.wizard.WizardDialog.nextPressed(WizardDial og.java:751)
> at
> org.eclipse.jface.wizard.WizardDialog.buttonPressed(WizardDi alog.java:351)
> at org.eclipse.jface.dialogs.Dialog$3.widgetSelected(Dialog.jav a:660)
> at
> org.eclipse.swt.widgets.TypedListener.handleEvent(TypedListe ner.java:90)
> at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java :66)
> at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:928)
> at org.eclipse.swt.widgets.Display.runDeferredEvents(Display.ja va:3348)
> at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java :2968)
> at org.eclipse.jface.window.Window.runEventLoop(Window.java:820 )
> at org.eclipse.jface.window.Window.open(Window.java:796)
> at org.eclipse.ui.actions.NewWizardAction.run(NewWizardAction.j ava:181)
> at org.eclipse.jface.action.Action.runWithEvent(Action.java:499 )
> at
> org.eclipse.jface.action.ActionContributionItem.handleWidget Selection(ActionContributionItem.java:539)
> at
> org.eclipse.jface.action.ActionContributionItem.access$2(Act ionContributionItem.java:488)
> at
> org.eclipse.jface.action.ActionContributionItem$5.handleEven t(ActionContributionItem.java:400)
> at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java :66)
> at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:928)
> at org.eclipse.swt.widgets.Display.runDeferredEvents(Display.ja va:3348)
> at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java :2968)
> at org.eclipse.ui.internal.Workbench.runEventLoop(Workbench.jav a:1930)
> at org.eclipse.ui.internal.Workbench.runUI(Workbench.java:1894)
> at
> org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Work bench.java:422)
> at org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.j ava:149)
> at
> org.eclipse.ui.internal.ide.IDEApplication.run(IDEApplicatio n.java:95)
> at
> org.eclipse.core.internal.runtime.PlatformActivator$1.run(Pl atformActivator.java:78)
> at
> org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher .runApplication(EclipseAppLauncher.java:92)
> at
> org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher .start(EclipseAppLauncher.java:68)
> at
> org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseS tarter.java:400)
> at
> org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseS tarter.java:177)
> at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
> at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
> at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
> at java.lang.reflect.Method.invoke(Unknown Source)
> at org.eclipse.core.launcher.Main.invokeFramework(Main.java:336 )
> at org.eclipse.core.launcher.Main.basicRun(Main.java:280)
> at org.eclipse.core.launcher.Main.run(Main.java:977)
> at org.eclipse.core.launcher.Main.main(Main.java:952)
>
>
>
>
>
>
Re: error IWAB0398E when creating wsdl from java source [message #191410 is a reply to message #191403] Fri, 13 April 2007 07:58 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: anders.linden.nomail.xxx

Thanks for your reply!

Hm, I get the error message all the time.
Do you get a wsdl-file btw?

/Anders


"mirza" <mirza@seznam.cz> wrote in message
news:evnc6p$u6t$1@build.eclipse.org...
>I have the same issue. Next button shows message IWAB0398E, but when I
>press the "Next" again, IWAB0398E message is *not* repeated and service is
>created. Weird. (Calisto, WST 1.5.3)
>
> Mirza
>
> Anders Lind
Re: error IWAB0398E when creating wsdl from java source [message #191420 is a reply to message #191410] Fri, 13 April 2007 10:08 Go to previous messageGo to next message
Mirza Hadzic is currently offline Mirza HadzicFriend
Messages: 19
Registered: July 2009
Junior Member
> Hm, I get the error message all the time.
> Do you get a wsdl-file btw?

yes.

>
> /Anders
>
>
> "mirza" <mirza@seznam.cz> wrote in message
> news:evnc6p$u6t$1@build.eclipse.org...
>> I have the same issue. Next button shows message IWAB0398E, but when I
>> press the "Next" again, IWAB0398E message is *not* repeated and service is
>> created. Weird. (Calisto, WST 1.5.3)
>>
>> Mirza
>>
>> Anders Lindén wrote:
>>> Hello!
>>>
>>> This is what I tried (using eclipse 3.2)
>>>
>>> new->project->java project
>>>
>>> project name: webservicetest (create separate source and output folders)
>>>
>>> right click on src, new package, package name: testing.webservices
>>> right click on package, new class, name: webservicetest (ok, its not
>>> capitalized), the
>>> package gets automatically filled in.
>>>
>>> exchange of source code to:
>>>
>>> package testing.webservices;
>>> import java.rmi.Remote;
>>> public interface webservicetest extends Remote
>>> {
>>> public String kryptera(String value);
>>> public String dekryptera(String value);
>>> }
>>>
>>>
>>>
>>>
>>> right click on package, new class, name: webservicetestimpl (ok, not
>>> capitalized either).
>>>
>>> exchange of source code to:
>>>
>>> package testing.webservices;
>>>
>>> public class webservicetestimpl implements webservicetest
>>> {
>>> public webservicetestimpl()
>>> {
>>> }
>>> public String kryptera(String value)
>>> {
>>> return "aaa";
>>> }
>>> public String dekryptera(String value)
>>> {
>>> return "bbb";
>>> }
>>> }
>>>
>>>
>>>
>>>
>>> saving
>>>
>>>
>>> now, I tried to create a webservice
>>>
>>>
>>> right clicking on my first project and new->other->Web Services->Web
>>> Service
>>>
>>>
>>>
>>>
>>>
>>> in the following dialog, I put a name of a Service implmentation,
>>> however, some time before when I have tried the same thing, the box is
>>> pre-filled. For some reason its not now. (why not any longer?)
>>>
>>> I click on the browse button and all I have to put there is the class
>>> name without package prefix and pressing return. Then the prefix goes
>>> there automatically.
>>>
>>> the web service type is bottom up.
>>>
>>> I try next here.
>>>
>>> After some progress indication, I get the names of my two methods,
>>> kryptera and dekryptera.
>>>
>>> the boxes are checked, I leave it that way.
>>>
>>> when I click next here (or finish), I get the following error message:
>>>
>>>
>>> IWAB0398E Error in generating WSDL from Java:
>>> java.lang.ClassNotFoundException: testing.webservices.webservicetestimpl
>>>
>>>
>>> question: why?
>>> The class was found one time (my method names were detected) but not the
>>> other time.
>>> So is eclipse incompatible with itself?
>>>
>>>
>>> I have tried to change the language compliance of webservicetest to 1.4.
>>> (I need to do that anyway before I deploy the project, I presume, jboss
>>> doesnt want a newer version).
>>>
>>> In the service project itself, I never get the opportunity to set
>>> language compliance, but its not a java project after all.
>>>
>>>
>>>
>>> details for the error follows futher down:
>>>
>>>
>>>
>>>
>>>
>>>
>>>
>>>
>>>
>>>
>>>
>>>
>>>
>>> IWAB0398E Error in generating WSDL from Java:
>>> java.lang.ClassNotFoundException: testing.webservices.webservicetestimpl
>>> java.lang.ClassNotFoundException:
>>> testing.webservices.webservicetestimpl
>>> at
>>> org.eclipse.osgi.framework.internal.core.BundleLoader.findCl ass(BundleLoader.java:402)
>>> at
>>> org.eclipse.osgi.framework.internal.core.BundleLoader.findCl ass(BundleLoader.java:347)
>>> at
>>> org.eclipse.osgi.internal.baseadaptor.DefaultClassLoader.loa dClass(DefaultClassLoader.java:83)
>>> at java.lang.ClassLoader.loadClass(Unknown Source)
>>> at
>>> org.apache.tools.ant.AntClassLoader.findBaseClass(AntClassLo ader.java:1197)
>>> at
>>> org.apache.tools.ant.AntClassLoader.loadClass(AntClassLoader .java:990)
>>> at java.lang.ClassLoader.loadClass(Unknown Source)
>>> at org.apache.axis.utils.ClassUtils$2.run(ClassUtils.java:187)
>>> at java.security.AccessController.doPrivileged(Native Method)
>>> at org.apache.axis.utils.ClassUtils.loadClass(ClassUtils.java:1 60)
>>> at org.apache.axis.utils.ClassUtils.forName(ClassUtils.java:100 )
>>> at org.apache.axis.wsdl.fromJava.Emitter.setCls(Emitter.java:20 79)
>>> at
>>> org.apache.axis.tools.ant.wsdl.Java2WsdlAntTask.execute(Java 2WsdlAntTask.java:188)
>>> at
>>> org.eclipse.jst.ws.internal.axis.consumption.core.command.Ja va2WSDLCommand.executeAntTask(Java2WSDLCommand.java:179)
>>> at
>>> org.eclipse.jst.ws.internal.axis.consumption.core.command.Ja va2WSDLCommand.execute(Java2WSDLCommand.java:94)
>>> at
>>> org.eclipse.jst.ws.internal.axis.creation.ui.command.BUCodeG enOperation$BottomUpWSModifyOperation.execute(BUCodeGenOpera tion.java:116)
>>> at
>>> org.eclipse.jst.ws.internal.axis.creation.ui.command.BUCodeG enOperation.execute(BUCodeGenOperation.java:80)
>>> at
>>> org.eclipse.wst.command.internal.env.core.fragment.CommandFr agmentEngine.runCommand(CommandFragmentEngine.java:414)
>>> at
>>> org.eclipse.wst.command.internal.env.core.fragment.CommandFr agmentEngine.visitTop(CommandFragmentEngine.java:354)
>>> at
>>> org.eclipse.wst.command.internal.env.core.fragment.CommandFr agmentEngine.moveForwardToNextStop(CommandFragmentEngine.jav a:252)
>>> at
>>> org.eclipse.wst.command.internal.env.ui.widgets.SimpleComman dEngineManager$5.run(SimpleCommandEngineManager.java:250)
>>> at
>>> org.eclipse.jface.operation.ModalContext.runInCurrentThread( ModalContext.java:369)
>>> at
>>> org.eclipse.jface.operation.ModalContext.run(ModalContext.ja va:313)
>>> at org.eclipse.jface.wizard.WizardDialog.run(WizardDialog.java: 851)
>>> at
>>> org.eclipse.wst.command.internal.env.ui.widgets.SimpleComman dEngineManager.runForwardToNextStop(SimpleCommandEngineManag er.java:220)
>>> at
>>> org.eclipse.wst.command.internal.env.ui.widgets.WizardPageMa nager.runForwardToNextStop(WizardPageManager.java:94)
>>> at
>>> org.eclipse.wst.command.internal.env.ui.widgets.WizardPageMa nager.getNextPage(WizardPageManager.java:145)
>>> at
>>> org.eclipse.wst.command.internal.env.ui.widgets.SimpleWizard Page.getNextPage(SimpleWizardPage.java:136)
>>> at
>>> org.eclipse.jface.wizard.WizardDialog.nextPressed(WizardDial og.java:751)
>>> at
>>> org.eclipse.jface.wizard.WizardDialog.buttonPressed(WizardDi alog.java:351)
>>> at org.eclipse.jface.dialogs.Dialog$3.widgetSelected(Dialog.jav a:660)
>>> at
>>> org.eclipse.swt.widgets.TypedListener.handleEvent(TypedListe ner.java:90)
>>> at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java :66)
>>> at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:928)
>>> at
>>> org.eclipse.swt.widgets.Display.runDeferredEvents(Display.ja va:3348)
>>> at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java :2968)
>>> at org.eclipse.jface.window.Window.runEventLoop(Window.java:820 )
>>> at org.eclipse.jface.window.Window.open(Window.java:796)
>>> at
>>> org.eclipse.ui.actions.NewWizardAction.run(NewWizardAction.j ava:181)
>>> at org.eclipse.jface.action.Action.runWithEvent(Action.java:499 )
>>> at
>>> org.eclipse.jface.action.ActionContributionItem.handleWidget Selection(ActionContributionItem.java:539)
>>> at
>>> org.eclipse.jface.action.ActionContributionItem.access$2(Act ionContributionItem.java:488)
>>> at
>>> org.eclipse.jface.action.ActionContributionItem$5.handleEven t(ActionContributionItem.java:400)
>>> at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java :66)
>>> at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:928)
>>> at
>>> org.eclipse.swt.widgets.Display.runDeferredEvents(Display.ja va:3348)
>>> at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java :2968)
>>> at
>>> org.eclipse.ui.internal.Workbench.runEventLoop(Workbench.jav a:1930)
>>> at org.eclipse.ui.internal.Workbench.runUI(Workbench.java:1894)
>>> at
>>> org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Work bench.java:422)
>>> at
>>> org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.j ava:149)
>>> at
>>> org.eclipse.ui.internal.ide.IDEApplication.run(IDEApplicatio n.java:95)
>>> at
>>> org.eclipse.core.internal.runtime.PlatformActivator$1.run(Pl atformActivator.java:78)
>>> at
>>> org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher .runApplication(EclipseAppLauncher.java:92)
>>> at
>>> org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher .start(EclipseAppLauncher.java:68)
>>> at
>>> org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseS tarter.java:400)
>>> at
>>> org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseS tarter.java:177)
>>> at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
>>> at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
>>> at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
>>> at java.lang.reflect.Method.invoke(Unknown Source)
>>> at org.eclipse.core.launcher.Main.invokeFramework(Main.java:336 )
>>> at org.eclipse.core.launcher.Main.basicRun(Main.java:280)
>>> at org.eclipse.core.launcher.Main.run(Main.java:977)
>>> at org.eclipse.core.launcher.Main.main(Main.java:952)
>>>
>>>
>>>
>>>
>>>
>
Re: error IWAB0398E when creating wsdl from java source [message #191445 is a reply to message #191420] Fri, 13 April 2007 20:11 Go to previous messageGo to next message
Kathy Chan is currently offline Kathy ChanFriend
Messages: 93
Registered: July 2009
Member
Hi Andes,

I tried creating bottom-up Web services using webservicetest and
webservicetestimpl using both WTP 1.5.3 and WTP 2.0 M6. If I just select
the the project, the service implementation class is not filled in. That's
working as expected since the initial selection is a project, not the Java
file. I don't think we have a release that pre-fill service implementation
if the initial selection is just a project. If however you had select the
Java file and then bring up the Web service wizard, then the service
implementation field is filled in.

Anyways, I just select project, bring up the Web service wizard, then use
the Browse button to browse for the webservicetestimpl class. I was then
able to see the 2 methods listed and the wizard was able to complete
successfully. I was also able to invoke the Web service using the Web
Services Explorer and sample JSP.

If you still run into this problem with WTP 1.5.3/1.5.4 or WTP 2.0 M6,
please open a defect in bugzilla. If you do run into the problem, could you
please check to see if the .class file exist (change to resource view and
check the Java output directory which is defaulted to build/classes
directory)? The org.apache.axis.tools.ant.wsdl.Java2WsdlAntTask needs to be
able to load the class in order to process it. In some interim driver in
earlier releases, I've seen similar ClassNotFound problem. That's when I
found that the .class files did not get generated in that project. Cleaning
the project solved that problem. However, I have not seen that problem in
released driver lately.

Regards,
Kathy Chan

"mirza" <mirza@seznam.cz> wrote in message
news:evnkmu$g3c$1@build.eclipse.org...
>
>> Hm, I get the error message all the time.
>> Do you get a wsdl-file btw?
>
> yes.
>
>>
>> /Anders
>>
>>
>> "mirza" <mirza@seznam.cz> wrote in message
>> news:evnc6p$u6t$1@build.eclipse.org...
>>> I have the same issue. Next button shows message IWAB0398E, but when I
>>> press the "Next" again, IWAB0398E message is *not* repeated and service
>>> is created. Weird. (Calisto, WST 1.5.3)
>>>
>>> Mirza
>>>
>>> Anders Lind
Re: error IWAB0398E when creating wsdl from java source [message #191477 is a reply to message #191445] Sat, 14 April 2007 13:03 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: anders.linden.nomail.xxx

Thanks for your reply Kathy!

I downloaded wtp WTP 2.0 M6 and extracted it on top of my eclipse directory.

Then I created a java project, added the package, added the two classes.
I put the source code in them. Separate src and output folders.

I right clicked webservicetestimpl.java and new->other->Web Services and now
I could not any longer pick the choice web service because it was not there
any longer.
The only two alternatives were "ant files" and "wsdl".

I tried wsdl and named the wsdl webservicetest.wsdl.

I created a skeleton, using soap and document literal (for some reason,
there is no hint of any kind what those alternatives represent), I clicked
finish and there my wsdl is.

But none of the java methods are automatically put in it (checking with a
text editor), and when I click the new tab "WSDL Editor", nothing happens.
That tab does not change the contents in the area where the code window is,
so if I look at the class webservicetest.java and then I click the WSDL
Editor tab, the code window is still displaying the contents of
webservicetest.java.

Altering the code some does not affect the contents of the wsdl file.
So the newer version of wtp wasnt exactly the best one, if we look on how
far we came in the progress. :)



"Kathy Chan" <kathy@ca.ibm.com> wrote in message
news:evoo4v$710$1@build.eclipse.org...
> Hi Andes,
>
> I tried creating bottom-up Web services using webservicetest and
> webservicetestimpl using both WTP 1.5.3 and WTP 2.0 M6. If I just select
> the the project, the service implementation class is not filled in.
> That's working as expected since the initial selection is a project, not
> the Java file. I don't think we have a release that pre-fill service
> implementation if the initial selection is just a project. If however you
> had select the Java file and then bring up the Web service wizard, then
> the service implementation field is filled in.
>
> Anyways, I just select project, bring up the Web service wizard, then use
> the Browse button to browse for the webservicetestimpl class. I was then
> able to see the 2 methods listed and the wizard was able to complete
> successfully. I was also able to invoke the Web service using the Web
> Services Explorer and sample JSP.
>
> If you still run into this problem with WTP 1.5.3/1.5.4 or WTP 2.0 M6,
> please open a defect in bugzilla. If you do run into the problem, could
> you please check to see if the .class file exist (change to resource view
> and check the Java output directory which is defaulted to build/classes
> directory)? The org.apache.axis.tools.ant.wsdl.Java2WsdlAntTask needs to
> be able to load the class in order to process it. In some interim driver
> in earlier releases, I've seen similar ClassNotFound problem. That's when
> I found that the .class files did not get generated in that project.
> Cleaning the project solved that problem. However, I have not seen that
> problem in released driver lately.
>
> Regards,
> Kathy Chan
>
> "mirza" <mirza@seznam.cz> wrote in message
> news:evnkmu$g3c$1@build.eclipse.org...
>>
>>> Hm, I get the error message all the time.
>>> Do you get a wsdl-file btw?
>>
>> yes.
>>
>>>
>>> /Anders
>>>
>>>
>>> "mirza" <mirza@seznam.cz> wrote in message
>>> news:evnc6p$u6t$1@build.eclipse.org...
>>>> I have the same issue. Next button shows message IWAB0398E, but when I
>>>> press the "Next" again, IWAB0398E message is *not* repeated and service
>>>> is created. Weird. (Calisto, WST 1.5.3)
>>>>
>>>> Mirza
>>>>
>>>> Anders Lind
Re: error IWAB0398E when creating wsdl from java source [message #191485 is a reply to message #191445] Sat, 14 April 2007 16:28 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: anders.linden.nomail.xxx

I have tried now with a fresh eclipse and wtp from:

http://download.eclipse.org/webtools/downloads/drops/R2.0/I- I200704122344-200704122344/


I downloaded eclipse, emf-sdo-xsd, GEF-SDK, dtp-sdk and wtp.
I extracted all those into the same directory.

I can create a web service and get the same error...



"Kathy Chan" <kathy@ca.ibm.com> wrote in message
news:evoo4v$710$1@build.eclipse.org...
> Hi Andes,
>
> I tried creating bottom-up Web services using webservicetest and
> webservicetestimpl using both WTP 1.5.3 and WTP 2.0 M6. If I just select
> the the project, the service implementation class is not filled in.
> That's working as expected since the initial selection is a project, not
> the Java file. I don't think we have a release that pre-fill service
> implementation if the initial selection is just a project. If however you
> had select the Java file and then bring up the Web service wizard, then
> the service implementation field is filled in.
>
> Anyways, I just select project, bring up the Web service wizard, then use
> the Browse button to browse for the webservicetestimpl class. I was then
> able to see the 2 methods listed and the wizard was able to complete
> successfully. I was also able to invoke the Web service using the Web
> Services Explorer and sample JSP.
>
> If you still run into this problem with WTP 1.5.3/1.5.4 or WTP 2.0 M6,
> please open a defect in bugzilla. If you do run into the problem, could
> you please check to see if the .class file exist (change to resource view
> and check the Java output directory which is defaulted to build/classes
> directory)? The org.apache.axis.tools.ant.wsdl.Java2WsdlAntTask needs to
> be able to load the class in order to process it. In some interim driver
> in earlier releases, I've seen similar ClassNotFound problem. That's when
> I found that the .class files did not get generated in that project.
> Cleaning the project solved that problem. However, I have not seen that
> problem in released driver lately.
>
> Regards,
> Kathy Chan
>
> "mirza" <mirza@seznam.cz> wrote in message
> news:evnkmu$g3c$1@build.eclipse.org...
>>
>>> Hm, I get the error message all the time.
>>> Do you get a wsdl-file btw?
>>
>> yes.
>>
>>>
>>> /Anders
>>>
>>>
>>> "mirza" <mirza@seznam.cz> wrote in message
>>> news:evnc6p$u6t$1@build.eclipse.org...
>>>> I have the same issue. Next button shows message IWAB0398E, but when I
>>>> press the "Next" again, IWAB0398E message is *not* repeated and service
>>>> is created. Weird. (Calisto, WST 1.5.3)
>>>>
>>>> Mirza
>>>>
>>>> Anders Lind
Re: error IWAB0398E when creating wsdl from java source [message #191690 is a reply to message #191485] Mon, 23 April 2007 17:04 Go to previous message
Kathy Chan is currently offline Kathy ChanFriend
Messages: 93
Registered: July 2009
Member
Hi Anders,

Could you please open a bugzilla with the steps to reproduce the problem and
your configuration?

BTW, are you able to see the .class files being generated in the Web
project? Are you able to follow the tutorial to run any other Web srevice?

Regards,
Kathy Chan
"Anders Lind
Previous Topic:server launch configuration, classpath user entries work?
Next Topic:Re: problems at pattern facet creation/validation
Goto Forum:
  


Current Time: Thu Apr 18 02:00:08 GMT 2024

Powered by FUDForum. Page generated in 0.02320 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top