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 Axis question Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of Android Security Essentials Live Lessons this week in the Android forum!
JavaRanch » Java Forums » Java » Web Services
Bookmark "Axis question" Watch "Axis question" New topic

Axis question

Niral Trivedi
Ranch Hand

Joined: Nov 26, 2001
Posts: 46
Hi All,
Does anybody know how to stop Axis autogenerating WSDL file when we type in url bar something like http://localhost:8080/axis/services/SomeService?WSDL
Documentation says that you can do this using one of the global configuration parameters in server-config.wsdd file. But I could not locate any such information in reference section.
Please help me.
Lasse Koskela

Joined: Jan 23, 2002
Posts: 11962
Would the answer lie in specifying a <wsdlFile>/MyService.wsdl</wsdlFile> element for your service and simply have the file be empty or missing completely?

Author of Test Driven (2007) and Effective Unit Testing (2013) [Blog] [HowToAskQuestionsOnJavaRanch]
Niral Trivedi
Ranch Hand

Joined: Nov 26, 2001
Posts: 46
Isn't it in 'TO DO' list yet?
Balaji Loganathan
author and deputy

Joined: Jul 13, 2001
Posts: 3150
Originally posted by Niral Trivedi:
Isn't it in 'TO DO' list yet?

No, Use this tutorial and Lasse's logic to get it done.

Spritle Software Blogs
Niral Trivedi
Ranch Hand

Joined: Nov 26, 2001
Posts: 46
Yes.. It worked..
Thanks guys..
subject: Axis question
Similar Threads
Can't see the WSDL file
Axis question
Unable to test webservice using a client
Automatically generated WSDL file of attachment sample fully interoperable?