Return-Path: Delivered-To: apmail-cxf-users-archive@www.apache.org Received: (qmail 77847 invoked from network); 7 Jan 2010 17:52:58 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.3) by minotaur.apache.org with SMTP; 7 Jan 2010 17:52:58 -0000 Received: (qmail 24378 invoked by uid 500); 7 Jan 2010 17:52:57 -0000 Delivered-To: apmail-cxf-users-archive@cxf.apache.org Received: (qmail 24302 invoked by uid 500); 7 Jan 2010 17:52:57 -0000 Mailing-List: contact users-help@cxf.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: users@cxf.apache.org Delivered-To: mailing list users@cxf.apache.org Received: (qmail 24292 invoked by uid 99); 7 Jan 2010 17:52:57 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 07 Jan 2010 17:52:57 +0000 X-ASF-Spam-Status: No, hits=1.2 required=10.0 tests=SPF_NEUTRAL X-Spam-Check-By: apache.org Received-SPF: neutral (nike.apache.org: local policy) Received: from [82.132.130.152] (HELO mail.o2.co.uk) (82.132.130.152) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 07 Jan 2010 17:52:46 +0000 Received: from zephyr.lan (94.194.14.115) by mail.o2.co.uk (8.0.013.3) (authenticated as alasdair.gray@o2.co.uk) id 4B41E03200E36B85 for users@cxf.apache.org; Thu, 7 Jan 2010 17:51:49 +0000 Content-Type: text/plain; charset=us-ascii Mime-Version: 1.0 (Apple Message framework v1077) Subject: Re: Problems extending WS-Addressing From: Alasdair J G Gray In-Reply-To: <201001071237.24332.dkulp@apache.org> Date: Thu, 7 Jan 2010 17:51:56 +0000 Content-Transfer-Encoding: quoted-printable Message-Id: <9E12AD42-F7C9-48D5-874F-E2F236BF59DB@cs.man.ac.uk> References: <40DB0F5F-57CE-4DF4-9F0C-6383D82AFA17@cs.man.ac.uk> <201001071237.24332.dkulp@apache.org> To: users@cxf.apache.org X-Mailer: Apple Mail (2.1077) X-Virus-Checked: Checked by ClamAV on apache.org Using the -noAddressBinding flag solved my problem.=20 Thanks for the response. Alasdair On 7 Jan 2010, at 17:37, Daniel Kulp wrote: >=20 > Can you try generating the code with the -noAddressBinding flag? = That should=20 > map the EndpointReferenceType to our internal type instead of the = JAX-WS type. =20 > That may allow it properly be extended. You are into some proprietary=20= > types/API's, but that may not a be a big deal. :-) >=20 > Dan >=20 >=20 > On Thu January 7 2010 7:01:03 am Alasdair J G Gray wrote: >> Hi, >>=20 >> I am trying to develop a Web service that implements the WS-DAI Core >> Standard [1] and have encountered a problem due to the WS-DAI Core = XML >> Schema defining a type that extends the WS-Addressing >> EndpointReferenceType. >>=20 >> The WSDL for my service, which extends the WS-DAI Core WSDL, = validates >> correctly and I can generate stubs using the CXF wsdl2java tool. = However, >> the generated stubs will not compile. I get the following error: >> = service-impl/eu/semsorgrid4env/service/wsdai/DataResourceAddressType.java:= >> 34: cannot inherit from final >> javax.xml.ws.wsaddressing.W3CEndpointReference extends >> W3CEndpointReference >> The javax.xml.ws.wsaddressing.W3CEndpointReference implementation = used >> comes from the geronimo-jaxws_2.1_spec-1.0.jar shipped with CXF (I'm = using >> version 2.2.5). >>=20 >> =46rom what I understand, this stems from the WS-DAI XML Schema = declaration >> >> >> >> >> >>=20 >> Can anyone suggest some solutions/ work arounds to my problem? >>=20 >> I have tried replacing the > suitable xml schema expression to say that DataResourceAddressType = should >> be an EndpointReferenceType. >>=20 >> Thanks, >>=20 >> Alasdair >>=20 >> [1] http://www.ogf.org/documents/GFD.74.pdf >>=20 >> Dr Alasdair J G Gray >> Research Associate >> A.Gray@cs.man.ac.uk >>=20 >> Room 2.126 >> School of Computer Science >> Kilburn Building >> University of Manchester >> Oxford Road >> Manchester >> M13 9PL, UK >>=20 >> tel: (+44) 0161 275 6132 >> fax: (+44) 0161 275 6204 >>=20 >> Please consider the environment before printing this email. >>=20 >=20 > --=20 > Daniel Kulp > dkulp@apache.org > http://www.dankulp.com/blog Dr Alasdair J G Gray Research Associate A.Gray@cs.man.ac.uk Room 2.126 School of Computer Science Kilburn Building University of Manchester Oxford Road Manchester M13 9PL, UK tel: (+44) 0161 275 6132 fax: (+44) 0161 275 6204 Please consider the environment before printing this email.