File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
The moose likes Web Services and the fly likes Cannot able to create a wsdl file Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » Web Services
Bookmark "Cannot able to create a wsdl file" Watch "Cannot able to create a wsdl file" New topic

Cannot able to create a wsdl file

rajashree loganayagi

Joined: Apr 12, 2011
Posts: 20

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

Joined: Mar 24, 2008
Posts: 3902

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?

[How to ask questions] [Twitter]
Ivan Krizsan
Ranch Hand

Joined: Oct 04, 2006
Posts: 2198
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:
Best wishes!

My free books and tutorials:
I agree. Here's the link:
subject: Cannot able to create a wsdl file
It's not a secret anymore!