You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@geronimo.apache.org by "Jarek Gawor (JIRA)" <ji...@apache.org> on 2008/01/15 17:47:36 UTC

[jira] Created: (GERONIMO-3750) WSDL generation fails for some web services

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.


[jira] Updated: (GERONIMO-3750) WSDL generation fails for some web services

Posted by "Joe Bohn (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/GERONIMO-3750?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Joe Bohn updated GERONIMO-3750:
-------------------------------

    Fix Version/s:     (was: 2.0.x)
                   2.0.3

> 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
>             Fix For: 2.0.3, 2.1
>
>
> 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.


[jira] Resolved: (GERONIMO-3750) WSDL generation fails for some web services

Posted by "Jarek Gawor (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/GERONIMO-3750?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Jarek Gawor resolved GERONIMO-3750.
-----------------------------------

       Resolution: Fixed
    Fix Version/s: 2.1
                   2.0.x

Committed the fixes to branches/2.0 (revision 612176).


> 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
>             Fix For: 2.0.x, 2.1
>
>
> 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.


[jira] Commented: (GERONIMO-3750) WSDL generation fails for some web services

Posted by "Jarek Gawor (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/GERONIMO-3750?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12559120#action_12559120 ] 

Jarek Gawor commented on GERONIMO-3750:
---------------------------------------

Added a few spec jars to the classpath of the wsgen tool. That seems to help. Fixes committed to trunk (revision 612156).


> 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.