• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

custom wsdl

 
Kevin Eddy
Ranch Hand
Posts: 74
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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.
@WebService(wsdlLocation="WEB-INF/wsdl/intercept.wsdl")

However the autogenerated wsdl is still being returned when I query the web service for the wsdl in the browser like so:
http://localhost:8080/MyWebService/Intercept?wsdl

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
Posts: 74
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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?
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic