Return-Path: Delivered-To: apmail-cxf-issues-archive@www.apache.org Received: (qmail 24994 invoked from network); 15 Sep 2008 13:38:43 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 15 Sep 2008 13:38:43 -0000 Received: (qmail 36357 invoked by uid 500); 15 Sep 2008 13:38:40 -0000 Delivered-To: apmail-cxf-issues-archive@cxf.apache.org Received: (qmail 36339 invoked by uid 500); 15 Sep 2008 13:38:39 -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 36328 invoked by uid 99); 15 Sep 2008 13:38:39 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 15 Sep 2008 06:38:39 -0700 X-ASF-Spam-Status: No, hits=-2000.0 required=10.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [140.211.11.140] (HELO brutus.apache.org) (140.211.11.140) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 15 Sep 2008 13:37:41 +0000 Received: from brutus (localhost [127.0.0.1]) by brutus.apache.org (Postfix) with ESMTP id 62878234C1D5 for ; Mon, 15 Sep 2008 06:37:44 -0700 (PDT) Message-ID: <1082893992.1221485864402.JavaMail.jira@brutus> Date: Mon, 15 Sep 2008 06:37:44 -0700 (PDT) From: "Benson Margulies (JIRA)" To: issues@cxf.apache.org Subject: [jira] Commented: (CXF-1789) Inconsistent @WebParam behaviour - wrong default namespace, wrong type name In-Reply-To: <1697001620.1220958584417.JavaMail.jira@brutus> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org [ https://issues.apache.org/jira/browse/CXF-1789?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12631022#action_12631022 ] Benson Margulies commented on CXF-1789: --------------------------------------- I was an XFire user, but not an implementor, I don't feel very qualified here. I've posted a message on dev to see if I can lure some help. > Inconsistent @WebParam behaviour - wrong default namespace, wrong type name > --------------------------------------------------------------------------- > > Key: CXF-1789 > URL: https://issues.apache.org/jira/browse/CXF-1789 > Project: CXF > Issue Type: Bug > Components: JAX-WS Runtime > Affects Versions: 2.1.2, 2.1.3 > Reporter: Jara Cesnek > Priority: Critical > > CXF 2.1.2 Aegis Databinding, > When using ONLY @WebParam(name="xyz) on parameter, only name of parameter should be changed, NOT it's namespace, NOT it's complex type name. > Example : > Java : > @XmlType(name="DOlrb_stat",namespace="http://rb.lite.ws.daisy.marbes.cz") > public class Rb_stat { > ... > } > @WebService(name="wsrbadresa",serviceName="wsrbadresa",targetNamespace="http://rb.ws.daisy.marbes.cz") > public class WSGetRBAdresa > 1. > @WebMethod > public List getStatList(Rb_stat inputObject) { > ... > } > 2. > @WebMethod > public List getStatList(@WebParam(name="inputObject") Rb_stat inputObject) { > ... > } > 3. > @WebMethod > public List getStatList(@WebParam(name = "inputObject", targetNamespace = "http://rb.lite.ws.daisy.marbes.cz") @XmlParamType(name = "DOlrb_stat") Rb_stat inputObject { > ... > } > } > First method working as expected. Parameter name is arg0 and parameter type is based on annotations on class Rb_stat. > > - > - > > > > > With second method I want only change parameter name to "inputObject". But strange things happend. WSDL schema is completly defferent. > > - > - > > > > > Third method generates right WSDL schema I expected from second method. Only parameter name has chnged from first method. > This is dependent on result type. Must be List<> of parameter type. -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.