Pages

Monday, June 28, 2010

Problem occurred while publishing the server

Error messages were issued.
    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.GeneratedMethodAccessor31.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)
    at org.eclipse.jst.j2ee.internal.deploy.J2EEDeployOperation.deploy(Unknown Source)
    at org.eclipse.jst.j2ee.internal.deploy.J2EEDeployOperation.execute(Unknown Source)
    at com.ibm.etools.server.task.ejbdeploy.EJBDeployableTask$EJBTaskOperations.execute(Unknown Source)
    at org.eclipse.wst.server.core.model.ServerBehaviourDelegate.performTasks(Unknown Source)
    at org.eclipse.wst.server.core.model.ServerBehaviourDelegate.publish(Unknown Source)
    at org.eclipse.wst.server.core.internal.Server.doPublish(Unknown Source)
    at org.eclipse.wst.server.core.internal.Server.publish(Unknown Source)
    at org.eclipse.wst.server.core.internal.PublishServerJob.run(Unknown Source)
    at org.eclipse.core.internal.jobs.Worker.run(Unknown Source)
  WSWS3574E: ---------- FATAL ERRORS ENCOUNTERED ---------- 
 GENERATION OF ARTIFACTS HAS BEEN SUSPENDED.
 See messages to follow for more details.

  WSWS3528E: ---------- WSDL2Java VALIDATION ERROR ---------- 
 Extension base mismatch between existing Bean and WSDL document.
 Existing Bean class: "com.ibm.wcc.financial.service.to.FSPersonSearch"
 Extends the following class: com.ibm.wcc.party.service.to.PersonSearch 
 However the following extension base
 is specified in the WSDL document: com.ibm.wcc.party.service.to.PersonSearch

  WSWS3528E: ---------- WSDL2Java VALIDATION ERROR ---------- 
 Extension base mismatch between existing Bean and WSDL document.
 Existing Bean class: "com.ibm.wcc.financial.service.to.ContractRoleLocationPrivPref"


 Extends the following class: com.ibm.wcc.business.service.to.EntityPrivPref 
 However the following extension base
 is specified in the WSDL document: com.ibm.wcc.business.service.to.EntityPrivPref

  WSWS3528E: ---------- WSDL2Java VALIDATION ERROR ---------- 
 Extension base mismatch between existing Bean and WSDL document.
 Existing Bean class: "com.ibm.wcc.billing.service.to.BillingSummaryValue"
 Extends the following class: com.ibm.wcc.business.service.to.MiscValue 
 However the following extension base
 is specified in the WSDL document: com.ibm.wcc.business.service.to.MiscValue

  WSWS3528E: ---------- WSDL2Java VALIDATION ERROR ---------- 
 Extension base mismatch between existing Bean and WSDL document.
 Existing Bean class: "com.ibm.wcc.financial.service.to.FSOrganizationSearch"
 Extends the following class: com.ibm.wcc.party.service.to.OrganizationSearch 
 However the following extension base
 is specified in the WSDL document: com.ibm.wcc.party.service.to.OrganizationSearch

  WSWS3528E: ---------- WSDL2Java VALIDATION ERROR ---------- 
 Extension base mismatch between existing Bean and WSDL document.
 Existing Bean class: "com.ibm.wcc.financial.service.to.ContractValue"
 Extends the following class: com.ibm.wcc.business.service.to.MiscValue 
 However the following extension base
 is specified in the WSDL document: com.ibm.wcc.business.service.to.MiscValue


 Solution:
Check the J2EE Dependencies (see project Properties) for your WSEJB project and ensure that they
 include all the WS projects which it depends on directly or indirectly - this is probably:
 PartyWS, FinancialServicesWS, BusinessServicesWS, DWLBusinessServicesWS, DWLCommonServicesWS.

 Then try the publish again.










   

2 comments:

  1. If you have some custom projects try adding the thin client jar to the WSEJB projects.

    ReplyDelete
    Replies
    1. I'm still having the issue, even after adding the Thin client and also the OOTB WS projects. I'm on WAS 7, MDM 901.20

      Delete