Win a copy of Design for the Mind this week in the Design forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

WASCE is not able to generate wsdl while deploying .war file

 
Mayank Kushvaha
Greenhorn
Posts: 2
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi All,

I am deploying a .war file on WASCE . But it's giving me below mentioned error messages.

Deployment Failed
Deployment FailedWSDL generation failed
org.apache.geronimo.common.DeploymentException: WSDL generation failed
at org.apache.geronimo.jaxws.builder.WsdlGenerator.generateWsdl(WsdlGenerator.java:345)
at org.apache.geronimo.axis2.builder.Axis2Builder.initialize(Axis2Builder.java:225)
at org.apache.geronimo.jaxws.builder.JAXWSServiceBuilder.configurePOJO(JAXWSServiceBuilder.java:177)
at org.apache.geronimo.tomcat.deployment.TomcatModuleBuilder.addGBeans(TomcatModuleBuilder.java:447)
at org.apache.geronimo.j2ee.deployment.SwitchingModuleBuilder.addGBeans(SwitchingModuleBuilder.java:165)
at org.apache.geronimo.j2ee.deployment.EARConfigBuilder.buildConfiguration(EARConfigBuilder.java:645)
at org.apache.geronimo.deployment.Deployer.deploy(Deployer.java:255)
at org.apache.geronimo.deployment.Deployer.deploy(Deployer.java:134)
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 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(Unknown Source)


Please help me locate the possible issue .

Regards,
Mayank
 
Michal Horowic
Greenhorn
Posts: 9
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi Mayanka!

I know that this post is little bit old, but did you resolve it? I have the same error during deploying simple web service application.
WASCE v3.0.0.1

Greetings,
Michal
 
Mayank Kushvaha
Greenhorn
Posts: 2
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi Michal ,

Yes, I was able to resolve the problem . One of my method in POJO ,which I was trying to access through web service, was not correctly annotated.
Sorry for not posting the solution earlier.

Regards,
Mayank
 
Michal Horowic
Greenhorn
Posts: 9
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi Mayank,

Thank you for your reply. Unfortunately, it will not work in my case. I am trying to generate simple wsdl by http, so I created simple webservices. I am using virtual machine but it should not change anything.
OS Ubuntu 11.04, WASCE 3.0.0.1, openjdk and here is ma simple code:

Test.java


geronimo-web.xml


web.xml


and here is ma exception:


I also tried run this on Windows 7 Home premium, WASCE 3.0.0.1, and java -version
java version "1.6.0_29"
Java(TM) SE Runtime Environment (build 1.6.0_29-b11)
Java HotSpot(TM) 64-Bit Server VM (build 20.4-b02, mixed mode)

On Windows exception was similar.

Thank you in advance,
Michal
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic