Return-Path: Delivered-To: apmail-cxf-issues-archive@www.apache.org Received: (qmail 70672 invoked from network); 5 Oct 2010 18:22:58 -0000 Received: from unknown (HELO mail.apache.org) (140.211.11.3) by 140.211.11.9 with SMTP; 5 Oct 2010 18:22:58 -0000 Received: (qmail 80089 invoked by uid 500); 5 Oct 2010 18:22:58 -0000 Delivered-To: apmail-cxf-issues-archive@cxf.apache.org Received: (qmail 80071 invoked by uid 500); 5 Oct 2010 18:22:57 -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 80063 invoked by uid 99); 5 Oct 2010 18:22:57 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 05 Oct 2010 18:22:57 +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; Tue, 05 Oct 2010 18:22:55 +0000 Received: from thor (localhost [127.0.0.1]) by thor.apache.org (8.13.8+Sun/8.13.8) with ESMTP id o95IMXNS022069 for ; Tue, 5 Oct 2010 18:22:33 GMT Message-ID: <2701989.552511286302953545.JavaMail.jira@thor> Date: Tue, 5 Oct 2010 14:22:33 -0400 (EDT) From: "Daniel Kulp (JIRA)" To: issues@cxf.apache.org Subject: [jira] Resolved: (CXF-2789) wsdl2java generates bad @XmlSeeAlso annotation In-Reply-To: <514309.58171272465392363.JavaMail.jira@thor> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 X-Virus-Checked: Checked by ClamAV on apache.org [ https://issues.apache.org/jira/browse/CXF-2789?page=3Dcom.atlassian.= jira.plugin.system.issuetabpanels:all-tabpanel ] Daniel Kulp resolved CXF-2789. ------------------------------ Resolution: Won't Fix Fix Version/s: Invalid Unfortunately, this is not something we're allowed to fix. The JAX-WS spe= c (and JAXB spec) says we're not allowed to do any mapping of these and it'= s up to the user to provide jaxb customization files to remap the class nam= es and such as required by the user. > wsdl2java generates bad @XmlSeeAlso annotation > ---------------------------------------------- > > Key: CXF-2789 > URL: https://issues.apache.org/jira/browse/CXF-2789 > Project: CXF > Issue Type: Bug > Components: Tooling > Affects Versions: 2.2.7 > Reporter: peter schr=C3=B6der > Priority: Minor > Fix For: Invalid > > Attachments: service.wsdl > > > we are trying to generate a client stub from the attlasian crowd service = wsdl and having some problems with their (bad) approach on exception handli= ng. > there are several exceptions thrown that are in an inheritance chain with= java.rmi.RemoteException and java.lang.Throwable. > we excluded these two from generation with calling wsdl with nexclude: > {noformat} > wsdl2java -autoNameResolution -verbose -client -d src/main/java -nexclude= http://rmi.java=3Djava.rmi -nexclude http://lang.java=3Djava.lang -b wsdl/= service_bindings.xml wsdl/service.wsdl > {noformat} > this produces a port type like this: > {noformat} > @WebService(targetNamespace =3D "urn:SecurityServer", name =3D "SecurityS= erverPortType") > @XmlSeeAlso({com.atlassian.crowd.integration.authentication.ObjectFactory= .class,ObjectFactory.class,com.atlassian.crowd.integration.model.ObjectFact= ory.class,com.atlassian.crowd.integration.model.user.ObjectFactory.class,co= m.atlassian.crowd.integration.exception.ObjectFactory.class,java.rmi.Object= Factory.class,com.atlassian.crowd.integration.soap.ObjectFactory.class,java= .lang.ObjectFactory.class}) > @SOAPBinding(parameterStyle =3D SOAPBinding.ParameterStyle.BARE) > public interface SecurityServerPortType { > {noformat} > where java.rmi.ObjectFactory.class and java.lang.ObjectFactory.class were= not generated! > maybe i did it completely wrong... --=20 This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.