ibmi-brunch-learn

Announcement

Collapse
No announcement yet.

WDSC Web service ending with Error

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • WDSC Web service ending with Error

    Hi all,

    I want to write top-down java beans web service for given WSDL file but stuck with following error
    I’m using RAD 7.0
    Code:
    IWAB0639E Error in generating Java files and deployment descritpors from WSDL file
      WSWS3574E: ---------- FATAL ERRORS ENCOUNTERED ----------  
    	GENERATION OF ARTIFACTS HAS BEEN SUSPENDED. 
    	See messages to follow for more details. 
      WSWS3549E: Error: WSDL2Java could not discover a suitable StubWriter for null.
      Error: FATAL ERRORS encountered by WSDL2Java tool.
          java.io.IOException: FATAL ERRORS encountered by WSDL2Java tool.
          at com.ibm.ws.webservices.wsdl.Parser.generate(Unknown Source)
          at com.ibm.ws.webservices.wsdl.Parser.generate(Unknown Source)
          at com.ibm.ws.webservices.tools.wsad.WSDL2Java._execute(Unknown Source)
          at com.ibm.ws.webservices.tools.wsad.WSDL2JavaBase.execute(Unknown Source)
          at com.ibm.etools.webservice.command.adapter.CommandToCommand.execute(Unknown Source)
          at com.ibm.etools.webservice.was.v6.consumption.j2ee14.stub.WSDL2JavaStub.execute(Unknown Source)
          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 com.ibm.etools.webservice.was.v6.consumption.j2ee14.command.AbstractEmitterAdapterCommand.execute(Unknown Source)
          at com.ibm.etools.webservice.was.consumption.command.ClientEmitterLauncherCommand.execute(Unknown Source)
          at org.eclipse.wst.command.internal.env.core.fragment.CommandFragmentEngine.runCommand(Unknown Source)
          at org.eclipse.wst.command.internal.env.core.fragment.CommandFragmentEngine.visitTop(Unknown Source)
          at org.eclipse.wst.command.internal.env.core.fragment.CommandFragmentEngine.moveForwardToNextStop(Unknown Source)
          at org.eclipse.wst.command.internal.env.ui.widgets.SimpleCommandEngineManager$5.run(Unknown Source)
          at org.eclipse.jface.operation.ModalContext.runInCurrentThread(Unknown Source)
          at org.eclipse.jface.operation.ModalContext.run(Unknown Source)
          at org.eclipse.jface.wizard.WizardDialog.run(Unknown Source)
          at org.eclipse.wst.command.internal.env.ui.widgets.SimpleCommandEngineManager.runForwardToNextStop(Unknown Source)
          at org.eclipse.wst.command.internal.env.ui.widgets.WizardPageManager.runForwardToNextStop(Unknown Source)
          at org.eclipse.wst.command.internal.env.ui.widgets.WizardPageManager.performFinish(Unknown Source)
          at org.eclipse.wst.command.internal.env.ui.widgets.DynamicWizard.performFinish(Unknown Source)
          at org.eclipse.jface.wizard.WizardDialog.finishPressed(Unknown Source)
          at org.eclipse.jface.wizard.WizardDialog.buttonPressed(Unknown Source)
          at org.eclipse.jface.dialogs.Dialog$3.widgetSelected(Unknown Source)
          at org.eclipse.swt.widgets.TypedListener.handleEvent(Unknown Source)
          at org.eclipse.swt.widgets.EventTable.sendEvent(Unknown Source)
          at org.eclipse.swt.widgets.Widget.sendEvent(Unknown Source)
          at org.eclipse.swt.widgets.Display.runDeferredEvents(Unknown Source)
          at org.eclipse.swt.widgets.Display.readAndDispatch(Unknown Source)
          at org.eclipse.jface.window.Window.runEventLoop(Unknown Source)
          at org.eclipse.jface.window.Window.open(Unknown Source)
          at org.eclipse.ui.actions.NewWizardAction.run(Unknown Source)
          at org.eclipse.jface.action.Action.runWithEvent(Unknown Source)
          at org.eclipse.jface.action.ActionContributionItem.handleWidgetSelection(Unknown Source)
          at org.eclipse.jface.action.ActionContributionItem.access$2(Unknown Source)
          at org.eclipse.jface.action.ActionContributionItem$5.handleEvent(Unknown Source)
          at org.eclipse.swt.widgets.EventTable.sendEvent(Unknown Source)
          at org.eclipse.swt.widgets.Widget.sendEvent(Unknown Source)
          at org.eclipse.swt.widgets.Display.runDeferredEvents(Unknown Source)
          at org.eclipse.swt.widgets.Display.readAndDispatch(Unknown Source)
          at org.eclipse.ui.internal.Workbench.runEventLoop(Unknown Source)
          at org.eclipse.ui.internal.Workbench.runUI(Unknown Source)
          at org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Unknown Source)
          at org.eclipse.ui.PlatformUI.createAndRunWorkbench(Unknown Source)
          at org.eclipse.ui.internal.ide.IDEApplication.run(Unknown Source)
          at org.eclipse.core.internal.runtime.PlatformActivator$1.run(Unknown Source)
          at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.runApplication(Unknown Source)
          at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.start(Unknown Source)
          at org.eclipse.core.runtime.adaptor.EclipseStarter.run(Unknown Source)
          at org.eclipse.core.runtime.adaptor.EclipseStarter.run(Unknown Source)
          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(Unknown Source)
          at org.eclipse.core.launcher.Main.basicRun(Unknown Source)
          at org.eclipse.core.launcher.Main.run(Unknown Source)
          at org.eclipse.core.launcher.Main.main(Unknown Source)
    Can anyone please show me, what I did wrong or Is this RAD error ?
    WSDL file also attached.
    Last edited by dhanuxp; December 7, 2009, 08:32 AM.

  • #2
    Re: WDSC Web service ending with Error

    Did you come right with this guy?

    Comment


    • #3
      Re: WDSC Web service ending with Error

      Originally posted by vernond View Post
      Did you come right with this guy?
      There were two reason
      1) creating client while creating service : stop to generate client part & that was ok!
      2) This is crazy part,

      It was the problem of web service runtime!
      changed runtime from IBM Websphere JAX-RPC to Apache Axis. (Don't know what is the reason yet)
      Project is running now!

      But still try to find out how to secure that WebService with basic authentication!! (You all know, It's so easy to configure basic authentication for JAX-RPC type service & no clue about Axis on Websphere )

      Do u guy have any idea ?

      Thanks
      dhanuxp
      Last edited by dhanuxp; December 7, 2009, 12:07 AM.

      Comment

      Working...
      X