This week's book giveaway is in the OO, Patterns, UML and Refactoring forum.
We're giving away four copies of Refactoring for Software Design Smells: Managing Technical Debt and have Girish Suryanarayana, Ganesh Samarthyam & Tushar Sharma on-line!
See this thread for details.
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

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..
I agree. Here's the link:
subject: Axis question
It's not a secret anymore!