This week's book giveaway is in the Agile and other Processes forum.
We're giving away four copies of The Mikado Method and have Ola Ellnestam and Daniel Brolund on-line!
See this thread for details.
The moose likes Web Services and the fly likes Cannot able to create a wsdl file Big Moose Saloon
  Search | Java FAQ | Recent Topics
Register / Login


Win a copy of The Mikado Method this week in the Agile and other Processes forum!
JavaRanch » Java Forums » Java » Web Services
Reply Bookmark "Cannot able to create a wsdl file" Watch "Cannot able to create a wsdl file" New topic
Author

Cannot able to create a wsdl file

rajashree loganayagi
Greenhorn

Joined: Apr 12, 2011
Posts: 20
Hi,

I am pretty new to web services. I tried to deploy a war file in Jboss inorder to get the wsdl file. But it throws an error like this:


Please help me to solve this error.
Vijitha Kumara
Bartender

Joined: Mar 24, 2008
Posts: 3670

java.lang.NoClassDefFoundError: javax/servlet/ServletContext...

This says it cannot find the servlet context. Can you show what is the content and how they are written in your war file? What tools and how you are using them?


SCJP 5 | SCWCD 5
[How to ask questions] [Twitter]
Ivan Krizsan
Bartender

Joined: Oct 04, 2006
Posts: 2193
Hi!
The ServletContext should be part of the servlet container, so you do not need to include it yourself.
Take a look at this webpage, seems like others have had similar problems: http://community.jboss.org/thread/55313
Best wishes!


My free books and tutorials: http://www.slideshare.net/krizsan
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Cannot able to create a wsdl file
 
Similar Threads
JBoss 4.2 - PortableRemoteObject.narrow problem.
new to db connection help needed
Class Not Found Exception
PickList RichFaces
Error in Deployment