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 custom wsdl Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » Web Services
Bookmark "custom wsdl" Watch "custom wsdl" New topic

custom wsdl

Kevin Eddy
Ranch Hand

Joined: Feb 24, 2010
Posts: 74
I'm using netbeans 6.9.1 to build a jax-ws web service. I need to return a custom wsdl.
I've used the following annotation.

However the autogenerated wsdl is still being returned when I query the web service for the wsdl in the browser like so:

I checked the war file and it's indeed in the wsdl folder where it's supposed to be. It's also where it needs to be in tomcat.

Any ideas on why my custom wsdl isn't being returned?
Kevin Eddy
Ranch Hand

Joined: Feb 24, 2010
Posts: 74
Update to this problem. The custom wsdl is being returned correctly. I had altered the soap address and that change wasn't being reflected in the wsdl. However, other changes were showing up. This means that either tomcat or the jax-ws framework edits that part of the wsdl for you and supplies you with a soap addy. Is there a way to turn off wsdl publishing all together in jax-ws?
I agree. Here's the link:
subject: custom wsdl
jQuery in Action, 3rd edition