February 2009 - Posts

I was encountering the error below everytime I tried to invoke a WS client in RAD7. I was calling the WS through a console application using a generated client stub.

Deployment error:
    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.ast.ws.v61.consumption.j2ee14.stub.WSDeployStub.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.ast.ws.v61.consumption.j2ee14.command.AbstractEmitterAdapterCommand.execute(Unknown Source)
    at com.ibm.ast.ws.deployer.WASV61DeploymentModule.generateDeploymentCode(Unknown Source)
    at com.ibm.etools.webservice.deploy.core.AbstractDeploymentModule.deploy(Unknown Source)
    at com.ibm.etools.webservice.deploy.core.AbstractDeploymentModule.deployWebservice(Unknown Source)
    at com.ibm.etools.webservice.deploy.core.AbstractDeploymentModule.execute(Unknown Source)
    at com.ibm.ast.ws.deployer.WASDeploymentModule.execute(Unknown Source)
    at com.ibm.ast.ws.deployer.WASDeploy.execute(Unknown Source)
    at com.ibm.ast.ws.deployer.WSDeployer.runWSDeploy(Unknown Source)
    at com.ibm.ast.ws.deployer.WSDeployer.processModuleComponent(Unknown Source)
    at com.ibm.ast.ws.deployer.WSDeployer.execute(Unknown Source)


After searching google, I found one solution. I added the jar, in my classpath (buildpath/libraries). I found the jar in


However, I was able to make it work without this before. For some weird reason it just pops out randomly, each time I do an update from SVN...

Posted by lamia | with no comments

I wanted to start learning Eclipse RCP (Rich Client Platform) and was following a tutorial here, but I was already stuck on the first step (getting started). Friend google made me find this, and this.

Basically, I didn't install the RCP plugin and to quote from those two links:

Lots of people report that if they try this they can only select a "Generic" entry. The common source of this problem seems to be that you did not download the package "Eclipse for RCP/Plug-in Developers". Please see Eclipse Installation .

You might have to click on "More Packages" to see the RCP download package.

On the webpage of eclipse (www.eclipse.org), click on DOWNLOADS. Download the package "Eclipse for RCP/Plug-in Developers".

I'll be posting more about RCP once I finish setting up my IDE. :)

Posted by lamia | with no comments
Filed under: ,