aspose file tools*
The moose likes Web Services and the fly likes DeploymentException while creating top down web service Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of The Java EE 7 Tutorial Volume 1 or Volume 2 this week in the Java EE forum
or jQuery UI in Action in the JavaScript forum!
JavaRanch » Java Forums » Java » Web Services
Bookmark "DeploymentException while creating top down web service" Watch "DeploymentException while creating top down web service" New topic
Author

DeploymentException while creating top down web service

Kousik Majumder
Ranch Hand

Joined: Sep 30, 2007
Posts: 229
Hi all,

I am trying to create a web service from a wsdl file in Eclipse 3.4.2 with Jboss 4.0.2 and Axis2.
Firstly I have created a dynamic web project.
Then I have put the wsdl file in the root of the project(in wsdl folder).
While creating the web service with Axis2 the follwoing exception is shown while it is trying to deploy the web service in jboss server.
Please help.



Thanks in Advance,
Kousik
R Srini
Ranch Hand

Joined: Feb 19, 2010
Posts: 215
Hi. I have not used JBoss, but it looks like the war may not be present inside the ear. Can you open the ear using 7-Zip or similar utility like Winzip, and inspect its contents? If in Eclipse, you have an EAR project that includes the Dynamic Web project, then you could try to clean and rebuild both projects. Also, you may find this link useful. If not, then this might help too. Please post your resolution once you have it.
Kousik Majumder
Ranch Hand

Joined: Sep 30, 2007
Posts: 229
Hi,

I have got the resolution.
I had a problem with creating the ear. Previously the ear created was wrong, it created other .war file from my eclipse workspace so it was unable to find the proper .war in ear.
After deleteing the unnecessary project from my workspace and creating the web service again solved the problem.
 
wood burning stoves
 
subject: DeploymentException while creating top down web service