Return-Path: Delivered-To: apmail-cxf-issues-archive@www.apache.org Received: (qmail 12060 invoked from network); 11 Aug 2010 02:47:40 -0000 Received: from unknown (HELO mail.apache.org) (140.211.11.3) by 140.211.11.9 with SMTP; 11 Aug 2010 02:47:40 -0000 Received: (qmail 31032 invoked by uid 500); 11 Aug 2010 02:47:40 -0000 Delivered-To: apmail-cxf-issues-archive@cxf.apache.org Received: (qmail 30922 invoked by uid 500); 11 Aug 2010 02:47: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 30914 invoked by uid 99); 11 Aug 2010 02:47:38 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 11 Aug 2010 02:47:38 +0000 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.22] (HELO thor.apache.org) (140.211.11.22) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 11 Aug 2010 02:47:37 +0000 Received: from thor (localhost [127.0.0.1]) by thor.apache.org (8.13.8+Sun/8.13.8) with ESMTP id o7B2lGU9003954 for ; Wed, 11 Aug 2010 02:47:17 GMT Message-ID: <15306114.267001281494836755.JavaMail.jira@thor> Date: Tue, 10 Aug 2010 22:47:16 -0400 (EDT) From: "jimma (JIRA)" To: issues@cxf.apache.org Subject: [jira] Created: (CXF-2934) The wrong target namespace of filed in response wrapper bean is generated MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 The wrong target namespace of filed in response wrapper bean is generated -------------------------------------------------------------------------- Key: CXF-2934 URL: https://issues.apache.org/jira/browse/CXF-2934 Project: CXF Issue Type: Bug Components: Tooling Reporter: jimma Assignee: jimma Fix For: 2.3 When use java2ws with "-wrapperbean" flag to generate wsdl for this SEI : public class webParamWebService { @WebMethod(operationName=3D"helloString4", action=3D"urn:HelloString4") public String hello4(@WebParam (name=3D"Name", targetNamespace=3D"helloSt= ring4/Name", mode=3DWebParam.Mode.INOUT) Holder name, @WebParam (name= =3D"Employee", mode=3DWebParam.Mode.OUT) Holder em= ployee) { return "Hello " + name + " to Web Service"; } =EF=BD=9D the namespace value "helloString4/Name" in the @XmlElement annotated to Nam= e field is missing: @XmlRootElement(name =3D "helloString4Response", namespace =3D "http://cxf.= apach.org") @XmlAccessorType(XmlAccessType.FIELD) @XmlType(name =3D "helloString4Response", namespace =3D "http://cxf.apach.o= rg", propOrder =3D {"_return", "Name", "Employee"}) public class Hello4Response { @XmlElement(name =3D "return") private java.lang.String _return; @XmlElement(name =3D "Name") private org.apache.cxf.Name Name; @XmlElement(name =3D "Employee") private org.apache.cxf.Employee Employee; .... } --=20 This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.