Return-Path: X-Original-To: apmail-cxf-issues-archive@www.apache.org Delivered-To: apmail-cxf-issues-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 282C317B05 for ; Thu, 12 Mar 2015 14:23:39 +0000 (UTC) Received: (qmail 29453 invoked by uid 500); 12 Mar 2015 14:23:38 -0000 Delivered-To: apmail-cxf-issues-archive@cxf.apache.org Received: (qmail 29415 invoked by uid 500); 12 Mar 2015 14:23:38 -0000 Mailing-List: contact issues-help@cxf.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@cxf.apache.org Delivered-To: mailing list issues@cxf.apache.org Received: (qmail 29404 invoked by uid 99); 12 Mar 2015 14:23:38 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 12 Mar 2015 14:23:38 +0000 Date: Thu, 12 Mar 2015 14:23:38 +0000 (UTC) From: "Olivier Malik Costet (JIRA)" To: issues@cxf.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Created] (CXF-6291) Improve versatility of @WSDLDocumentation MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 Olivier Malik Costet created CXF-6291: ----------------------------------------- Summary: Improve versatility of @WSDLDocumentation Key: CXF-6291 URL: https://issues.apache.org/jira/browse/CXF-6291 Project: CXF Issue Type: Improvement Components: Core Affects Versions: 3.0.4 Reporter: Olivier Malik Costet Priority: Minor It would be nice if the @WSDLDocumantation annotation were more versatile. I'm building an RPC/literal SOAP service. For each method I define, I want the service to document the individual parameters. To that end, I would like to be able to place a wsdl:documentation element on the individual wsdl:part element of the enclosing wsdl:message. CXF does not appear currently to support this. Sample: @XmlType( name = "customType" ) //doc either here, or in the @WebMethod parameter... but @WSDLDocumentation is currently not allowed on method parameters @WSDLDocumentation( "This is the documentation for this type" ) public class SomeType { private String value; public SomeType(); @XmlValue public String getValue(); } @WebService public class MyServiceEndpoint { @WebMethod( operationName="someOperation" ) public void someMethod( @WebParam( name="parameter" ) //@WSDLDocumentation annotation currently not allowed on method parameter //@WSDLDocumentation( "This parameter's documentation" ) SomeType someType ) { ... } } Code should result in WSDL: I WOULD LIKE THE DOCUMENTATION HERE -- This message was sent by Atlassian JIRA (v6.3.4#6332)