WSDL generation fails for some web services
-------------------------------------------
Key: GERONIMO-3750
URL: https://issues.apache.org/jira/browse/GERONIMO-3750
Project: Geronimo
Issue Type: Bug
Security Level: public (Regular issues)
Components: webservices
Affects Versions: 2.0.2, 2.1
Reporter: Jarek Gawor
Assignee: Jarek Gawor
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)
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.