wood burning stoves 2.0*
The moose likes Web Services and the fly likes Comments/Docs in WSDD/dynamic WSDL? Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » Web Services
Bookmark "Comments/Docs in WSDD/dynamic WSDL?" Watch "Comments/Docs in WSDD/dynamic WSDL?" New topic
Author

Comments/Docs in WSDD/dynamic WSDL?

Bret Waldow
Ranch Hand

Joined: Aug 04, 2000
Posts: 59
I am using the Java -> WSDL -> Java & WSDD workflow. I'll recommend Cape Science's lovely free WSDL editor/verifier (http://www.capescience.com/soa/index.shtml). Verify often, so you know as soon as you break the format...

Using that, I tweaked our WSDL with informative comments and descriptions of our services, ports, and parameters. On generating the Java stubs & WSDD file, the Java gets comments from the WSDL docs, but not the WSDD. So the client doesn't get it either. Well, hey, we know what our parameters are for - what about the poor remote client?

So, the dynamic WSDL created by our deployed service has the bare minimum - the services and parameter names, but no info. Am I missing a command line argument? It seems intuitively such an important aspect I suspect I'm missing something, but Google provides no help about this.

Thanks in advance.

Bret
Balaji Loganathan
author and deputy
Bartender

Joined: Jul 13, 2001
Posts: 3150
In axis, there is a way were you can display custom wsdl file instead of ?WSDL file, a reference to the custom wsdl file is made in WSDD description... there is a small tutorial on how to do this but i can't find the website url now..googling. Will let you know on monday.
Will that help ?
Bret Waldow
Ranch Hand

Joined: Aug 04, 2000
Posts: 59
That would help nicely, yes.

Thanks.
Balaji Loganathan
author and deputy
Bartender

Joined: Jul 13, 2001
Posts: 3150
Will this one help?
Bret Waldow
Ranch Hand

Joined: Aug 04, 2000
Posts: 59
Thanks. That looks good (and works).
 
It is sorta covered in the JavaRanch Style Guide.
 
subject: Comments/Docs in WSDD/dynamic WSDL?