The Source for Java Technology Collaboration

Home » java.net Forums » GlassFish » Metro and JAXB

Thread: comments in generated WSDL

Welcome, Guest Help
Login Login
Guest Settings Guest Settings
Reply to this Thread Reply to this Thread Search Forum Search Forum Back to Thread List Back to Thread List

Permlink Replies: 3 - Last Post: Nov 25, 2008 12:06 AM by: Felipe Gaúcho
sebven1982

Posts: 15
comments in generated WSDL
Posted: Nov 23, 2008 2:31 AM
  Click to reply to this thread Reply

Hi,

I would like to insert comments in the WSDL generated by JAXWS. Is it possible to do that?
I did not find any annotations that would do the trick.

thank you

sebastien

sebven1982

Posts: 15
Re: comments in generated WSDL
Posted: Nov 24, 2008 2:19 AM   in response to: sebven1982
  Click to reply to this thread Reply

hello
well i found one solution to this problem

you can store the generated files in WEB-INF/wsdl folder
and insert the comments manually.
in the webservice you point to that updated WSDL via the @WebService
wsdlLocation attribute

JAXWS will no more generate a WSDL. it will use my own wsdl and xsd files.

for future release of JAX-WS it would be nice to have a comment or documentatiob annotation so that comments can be added on the fly when the WSDL is generated.

regards

Sebastien

whitfordny

Posts: 10
Re: comments in generated WSDL
Posted: Nov 24, 2008 11:10 PM   in response to: sebven1982
  Click to reply to this thread Reply

I am aware of an extension for JBossWS where you can specify the comment via an annotation:
http://www.jboss.com/index.html?module=bb&op=viewtopic&t=128398

But yeah, I agree that this should be part of the JAX-WS spec.

Felipe Gaúcho
Re: comments in generated WSDL
Posted: Nov 25, 2008 12:06 AM   in response to: whitfordny
  Click to reply to this thread Reply

> I am aware of an extension for JBossWS ...

and then the por^tability is over and you fall down in the proprietary
traditional trap :)

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@metro.dev.java.net
For additional commands, e-mail: users-help@metro.dev.java.net





 XML java.net RSS