File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
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
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: 3775

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
Ranch Hand

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