You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@cxf.apache.org by "Kessel, Christopher" <ck...@transunion.com> on 2011/04/14 18:12:16 UTC

WSDLDocumentation annotation?

Stupid question, but I can't figure out how to use the @WSDLDocumentation annotation added in 2.3.3 (I'm upgrading from 2.2.12). I have a simple class like the following, but the WSDLDocumentation info doesn't show up in the generated wsdl. What am I doing wrong?

@XmlRootElement(name = "MyResponse")
@WSDLDocumentation("WSDL doc test")
public class MyResponse
{
...implementation
}

Thanks,
Chris

Re: WSDLDocumentation annotation?

Posted by Daniel Kulp <dk...@apache.org>.
The WSDLDocumentation is only useful for WSDL elements, not stuff that is part 
of the Schema.    JAXB doesn't really provide any way to add documentation to 
the schema.  :-(

Dan


On Thursday 14 April 2011 12:12:16 PM Kessel, Christopher wrote:
> Stupid question, but I can't figure out how to use the @WSDLDocumentation
> annotation added in 2.3.3 (I'm upgrading from 2.2.12). I have a simple
> class like the following, but the WSDLDocumentation info doesn't show up
> in the generated wsdl. What am I doing wrong?
> 
> @XmlRootElement(name = "MyResponse")
> @WSDLDocumentation("WSDL doc test")
> public class MyResponse
> {
> ...implementation
> }
> 
> Thanks,
> Chris

-- 
Daniel Kulp
dkulp@apache.org
http://dankulp.com/blog
Talend - http://www.talend.com

Re: WSDLDocumentation annotation?

Posted by Rimy Sfm <at...@gmail.com>.
I'm sorry Chris but I really don't have any idea about that.
I'm actually stucked with something else now. Do you know, by chance, how to
generate a client stub for restful web service from wadl? :(

2011/4/14 Kessel, Christopher [via CXF] <
ml-node+4303420-337606990-198223@n5.nabble.com>

> Stupid question, but I can't figure out how to use the @WSDLDocumentation
> annotation added in 2.3.3 (I'm upgrading from 2.2.12). I have a simple class
> like the following, but the WSDLDocumentation info doesn't show up in the
> generated wsdl. What am I doing wrong?
>
> @XmlRootElement(name = "MyResponse")
> @WSDLDocumentation("WSDL doc test")
> public class MyResponse
> {
> ...implementation
> }
>
> Thanks,
> Chris
>
>
> ------------------------------
>  If you reply to this email, your message will be added to the discussion
> below:
>
> http://cxf.547215.n5.nabble.com/Restful-web-service-CXF-tp4302550p4303420.html
>  To unsubscribe from Restful web service + CXF, click here<http://cxf.547215.n5.nabble.com/template/NamlServlet.jtp?macro=unsubscribe_by_code&node=4302550&code=YXRpdGFsbGFoLnJpbUBnbWFpbC5jb218NDMwMjU1MHwxNDkyNzAwMTIx>.
>
>


--
View this message in context: http://cxf.547215.n5.nabble.com/Restful-web-service-CXF-tp4302550p4331095.html
Sent from the cxf-user mailing list archive at Nabble.com.