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 0D9F94665 for ; Thu, 19 May 2011 09:48:30 +0000 (UTC) Received: (qmail 22334 invoked by uid 500); 19 May 2011 09:48:30 -0000 Delivered-To: apmail-cxf-issues-archive@cxf.apache.org Received: (qmail 22237 invoked by uid 500); 19 May 2011 09:48:29 -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 22225 invoked by uid 99); 19 May 2011 09:48:28 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 19 May 2011 09:48:28 +0000 X-ASF-Spam-Status: No, hits=-2000.0 required=5.0 tests=ALL_TRUSTED,T_RP_MATCHES_RCVD X-Spam-Check-By: apache.org Received: from [140.211.11.116] (HELO hel.zones.apache.org) (140.211.11.116) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 19 May 2011 09:48:27 +0000 Received: from hel.zones.apache.org (hel.zones.apache.org [140.211.11.116]) by hel.zones.apache.org (Postfix) with ESMTP id C510CD126A for ; Thu, 19 May 2011 09:47:47 +0000 (UTC) Date: Thu, 19 May 2011 09:47:47 +0000 (UTC) From: "jimma (JIRA)" To: issues@cxf.apache.org Message-ID: <900289307.26209.1305798467803.JavaMail.tomcat@hel.zones.apache.org> Subject: [jira] [Resolved] (CXF-2193) Allow for WRAPPED style code generation for "wrapper elements" with xsd:extension of a wrapper-compatible type MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 [ https://issues.apache.org/jira/browse/CXF-2193?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] jimma resolved CXF-2193. ------------------------ Resolution: Fixed Assignee: jimma > Allow for WRAPPED style code generation for "wrapper elements" with xsd:extension of a wrapper-compatible type > -------------------------------------------------------------------------------------------------------------- > > Key: CXF-2193 > URL: https://issues.apache.org/jira/browse/CXF-2193 > Project: CXF > Issue Type: Improvement > Components: Tooling > Affects Versions: 2.1.2 > Reporter: Eric Sirianni > Assignee: jimma > > JAX-WS Spec: > 2.3.1.2 Wrapper Style > A WSDL operation qualifies for wrapper style mapping only if the following criteria are met: > (i) The operation's input and output messages (if present) each contain only a single part > (ii) The input message part refers to a global element declaration whose localname is equal to the operation name > (iii) The output message part refers to a global element declaration > (iv) The elements referred to by the input and output message parts (henceforth referred to as wrapper > elements) are both complex types defined using the xsd:sequence compositor > (v) The wrapper elements only contain child elements, they must not contain other structures such as > wildcards (element or attribute), xsd:choice, substitution groups (element references are not per- > mitted) or attributes; furthermore, they must not be nillable. > CXF wsdl2java does not encode the following as SOAPBinding.ParameterStyle.WRAPPED: > > > > > > > > > > > > > > > > > ... > According to the JAX-WS spec, I don't understand why CXF cannot generate WRAPPED style code for this construct -- namely xsd:extension of a type that is already "Wrapped-compliant". -- This message is automatically generated by JIRA. For more information on JIRA, see: http://www.atlassian.com/software/jira