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