Uploaded image for project: 'Geronimo'
  1. Geronimo
  2. GERONIMO-3750

WSDL generation fails for some web services

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • 2.0.2, 2.1
    • 2.0.3, 2.1
    • webservices
    • Security Level: public (Regular issues)
    • None

    Description

      It looks like wsgen process (with Axis2 web services) can fail if the web service is using JPA API. The exception looks something like:

      11:19:15,796 ERROR [EjbModuleBuilder] JAXWSEJBModuleBuilderExtension.addGBeans() failed: Unable to find the service wsdl file
      org.apache.geronimo.common.DeploymentException: Unable to find the service wsdl file
      at org.apache.geronimo.jaxws.builder.WsdlGenerator.generateWsdl(WsdlGenerator.java:293)
      at org.apache.geronimo.axis2.builder.Axis2Builder.initialize(Axis2Builder.java:222)
      at org.apache.geronimo.jaxws.builder.JAXWSServiceBuilder.configureEJB(JAXWSServiceBuilder.java:215)
      at org.apache.geronimo.jaxws.builder.JAXWSEJBModuleBuilderExtension.addGBeans(JAXWSEJBModuleBuilderExtension.java:167)
      at org.apache.geronimo.openejb.deployment.EjbModuleBuilder.addGBeans(EjbModuleBuilder.java:818)
      at org.apache.geronimo.j2ee.deployment.EARConfigBuilder.buildConfiguration(EARConfigBuilder.java:646)
      at org.apache.geronimo.deployment.Deployer.deploy(Deployer.java:246)
      at org.apache.geronimo.deployment.Deployer.deploy(Deployer.java:125)
      at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
      at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
      at java.lang.reflect.Method.invoke(Method.java:585)
      at org.apache.geronimo.gbean.runtime.ReflectionMethodInvoker.invoke(ReflectionMethodInvoker.java:34)
      at org.apache.geronimo.gbean.runtime.GBeanOperation.invoke(GBeanOperation.java:124)
      at org.apache.geronimo.gbean.runtime.GBeanInstance.invoke(GBeanInstance.java:867)
      at org.apache.geronimo.kernel.basic.BasicKernel.invoke(BasicKernel.java:239)
      at org.apache.geronimo.deployment.plugin.local.AbstractDeployCommand.doDeploy(AbstractDeployCommand.java:116)
      at org.apache.geronimo.deployment.plugin.local.DistributeCommand.run(DistributeCommand.java:61)
      at java.lang.Thread.run(Thread.java:595)

      Attachments

        Activity

          People

            gawor@mcs.anl.gov Jarek Gawor
            gawor@mcs.anl.gov Jarek Gawor
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: